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