From: Juergen Spitzmueller Date: Mon, 25 Mar 2019 07:28:54 +0000 (+0100) Subject: Add some notes. X-Git-Tag: lyx-2.4.0dev-acb2ca7b~2349 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=676570cda9d0e12bbe8fbfa2726d23de2a6904dc;p=lyx.git Add some notes. --- diff --git a/lib/examples/README.new_examples b/lib/examples/README.new_examples index e97dfff214..5ecf1eb6f5 100644 --- a/lib/examples/README.new_examples +++ b/lib/examples/README.new_examples @@ -27,8 +27,6 @@ The language subdirectory expands to the same subfolders than the English versio and uses the same [English) filename (e.g., examples/Letters/myletter.lyx > examples/fr/Letters/myletter.lyx). -If you add a new (sub)folder, you must create a new entry in Makefile.am. - NB: SPECIAL CHARACTERS IN FILE AND DIRECTORY NAMES: =================================================== @@ -40,4 +38,19 @@ LyX building with autotools: * 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 subsitution characters will be replaced again for LyX for translation and GUI display. +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 /buildlyxdir/ and then point towards the subdirectory +your file is in, e.g. +\origin /buildlyxdir/templates/es/Presentations/ +This is particularly important if your file includes other files (such as graphics, bibliographies, +children). + diff --git a/lib/templates/README.new_templates b/lib/templates/README.new_templates index f854206691..ac21aaab26 100644 --- a/lib/templates/README.new_templates +++ b/lib/templates/README.new_templates @@ -66,8 +66,6 @@ The language subdirectory expands to the same subfolders than the English versio and uses the same [English) filename (e.g., templates/Letters/myletter.lyx > templates/fr/Letters/myletter.lyx). -If you add a new (sub)folder, you must create a new entry in Makefile.am. - NB: SPECIAL CHARACTERS IN FILE AND DIRECTORY NAMES: =================================================== @@ -79,5 +77,20 @@ LyX building with autotools: * 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 subsitution characters will be replaced again for LyX for translation and GUI display. +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. phdthesistemplatesdir and dist_dehandoutexamples_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 /buildlyxdir/ and then point towards the subdirectory +your file is in, e.g. +\origin /buildlyxdir/templates/es/Presentations/ +This is particularly important if your file includes other files (such as graphics, bibliographies, +children). +