From 895fa9b3c644b200c01fe7f3de70a32974190a6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnter=20Milde?= Date: Wed, 3 Apr 2019 08:36:46 +0200 Subject: [PATCH] ctest fixes. Hebrew with "nikud" requires HE8 font encoding. All tests requiring Hebrew 8-bit fonts are "nonstandard". --- autotests/export/latex/he-scrarticle.lyx | 5 +++-- autotests/export/latex/supported-languages.lyx | 12 ++++++++++-- development/autotests/ignoredTests | 2 +- development/autotests/invertedTests | 8 +++++++- development/autotests/unreliableTests | 3 ++- 5 files changed, 23 insertions(+), 7 deletions(-) diff --git a/autotests/export/latex/he-scrarticle.lyx b/autotests/export/latex/he-scrarticle.lyx index c3fdb075ae..4706d0d6ba 100644 --- a/autotests/export/latex/he-scrarticle.lyx +++ b/autotests/export/latex/he-scrarticle.lyx @@ -6,14 +6,15 @@ \origin unavailable \textclass scrartcl \begin_preamble - +% tell Babel-Hebrew to use HE8 font encoding: +\def\HeblatexEncoding{HE8} \end_preamble \use_default_options false \maintain_unincluded_children false \language english \language_package default \inputencoding auto -\fontencoding auto +\fontencoding HE8,T1 \font_roman "lmodern" "default" \font_sans "default" "default" \font_typewriter "default" "default" diff --git a/autotests/export/latex/supported-languages.lyx b/autotests/export/latex/supported-languages.lyx index 3aabd158a3..0470c8ee0e 100644 --- a/autotests/export/latex/supported-languages.lyx +++ b/autotests/export/latex/supported-languages.lyx @@ -1844,7 +1844,7 @@ Requires japanese (platex). \end_layout \begin_layout Itemize -Does not work with pdfLaTeX, XeTeX, nor LuaTeX. +Does not work with pdfLaTeX, XeTeX, or LuaTeX. \end_layout @@ -1862,7 +1862,15 @@ Does not work as secondary language unless the document encoding is set \end_layout \begin_layout Itemize -Does not load inputenc nor fontenc. + +\emph on +inputenc +\emph default + and +\emph on +fontenc +\emph default + packages not loaded \end_layout \begin_layout Subsection* diff --git a/development/autotests/ignoredTests b/development/autotests/ignoredTests index 7dcb75efbe..dd8973baba 100644 --- a/development/autotests/ignoredTests +++ b/development/autotests/ignoredTests @@ -1,5 +1,5 @@ # Regular expressions for test combinations known to fail permanently -# or irrelevant +# or to be irrelevant # # Patterns will be automatically enclosed with '^' and '$'. # Combinations matching these patterns will be skipped diff --git a/development/autotests/invertedTests b/development/autotests/invertedTests index 1cdb0c2b66..dd69061518 100644 --- a/development/autotests/invertedTests +++ b/development/autotests/invertedTests @@ -20,10 +20,16 @@ Sublabel: todo # XeTeX artifact? works with LuaTeX, explore: export/doc/(|de/|es/|fr/)EmbeddedObjects_pdf4_systemF - # iconv fails, if a nomenclature inset contains an uncodable character export/export/latex/iconv-error-nomenclature_pdf2 +# Encoding cp858 only supported by some iconv variants. +# (Gnu iconv only supports it, if configured with "--enable-extra-encodings" +# see https://www.gnu.org/software/libiconv/) +# Configure should test for support before offering this encoding +# in the "Document>Settings>Language>Encoding>Other" combo-box. +export/export/latex/cp858_pdf2 + # `acmart` document class: # (see also lyxbugs below and ignoredTests) # issues with listsof, reported to the maintainer diff --git a/development/autotests/unreliableTests b/development/autotests/unreliableTests index d3ce96c9ff..1e0aa688dc 100644 --- a/development/autotests/unreliableTests +++ b/development/autotests/unreliableTests @@ -42,7 +42,7 @@ export/templates/Articles/Int._Journal_of_Modern_Physics_D.* # see https://wiki.lyx.org/Layouts/Iopart export/templates/Articles/Institute_of_Physics_.* -# jasatex.cls +# jasatex.cls # see https://wiki.lyx.org/Layouts/JASATeX export/templates/Articles/Journal_of_the_Acoustical_Society_of_America.* @@ -81,6 +81,7 @@ templates/examples/Books/Springer_Contributed_Books.* # We use the external package culmus-latex # https://sourceforge.net/projects/ivritex/files/culmus-latex/culmus-latex-0.7/ export/export/latex/unicodesymbols/.*_he.*pdf2 +export/export/latex/(supported-languages|he-scrarticle).* export/.*/he/.*((dvi|pdf.?)|_texF)