From ffc682424efb065c1ee2ada0f203ca7a3a54ccfd Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnter=20Milde?= Date: Thu, 28 Mar 2019 13:28:37 +0100 Subject: [PATCH 1/1] Update ctest tagging and documentation/sample organisation. --- autotests/export/latex/he-scrarticle.lyx | 2 +- development/autotests/ignoredTests | 29 +++++++++---------- development/autotests/invertedTests | 27 ++++++++++------- development/autotests/unreliableTests | 3 +- ...Astronomical_Society_%28AASTeX_v._6%29.lyx | 0 ...tion_for_Computing_Machinery_%28ACM%29.lyx | 2 +- ...Astronomical_Society_%28AASTeX_v._6%29.lyx | 0 ...chological_Association_%28APA%29,_v._6.lyx | 0 .../Obsolete}/latex8.lyx | 0 9 files changed, 34 insertions(+), 29 deletions(-) rename lib/{examples/Articles => attic/examples}/American_Astronomical_Society_%28AASTeX_v._6%29.lyx (100%) rename lib/templates/{Articles => Obsolete}/American_Astronomical_Society_%28AASTeX_v._6%29.lyx (100%) rename lib/templates/{Articles => Obsolete}/American_Psychological_Association_%28APA%29,_v._6.lyx (100%) rename lib/{attic/templates => templates/Obsolete}/latex8.lyx (100%) diff --git a/autotests/export/latex/he-scrarticle.lyx b/autotests/export/latex/he-scrarticle.lyx index 9124c6b410..c3fdb075ae 100644 --- a/autotests/export/latex/he-scrarticle.lyx +++ b/autotests/export/latex/he-scrarticle.lyx @@ -27,7 +27,7 @@ \use_microtype false \use_dash_ligatures true \graphics default -\default_output_format default +\default_output_format pdf2 \output_sync 0 \bibtex_command default \index_command default diff --git a/development/autotests/ignoredTests b/development/autotests/ignoredTests index 55f04da107..fd623f779e 100644 --- a/development/autotests/ignoredTests +++ b/development/autotests/ignoredTests @@ -82,6 +82,7 @@ export/examples/ja/Modules/Sweave.* !export/examples/ja/Multilingual_Typesetting_.*CJKutf8.* # export/.*/ja/.*_(pdf[245]|dvi3).* + # the unicodesymbols-tests use pdflatex, too: export/export/latex/unicodesymbols/.*-platex_pdf2 @@ -118,22 +119,20 @@ Sublabel: obsolete # Documents relying on no longer available packages or classes # ============================================================ -# latex8.sty is obsolete and replaced by IEEEconf. -check_load/templates/Attic/latex8 -export/templates/Attic/latex8_pdf.* -export/templates/Attic/latex8_(dvi|dvi3_.*|lyx(22|23)) +# aastex.cls is obsoleted by aastex6.cls +export/attic/doc/aastex6_sample_(dvi|pdf|lyx(16|20|21|22|23)).* +check_load/attic/doc/aastex6_sample -# aastex.cls is obsolete and replaced by aastex6.cls -# aastex6.cls is obsolete and replaced by aastex62.cls -export/doc/attic/aastex6_sample_(dvi|pdf|lyx(16|20|21|22|23)).* -export/examples/Articles/American_Astronomical_Society_.*v._6%29.* +# aastex6.cls is obsoleted by aastex62.cls +export/attic/examples/Articles/American_Astronomical_Society_.*v._6%29.* +check_load/attic/examples/Articles/American_Astronomical_Society_.*v._6%29 +export/templates/Obsolete/American_Astronomical_Society_.*v._6%29.* +check_load/templates/Obsolete/American_Astronomical_Society_.*v._6%29 export/examples/Articles/American_Astronomical_Society_.*v._6.2.*_lyx16 -export/templates/Articles/American_Astronomical_Society_.*v._6%29.* export/templates/Articles/American_Astronomical_Society_.*v._6.2.*_lyx16 -check_load/doc/attic/aastex6_sample -check_load/examples/Articles/American_Astronomical_Society_.*v._6%29 -check_load/templates/Articles/American_Astronomical_Society_.*v._6%29 +# latex8.sty is obsoleted by IEEEconf +export/templates/Obsolete/latex8_(dvi|pdf|lyx2[23]).* # ============================================================== Sublabel: irrelevant @@ -142,9 +141,7 @@ Sublabel: irrelevant # Dedicated test samples for LaTeX: # -# don't check loading +# don't check loading, lyx2lyx, or export to other LyX versions or HTML check_load/export/latex/.* -# don't check lyx2lyx lyx2lyx/export/latex/.* -# don't check export to other LyX versions or HTML -export/export/latex.*(lyx..|xhtml) +export/export/latex/.*(lyx..|xhtml) diff --git a/development/autotests/invertedTests b/development/autotests/invertedTests index 4788722484..bcc81fed0f 100644 --- a/development/autotests/invertedTests +++ b/development/autotests/invertedTests @@ -18,11 +18,20 @@ Sublabel: todo # Error in Japanese document if LyX-logo is preceded by foreign language export/export/latex/ja_wrong_auto_encoding_(dvi|pdf(|3)).* -# missing character: There is no ^^A in font [lmroman12-regular] +# missing glyphs: There is no ^^A in font [lmroman12-regular] # and all the line down to ^^Z and beyond... # XeTeX artifact? works with LuaTeX, explore: export/doc/(|de/|es/|fr/)EmbeddedObjects_pdf4_systemF +# missing glyphs: Missing character: There is no ^^c3 in font cmr12! +# LyXbug: no [open output anyway], because only DVI generated. +# Hand-converting dvi -> ps -> pdf works fine. +export/examples/ja/Modules/Braille_(dvi|pdf.*) +export/examples/ja/Modules/Braille_lyx2[23] +# Missing character: There is no ^^e2 in font cmss10! +export/templates/ja/Presentations/Beamer_(dvi|pdf3?|lyx2[23]) + + # iconv fails, if a nomenclature inset contains an uncodable character export/export/latex/iconv-error-nomenclature_pdf2 @@ -58,7 +67,6 @@ export/examples/(|es/)Curricula_Vitae/Europe_CV_(dvi|dvi3.*F|pdf|pdf3) export/export/lyx2lyx/lyx_2_3_test_lyx(16|20|21|22) -# CJK # Korean legacy encoding fails (missing fonts) export/export/latex/CJK/ko_default_pdf2 @@ -91,14 +99,14 @@ Sublabel: lyxbugs #6197: „amssymb” with Polish babel name clash \lll ("<<<" vs. "ł") # Wrong output with pdflatex (-> unreliableTests), -# missing character with XeTeX/LuaTeX and Babel (OK with Polyglossia) +# missing glyph with XeTeX/LuaTeX and Babel (OK with Polyglossia) export/export/latex/6197-polish-amssymb_pdf._texF #8035 work around a Polyglossia bug: # An error is reported if the document font does not announce support for a # script (Cyrillic, Greek, ...) which Polyglossia thinks is required to # typeset the document language. This is not required with LyX's check for -# missing characters and results in many false positives: +# missing glyphs and results in many false positives: # a) with fonts including the required characters but # not the tag tested by Polyglossia, # b) if the document language is "Serbian (Latin Script)", @@ -159,7 +167,7 @@ export/export/latex/fa-OT1_pdf2 #11522 Support specification of complementing non-TeX fonts # More than one non-TeX font required for the character set in many documents -# to prevent "missing character" errors with non-TeX fonts +# to prevent "missing glyph" errors with non-TeX fonts export/export/latex/luainputenc-utf8_pdf5_systemF export/export/latex/xetex-inputenc.*_pdf4_systemF # @@ -211,13 +219,13 @@ export/doc/(|de/|es/|fr/)UserGuide_pdf4_texF # Babel-Russian uses UTF-8 for auto-strings if it detects Xe/LuaTeX. # This fails unless the inputencoding is set to utf-8, too. -export/doc/ru/(Intro|Tutorial)_(dvi3|pdf[45])_texF -export/examples/ru/(example_lyxified|Welcome)_(dvi3|pdf[45])_texF +export/doc/ru/(Intro|Tutorial)_.*_texF +export/examples/ru/.*(LyXified|Welcome).*_texF # Babel-Ukrainian uses UTF-8 if it detects Xe/LuaTeX (for "\date"). # With 8-bit TeX fonts this results in: # * garbled output with PDF (LuaTeX) -# * missing chars with XeTeX and DVI (LuaTeX) +# * missing glyphs with XeTeX and DVI (LuaTeX) # New in TL18 -> cf. unreliableTests.varying_versions. # Workaround: suppressing auto-date or using date inset (new in LyX 2.4) # in the source documents. @@ -267,7 +275,6 @@ export/doc/(sk|nb)/Intro_(dvi3|pdf5)_systemF export/templates/Presentations/Slides_.*_systemF # Beamer: conflicts with some combinations of packages/settings/languages -export/templates/ja/Presentations/Beamer_(pdf2|pdf[45]).* export/templates/es/Presentations/Beamer_pdf4_texF # Arabic @@ -299,7 +306,7 @@ export/export/latex/supported-languages_(dvi3|pdf5)_texF # Polyglossia problem with LuaTeX (undefined command) (cf. Arabic) # https://github.com/reutenauer/polyglossia/commit/ccb0e9e2c6411170ad779b05ff5076f1193cc323 export/examples/fa/Welcome_(dvi3|pdf5)_systemF -# Missing characters (em space and "English" quotes) with XeTeX + system fonts. +# missing glyphs (em space and "English" quotes) with XeTeX + system fonts. export/examples/fa/Welcome_pdf4_systemF # missing ASCII replacements (required by XeTeX + TeX fonts) export/examples/fa/Welcome_pdf4_texF diff --git a/development/autotests/unreliableTests b/development/autotests/unreliableTests index ba48d8e146..2e57b6480e 100644 --- a/development/autotests/unreliableTests +++ b/development/autotests/unreliableTests @@ -78,7 +78,8 @@ templates/examples/Books/Springer_Monographs.* templates/examples/Books/Springer_Contributed_Books.* # TeXLive does not set up Hebrew 8-bit TeX fonts -# (Workaround: the external package culmus-latex) +# We use the external package culmus-latex +# https://sourceforge.net/projects/ivritex/files/culmus-latex/culmus-latex-0.7/ export/export/latex/unicodesymbols/012-31-hebrew_he-thai_pdf2 export/.*/he/.*((dvi|pdf.?)|_texF) diff --git a/lib/examples/Articles/American_Astronomical_Society_%28AASTeX_v._6%29.lyx b/lib/attic/examples/American_Astronomical_Society_%28AASTeX_v._6%29.lyx similarity index 100% rename from lib/examples/Articles/American_Astronomical_Society_%28AASTeX_v._6%29.lyx rename to lib/attic/examples/American_Astronomical_Society_%28AASTeX_v._6%29.lyx diff --git a/lib/templates/Articles/Association_for_Computing_Machinery_%28ACM%29.lyx b/lib/templates/Articles/Association_for_Computing_Machinery_%28ACM%29.lyx index 6678c103c1..6accb448c1 100644 --- a/lib/templates/Articles/Association_for_Computing_Machinery_%28ACM%29.lyx +++ b/lib/templates/Articles/Association_for_Computing_Machinery_%28ACM%29.lyx @@ -850,7 +850,7 @@ status open \begin_layout Plain Layout \begin_inset Graphics - filename ../doc/clipart/platypus.eps + filename ../../doc/clipart/platypus.eps width 4cm \end_inset diff --git a/lib/templates/Articles/American_Astronomical_Society_%28AASTeX_v._6%29.lyx b/lib/templates/Obsolete/American_Astronomical_Society_%28AASTeX_v._6%29.lyx similarity index 100% rename from lib/templates/Articles/American_Astronomical_Society_%28AASTeX_v._6%29.lyx rename to lib/templates/Obsolete/American_Astronomical_Society_%28AASTeX_v._6%29.lyx diff --git a/lib/templates/Articles/American_Psychological_Association_%28APA%29,_v._6.lyx b/lib/templates/Obsolete/American_Psychological_Association_%28APA%29,_v._6.lyx similarity index 100% rename from lib/templates/Articles/American_Psychological_Association_%28APA%29,_v._6.lyx rename to lib/templates/Obsolete/American_Psychological_Association_%28APA%29,_v._6.lyx diff --git a/lib/attic/templates/latex8.lyx b/lib/templates/Obsolete/latex8.lyx similarity index 100% rename from lib/attic/templates/latex8.lyx rename to lib/templates/Obsolete/latex8.lyx -- 2.39.2