From: Günter Milde Date: Thu, 4 Jul 2019 18:37:31 +0000 (+0200) Subject: Minor ctest sample update. X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=06501120d0e440074e9aadbe4cf7791e6795a4dd;p=features.git Minor ctest sample update. --- diff --git a/autotests/export/latex/inputenc-utf8-plain.lyx b/autotests/export/latex/inputenc-utf8-plain.lyx index 84128ef33c..e231b21378 100644 --- a/autotests/export/latex/inputenc-utf8-plain.lyx +++ b/autotests/export/latex/inputenc-utf8-plain.lyx @@ -1,5 +1,5 @@ #LyX 2.4 created this file. For more info see https://www.lyx.org/ -\lyxformat 572 +\lyxformat 577 \begin_document \begin_header \save_transient_properties true @@ -8,10 +8,12 @@ \begin_preamble \@ifpackageloaded{fontspec}{% % Unicode fonts, nothing to do -}{% setup Unicode with 8-bit LaTeX fonts: +}{% setup for utf-8 with 8-bit LaTeX fonts: + % character-providing packages are not auto-loaded with "utf8-plain" \usepackage{textcomp} + % load "inpuentc": \ifdefined\XeTeXinputencoding % XeTeX in legacy mode \XeTeXinputencoding "bytes" % current file @@ -20,14 +22,13 @@ \let\Umathchar\@undefined \usepackage[utf8]{inputenc} \let\Umathchar\origUmathchar - \fi - \ifdefined\directlua - \usepackage[utf8]{luainputenc} % must come after textcomp! \else - \usepackage[utf8]{inputenc} % default since TeXLive 2018 + \usepackage[utf8]{luainputenc} % must come after textcomp! \fi - % set up macro for INFINITY Character '∞' - \DeclareUnicodeCharacter{221E}{\ensuremath{\infty}} + % set up LICR macros, e.g. for INFINITY Character '∞' + \DeclareUnicodeCharacter{221E}{\ensuremath{\infty} + % ... +} } \end_preamble \use_default_options true @@ -83,6 +84,7 @@ logicalmkup \justification true \use_refstyle 1 \use_minted 0 +\use_lineno 0 \index Index \shortcut idx \color #008000 @@ -113,8 +115,8 @@ With LaTeX input encoding \family typewriter utf8-plain \family default - (UTF-8 (XeTeX)), the author must ensure non-standard characters are defined - in the user preamble (see Document>Settings>LaTeX + (UTF-8 Pass-Through), the author must ensure non-standard characters are + defined in the user preamble (see Document>Settings>LaTeX \begin_inset space ~ \end_inset @@ -134,7 +136,7 @@ Textcomp characters: ¹²³¼½¬¸@ł€¶←→ \end_layout \begin_layout Itemize -INFINITY Character defined in the user preamble: ∞ +INFINITY Character (defined in the user preamble): ∞ \end_layout \end_body diff --git a/autotests/export/latex/languages/uk-babel-date-missing-chars-with-ascii.lyx b/autotests/export/latex/languages/uk-babel-date-missing-chars-with-ascii.lyx index 9d93a43639..1d47dc431b 100644 --- a/autotests/export/latex/languages/uk-babel-date-missing-chars-with-ascii.lyx +++ b/autotests/export/latex/languages/uk-babel-date-missing-chars-with-ascii.lyx @@ -1,5 +1,5 @@ #LyX 2.4 created this file. For more info see https://www.lyx.org/ -\lyxformat 566 +\lyxformat 577 \begin_document \begin_header \save_transient_properties true @@ -55,6 +55,7 @@ \justification true \use_refstyle 0 \use_minted 0 +\use_lineno 0 \index Індекс \shortcut idx \color #008000 @@ -70,6 +71,7 @@ \papercolumns 1 \papersides 1 \paperpagestyle default +\tablestyle default \tracking_changes false \output_changes false \html_math_output 0 @@ -105,9 +107,21 @@ year \end_layout \begin_layout Enumerate -While this is a bug in Babel-Ukrainian, we can work around it by explicitely - setting the date (e.g. - with Insert>Field>Date). +This is a bug in Babel-Ukrainian. + +\end_layout + +\begin_layout Enumerate +Workaround: explicitely set the date (paragraph with style +\begin_inset Quotes eld +\end_inset + +date +\begin_inset Quotes erd +\end_inset + +). + Variable/automatic content is possible with Insert>Field>Date). \end_layout \end_body