From: Günter Milde Date: Tue, 20 Aug 2019 20:37:41 +0000 (+0200) Subject: ctest update: we now work around a problem with Czech or Slovak text in some tables. X-Git-Tag: lyx-2.4.0dev-acb2ca7b~1577 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=f6e65dc50824f207a343e1f53564b785053b8be7;p=lyx.git ctest update: we now work around a problem with Czech or Slovak text in some tables. --- diff --git a/autotests/export/latex/languages/en-sk-cz-babel-table-error.lyx b/autotests/export/latex/languages/en-sk-cz-babel-table-error.lyx index 7b6c6b256d..5a332b2f66 100644 --- a/autotests/export/latex/languages/en-sk-cz-babel-table-error.lyx +++ b/autotests/export/latex/languages/en-sk-cz-babel-table-error.lyx @@ -1,5 +1,5 @@ #LyX 2.4 created this file. For more info see https://www.lyx.org/ -\lyxformat 574 +\lyxformat 589 \begin_document \begin_header \save_transient_properties true @@ -18,7 +18,9 @@ \font_default_family default \use_non_tex_fonts false \font_sc false -\font_osf false +\font_roman_osf false +\font_sans_osf false +\font_typewriter_osf false \font_sf_scale 100 100 \font_tt_scale 100 100 \use_microtype false @@ -47,7 +49,7 @@ \pdf_backref false \pdf_pdfusetitle false \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false" -\papersize a4paper +\papersize a4 \use_geometry false \use_package amsmath 1 \use_package amssymb 1 @@ -69,6 +71,7 @@ \justification false \use_refstyle 0 \use_minted 0 +\use_lineno 0 \notefontcolor #0000ff \branch slovak \selected 1 @@ -105,6 +108,54 @@ \begin_body +\begin_layout Section* +Compilation error with Czech or Slovak text in a table cell. +\end_layout + +\begin_layout Standard +Encoding switches are not to blame. + Rather an incompatibility of +\emph on +array +\emph default + or +\emph on +multirow +\emph default + packages with Babel's +\family typewriter +slovak.ldf +\family default + and +\family typewriter +czech.ldf +\family default +. + The problem is that these language definition files make the hyphen character + (-) active for the +\begin_inset Quotes eld +\end_inset + +split +\begin_inset Quotes erd +\end_inset + + attribute (cf. + the Babel-Czech documentation +\begin_inset Quotes eld +\end_inset + +czech.pdf +\begin_inset Quotes erd +\end_inset + +). +\end_layout + +\begin_layout Subsection* +Test +\end_layout + \begin_layout Standard Remove this inserted Slovak text \begin_inset Branch slovak @@ -207,10 +258,12 @@ This is the minimal table example. Also setting the language of the table to Slovak helps. \end_layout -\begin_layout Standard -Encoding switches are not to blame. - Rather an incompatibility of array or multirow packages with Babels slovak.ldf - and czech.ldf. +\begin_layout Subsection* +Update +\end_layout + +\begin_layout Quotation +Fixed in revision ce447e176 (14.08.2019). \end_layout \end_body diff --git a/development/autotests/invertedTests b/development/autotests/invertedTests index 581ba5cf4f..2149704d24 100644 --- a/development/autotests/invertedTests +++ b/development/autotests/invertedTests @@ -159,15 +159,6 @@ Sublabel: texissues # e.g. non-ASCII in verbatim or listings, incompatible packages, ... # "Wontfix" if documents demonstrate correct use in the default output format. -# Compilation error with Chech or Slovak text i a table cell. -# All exports using babel fail (problem in Czech and Slovak Babel support, -# reported per mail to Petr Tesa\v{r}\'ik, 2016-09-06) -# Without the Czech or Slovak text it compiles. -# No problem with inserted German (or other foreign language) text. -# No problem if the complete table is Slovak, too. -export/export/latex/languages/en-sk-cz-babel-table-error_(dvi|pdf[23]?|.*_texF) - - # Xe/LuaTeX ###########