lyx_mirror/lib/examples
Kornel Benko 0752a263a0 Cmake export tests: some testnames corrected
Also don't use tex gyre fonts, use dejavu instead
2019-03-26 15:11:10 +01:00
..
ar remove buildlyxdir again 2019-03-25 16:46:04 +01:00
Articles remove buildlyxdir again 2019-03-25 16:46:04 +01:00
Books remove buildlyxdir again 2019-03-25 16:46:04 +01:00
ca remove buildlyxdir again 2019-03-25 16:46:04 +01:00
cs remove buildlyxdir again 2019-03-25 16:46:04 +01:00
Curricula_Vitae Cmake export tests: 2019-03-25 20:50:58 +01:00
da remove buildlyxdir again 2019-03-25 16:46:04 +01:00
de Cmake export tests: 2019-03-25 20:50:58 +01:00
el remove buildlyxdir again 2019-03-25 16:46:04 +01:00
es remove buildlyxdir again 2019-03-25 16:46:04 +01:00
eu remove buildlyxdir again 2019-03-25 16:46:04 +01:00
External_Material remove buildlyxdir again 2019-03-25 16:46:04 +01:00
fa remove buildlyxdir again 2019-03-25 16:46:04 +01:00
fr remove buildlyxdir again 2019-03-25 16:46:04 +01:00
gl remove buildlyxdir again 2019-03-25 16:46:04 +01:00
Graphics_and_Insets remove buildlyxdir again 2019-03-25 16:46:04 +01:00
Handouts remove buildlyxdir again 2019-03-25 16:46:04 +01:00
he remove buildlyxdir again 2019-03-25 16:46:04 +01:00
hu remove buildlyxdir again 2019-03-25 16:46:04 +01:00
id remove buildlyxdir again 2019-03-25 16:46:04 +01:00
it remove buildlyxdir again 2019-03-25 16:46:04 +01:00
ja remove buildlyxdir again 2019-03-25 16:46:04 +01:00
ko remove buildlyxdir again 2019-03-25 16:46:04 +01:00
Letters remove buildlyxdir again 2019-03-25 16:46:04 +01:00
Modules remove buildlyxdir again 2019-03-25 16:46:04 +01:00
nb remove buildlyxdir again 2019-03-25 16:46:04 +01:00
nl remove buildlyxdir again 2019-03-25 16:46:04 +01:00
pl remove buildlyxdir again 2019-03-25 16:46:04 +01:00
Posters remove buildlyxdir again 2019-03-25 16:46:04 +01:00
Presentations remove buildlyxdir again 2019-03-25 16:46:04 +01:00
pt_BR remove buildlyxdir again 2019-03-25 16:46:04 +01:00
pt_PT remove buildlyxdir again 2019-03-25 16:46:04 +01:00
ro remove buildlyxdir again 2019-03-25 16:46:04 +01:00
ru remove buildlyxdir again 2019-03-25 16:46:04 +01:00
Scripts remove buildlyxdir again 2019-03-25 16:46:04 +01:00
sk Cmake export tests: some testnames corrected 2019-03-26 15:11:10 +01:00
sl remove buildlyxdir again 2019-03-25 16:46:04 +01:00
sr remove buildlyxdir again 2019-03-25 16:46:04 +01:00
sv remove buildlyxdir again 2019-03-25 16:46:04 +01:00
uk remove buildlyxdir again 2019-03-25 16:46:04 +01:00
biblioExample.bib
CMakeLists.txt Replace unnecessary ampersand in folder name 2019-03-22 09:38:05 +01:00
Example_%28LyXified%29.lyx remove buildlyxdir again 2019-03-25 16:46:04 +01:00
Example_%28raw%29.lyx remove buildlyxdir again 2019-03-25 16:46:04 +01:00
Localization_Test.lyx remove buildlyxdir again 2019-03-25 16:46:04 +01:00
README.new_examples remove buildlyxdir again 2019-03-25 16:46:04 +01:00
Welcome.lyx remove buildlyxdir again 2019-03-25 16:46:04 +01: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).


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).