From f6e65dc50824f207a343e1f53564b785053b8be7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnter=20Milde?= Date: Tue, 20 Aug 2019 22:37:41 +0200 Subject: [PATCH] ctest update: we now work around a problem with Czech or Slovak text in some tables. --- .../languages/en-sk-cz-babel-table-error.lyx | 67 +++++++++++++++++-- development/autotests/invertedTests | 9 --- 2 files changed, 60 insertions(+), 16 deletions(-) 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 ###########