]> git.lyx.org Git - lyx.git/commitdiff
Add some notes.
authorJuergen Spitzmueller <spitz@lyx.org>
Mon, 25 Mar 2019 07:28:54 +0000 (08:28 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Mon, 25 Mar 2019 07:28:54 +0000 (08:28 +0100)
lib/examples/README.new_examples
lib/templates/README.new_templates

index e97dfff2143ca4404ca3a8f2486c3890bef2963b..5ecf1eb6f5fe6cdca61f9a93aa06058059eb88a2 100644 (file)
@@ -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).
+
index f854206691e7ae8b42abe3fcff2d74c7bf0c2a42..ac21aaab26399acb499253ca579219af9ba9130b 100644 (file)
@@ -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).
+