lyx_mirror/lib/examples
Scott Kostyshak a15303b938 Update format of docs using LyX binary
Especially after the change to use semantic linefeeds (7b23c76b),
the diffs are large and it's hard to figure out what diff is the
result of the linefeed change and which diff is the result of an
edit.

By updating the docs, it will make the edits easier to understand
from the diff.

This commit used the LyX binary to write the new .lyx files since
lyx2lyx does not apply semantic linefeeds.

I used the following command:

  ./development/tools/updatedocs.py [path to 'lyx' binary]

A few documents were not updated (e.g., the command sequence used
failed because a dialog about a missing dependency was shown).

I did not update Additional.lyx for any language since it is
undergoing changes. I also didn't change anything in doc/fr since JP
is working on some of those. I also didn't change doc/ru since it
appears Yuriy already updated those.
2022-12-11 11:16:28 -05:00
..
ar Update format of docs using LyX binary 2022-12-11 11:16:28 -05:00
Articles Update format of docs using LyX binary 2022-12-11 11:16:28 -05:00
Books Update format of docs using LyX binary 2022-12-11 11:16:28 -05:00
ca Update format of docs using LyX binary 2022-12-11 11:16:28 -05:00
cs Update format of docs using LyX binary 2022-12-11 11:16:28 -05:00
Curricula_Vitae Update format of docs using LyX binary 2022-12-11 11:16:28 -05:00
da Update format of docs using LyX binary 2022-12-11 11:16:28 -05:00
de Update format of docs using LyX binary 2022-12-11 11:16:28 -05:00
el Update format of docs using LyX binary 2022-12-11 11:16:28 -05:00
es Update format of docs using LyX binary 2022-12-11 11:16:28 -05:00
eu Update format of docs using LyX binary 2022-12-11 11:16:28 -05:00
External_Material Update format of docs using LyX binary 2022-12-11 11:16:28 -05:00
fa Update format of docs using LyX binary 2022-12-11 11:16:28 -05:00
fr Update format of docs using LyX binary 2022-12-11 11:16:28 -05:00
gl Update format of docs using LyX binary 2022-12-11 11:16:28 -05:00
Graphics_and_Insets Update format of docs using LyX binary 2022-12-11 11:16:28 -05:00
Handouts Update format of docs using LyX binary 2022-12-11 11:16:28 -05:00
he Update format of docs using LyX binary 2022-12-11 11:16:28 -05:00
hu Update format of docs using LyX binary 2022-12-11 11:16:28 -05:00
id Update format of docs using LyX binary 2022-12-11 11:16:28 -05:00
it Update format of docs using LyX binary 2022-12-11 11:16:28 -05:00
ja Update format of docs using LyX binary 2022-12-11 11:16:28 -05:00
ko Update format of docs using LyX binary 2022-12-11 11:16:28 -05:00
Letters Update format of docs using LyX binary 2022-12-11 11:16:28 -05:00
lt Update format of docs using LyX binary 2022-12-11 11:16:28 -05:00
Modules Update format of docs using LyX binary 2022-12-11 11:16:28 -05:00
nb Update format of docs using LyX binary 2022-12-11 11:16:28 -05:00
nl Update format of docs using LyX binary 2022-12-11 11:16:28 -05:00
pl Update format of docs using LyX binary 2022-12-11 11:16:28 -05:00
Posters Update format of docs using LyX binary 2022-12-11 11:16:28 -05:00
Presentations Update format of docs using LyX binary 2022-12-11 11:16:28 -05:00
pt_BR Update format of docs using LyX binary 2022-12-11 11:16:28 -05:00
pt_PT Update format of docs using LyX binary 2022-12-11 11:16:28 -05:00
ro Update format of docs using LyX binary 2022-12-11 11:16:28 -05:00
ru Update format of docs using LyX binary 2022-12-11 11:16:28 -05:00
Scripts Update format of docs using LyX binary 2022-12-11 11:16:28 -05:00
sk Update format of docs using LyX binary 2022-12-11 11:16:28 -05:00
sl Update format of docs using LyX binary 2022-12-11 11:16:28 -05:00
sr Update format of docs using LyX binary 2022-12-11 11:16:28 -05:00
sv Update format of docs using LyX binary 2022-12-11 11:16:28 -05:00
uk Update format of docs using LyX binary 2022-12-11 11:16:28 -05:00
biblioExample.bib - moderncv.layout: add missing separator style 2012-01-21 12:05:07 +00:00
CMakeLists.txt Replace unnecessary ampersand in folder name 2019-03-22 09:38:05 +01:00
Example_%28LyXified%29.lyx Update format of docs using LyX binary 2022-12-11 11:16:28 -05:00
Example_%28raw%29.lyx Update format of docs using LyX binary 2022-12-11 11:16:28 -05:00
Localization_Test.lyx Update format of docs using LyX binary 2022-12-11 11:16:28 -05:00
README.new_examples remove buildlyxdir again 2019-03-25 16:46:04 +01:00
Welcome.lyx Update format of docs using LyX binary 2022-12-11 11:16:28 -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).


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