]> git.lyx.org Git - features.git/commitdiff
Minor ctest sample update.
authorGünter Milde <milde@lyx.org>
Thu, 4 Jul 2019 18:37:31 +0000 (20:37 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:34 +0000 (15:48 +0200)
autotests/export/latex/inputenc-utf8-plain.lyx
autotests/export/latex/languages/uk-babel-date-missing-chars-with-ascii.lyx

index 84128ef33c4a267e37d3fc335a9188b31625c6a9..e231b21378a97ec8182892fa8b6c602da329d378 100644 (file)
@@ -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
     \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
index 9d93a43639ae86ace0ba4f015cbd1ab9ac93aefe..1d47dc431be323da5358307be49419406b961f67 100644 (file)
@@ -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