lyx_mirror/lib/examples
Kornel Benko 5598946335 Amend(10) of c0ee28a7
Hopefully the last one
2024-10-10 20:34:50 +02:00
..
ar Update docs 2024-01-11 11:06:40 -05:00
Articles Corrected some used URL's in our lyx files 2024-10-07 12:22:45 +02:00
Books Corrected some used URL's in our lyx files 2024-10-07 12:22:45 +02:00
ca Update docs 2024-01-11 11:06:40 -05:00
cs Update docs 2024-01-11 11:06:40 -05:00
Curricula_Vitae Amend(9) of c0ee28a7 2024-10-10 15:53:10 +02:00
da Update docs 2024-01-11 11:06:40 -05:00
de Amend(10) of c0ee28a7 2024-10-10 20:34:50 +02:00
el Update docs 2024-01-11 11:06:40 -05:00
es Amend(10) of c0ee28a7 2024-10-10 20:34:50 +02:00
eu Update docs 2024-01-11 11:06:40 -05:00
External_Material Update docs 2024-01-11 11:06:40 -05:00
fa Update docs 2024-01-11 11:06:40 -05:00
fr Amend(10) of c0ee28a7 2024-10-10 20:34:50 +02:00
gl Update docs 2024-01-11 11:06:40 -05:00
Graphics_and_Insets Amend(9) of c0ee28a7 2024-10-10 15:53:10 +02:00
Handouts Amend(9) of c0ee28a7 2024-10-10 15:53:10 +02:00
he Update docs 2024-01-11 11:06:40 -05:00
hu Update docs 2024-01-11 11:06:40 -05:00
id Update docs 2024-01-11 11:06:40 -05:00
it Update docs 2024-01-11 11:06:40 -05:00
ja Amend(10) of c0ee28a7 2024-10-10 20:34:50 +02:00
ko Update docs 2024-01-11 11:06:40 -05:00
Language_Support Update docs 2024-01-11 11:06:40 -05:00
Letters Corrected some used URL's in our lyx files 2024-10-07 12:22:45 +02:00
lt Update docs 2024-01-11 11:06:40 -05:00
Modules Amend(10) of c0ee28a7 2024-10-10 20:34:50 +02:00
nb Update docs 2024-01-11 11:06:40 -05:00
nl Update docs 2024-01-11 11:06:40 -05:00
pl Update docs 2024-01-11 11:06:40 -05:00
Posters Update docs 2024-01-11 11:06:40 -05:00
Presentations Amend(9) of c0ee28a7 2024-10-10 15:53:10 +02:00
pt_BR Update docs 2024-01-11 11:06:40 -05:00
pt_PT Update docs 2024-01-11 11:06:40 -05:00
ro Update docs 2024-01-11 11:06:40 -05:00
ru Amend(8) of c0ee28a7 2024-10-09 17:35:55 +02:00
Scripts Update docs 2024-01-11 11:06:40 -05:00
sk Update docs 2024-01-11 11:06:40 -05:00
sl Update docs 2024-01-11 11:06:40 -05:00
sr Amend(10) of c0ee28a7 2024-10-10 20:34:50 +02:00
sv Update docs 2024-01-11 11:06:40 -05:00
uk Update docs 2024-01-11 11:06:40 -05:00
biblioExample.bib
CMakeLists.txt
Example_%28LyXified%29.lyx Update docs 2024-01-11 11:06:40 -05:00
Example_%28raw%29.lyx Update docs 2024-01-11 11:06:40 -05:00
README.new_examples Move some example files to proper location 2023-02-10 16:24:10 +01:00
Welcome.lyx Update docs 2024-01-11 11:06:40 -05:00

DIRECTORY STRUCTURE & FILE NAMING
==================================

The examples directory has the following structure

examples/[language/]category/[subcategory]

Please use the layout category (with identical spelling to assure translation)
as category subdirectory (e.g., "Letters"). See \DeclareCategory entry of the
layout which corresponds to your example. Note the handling of special characters
below.

If your example consists of one file only, and if there are no further examples
relating to your layout yet, use the layout name, as defined in \DeclareLaTeXClass,
as file name. In any case, use a verbose, transparent name (do not use insider acronyms
as file names). Note the handling of special characters below.

If your example consists of multiple files, use an additional subdirectory.
Use the layout name, as defined in \DeclareLaTeXClass, as subcategory subfolder
name. Give the files verbose, transparent names that clarify the function of the respective
file in the examples bundle. Note the handling of special characters below.

The optional language subdirectory that immediately follows examples/ uses the
language code (e.g., 'de' for German). Use this if you provide a translation of
an existing English example.
The language subdirectory expands to the same subfolders than the English version
and uses the same [English) filename (e.g., examples/Letters/myletter.lyx > 
examples/fr/Letters/myletter.lyx).

NOTE: The language subdirectory is for translations in the respective language. If you
want to provide a document in English _about_ a specific language (e.g., about how to
write a Turkish article), put it in the main directory in the "Language_Support" folder.


NB: SPECIAL CHARACTERS IN FILE AND DIRECTORY NAMES:
===================================================

The following characters in file and directory names must be substituted, since they break
LyX building with autotools:

* Blanks by '_' (e.g., My_Layout.lyx)
* Parentheses by %28 and %29 (e.g., My_Layout_%28v._1%29.lyx)
* Apersands by %26 (e.g., Journal_of_This_%26_That.lyx)

The substitution characters will be replaced again for LyX for translation and GUI display.


THINGS TO CHECK BEFORE COMMITTING:
==================================

New files must be added to Makefile.am. If you add a new (sub)folder, you must also create a new category
in Makefile.am (cf. dehandoutexamplesdir and dist_phdthesistemplates_DATA as example).

Please make sure before you commit (in a text editor) that the example that the file has the correct
\origin specification. It should begin with /systemlyxdir/ and then point towards the subdirectory
your file is in, e.g.
\origin /systemlyxdir/templates/es/Presentations/
This is particularly important if your file includes other files (such as graphics, bibliographies,
children).