]> git.lyx.org Git - lyx.git/blob - autotests/export/latex/inputenc-utf8-plain.lyx
Amend d53a13a: Bug 11519 only manifests if inputenc != "auto".
[lyx.git] / autotests / export / latex / inputenc-utf8-plain.lyx
1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
2 \lyxformat 566
3 \begin_document
4 \begin_header
5 \save_transient_properties true
6 \origin unavailable
7 \textclass article
8 \begin_preamble
9 \@ifpackageloaded{fontspec}{%
10   % Unicode fonts, nothing to do
11 }{% setup Unicode with 8-bit LaTeX fonts:
12   % character-providing packages are not auto-loaded with "utf8-plain"
13   \usepackage{textcomp}
14
15   \ifdefined\XeTeXinputencoding
16     % XeTeX in legacy mode
17     \XeTeXinputencoding "bytes" % current file
18     \XeTeXdefaultencoding "bytes" % included files
19     \let\origUmathchar\Umathchar
20     \let\Umathchar\@undefined
21     \usepackage[utf8]{inputenc}
22     \let\Umathchar\origUmathchar
23   \fi
24   \ifdefined\directlua
25     \usepackage[utf8]{luainputenc} % must come after textcomp!
26   \else
27     \usepackage[utf8]{inputenc} % default since TeXLive 2018
28   \fi
29   % set up macro for INFINITY Character '∞'
30   \DeclareUnicodeCharacter{221E}{\ensuremath{\infty}}
31 }
32 \end_preamble
33 \use_default_options true
34 \begin_modules
35 logicalmkup
36 \end_modules
37 \maintain_unincluded_children false
38 \language english
39 \language_package default
40 \inputencoding utf8-plain
41 \fontencoding auto
42 \font_roman "lmodern" "default"
43 \font_sans "default" "default"
44 \font_typewriter "default" "default"
45 \font_math "auto" "auto"
46 \font_default_family default
47 \use_non_tex_fonts false
48 \font_sc false
49 \font_osf false
50 \font_sf_scale 100 100
51 \font_tt_scale 100 100
52 \use_microtype false
53 \use_dash_ligatures false
54 \graphics default
55 \default_output_format default
56 \output_sync 0
57 \bibtex_command default
58 \index_command default
59 \float_placement class
60 \float_alignment class
61 \paperfontsize default
62 \spacing single
63 \use_hyperref false
64 \papersize default
65 \use_geometry false
66 \use_package amsmath 1
67 \use_package amssymb 1
68 \use_package cancel 1
69 \use_package esint 1
70 \use_package mathdots 1
71 \use_package mathtools 1
72 \use_package mhchem 1
73 \use_package stackrel 1
74 \use_package stmaryrd 1
75 \use_package undertilde 1
76 \cite_engine basic
77 \cite_engine_type default
78 \biblio_style plain
79 \use_bibtopic false
80 \use_indices false
81 \paperorientation portrait
82 \suppress_date false
83 \justification true
84 \use_refstyle 1
85 \use_minted 0
86 \index Index
87 \shortcut idx
88 \color #008000
89 \end_index
90 \secnumdepth 3
91 \tocdepth 3
92 \paragraph_separation indent
93 \paragraph_indentation default
94 \is_math_indent 0
95 \math_numbering_side default
96 \quotes_style english
97 \dynamic_quotes 0
98 \papercolumns 1
99 \papersides 1
100 \paperpagestyle default
101 \tracking_changes false
102 \output_changes false
103 \html_math_output 0
104 \html_css_as_file 0
105 \html_be_strict false
106 \end_header
107
108 \begin_body
109
110 \begin_layout Standard
111 With LaTeX input encoding 
112 \family typewriter
113 utf8-plain
114 \family default
115  (UTF-8 (XeTeX)), the author must ensure non-standard characters are defined
116  in the user preamble (see Document>Settings>LaTeX
117 \begin_inset space ~
118 \end_inset
119
120 Preamble).
121 \end_layout
122
123 \begin_layout Itemize
124 Hübner und Örtel sind 30 µm groß.
125 \end_layout
126
127 \begin_layout Itemize
128 em- and en-dash: — –
129 \end_layout
130
131 \begin_layout Itemize
132 Textcomp characters: ¹²³¼½¬¸@ł€¶←→
133 \end_layout
134
135 \begin_layout Itemize
136 INFINITY Character defined in the user preamble: ∞
137 \end_layout
138
139 \end_body
140 \end_document