]> git.lyx.org Git - lyx.git/blob - autotests/export/latex/languages/supported-languages_polyglossia-XeTeX.lyx
Revert "DocBook: eat a bit of that spaghetti code."
[lyx.git] / autotests / export / latex / languages / supported-languages_polyglossia-XeTeX.lyx
1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
2 \lyxformat 589
3 \begin_document
4 \begin_header
5 \save_transient_properties true
6 \origin unavailable
7 \textclass scrartcl
8 \begin_preamble
9 \newfontfamily\arabicfont[Script=Arabic]{Amiri}
10 \newfontfamily\amharicfont{Noto Sans Ethiopic}
11 \newfontfamily\churchslavonicfont{Monomakh Unicode}
12 \newfontfamily\devanagarifont{Noto Serif Devanagari}
13 \newfontfamily\hangulfont{Baekmuk Batang}
14 \newfontfamily\kannadafont{Noto Serif Kannada}
15 \newfontfamily\khmerfont{Noto Serif Khmer}
16 %\newfontfamily\laofont{Noto Serif Lao} % misses punctuation in current versions.
17 \newfontfamily\laofont{DejaVu Sans} % wrong family but DejaVu Serif has no Lao characters
18 \newfontfamily\marathifont{FreeSerif} % gloss-marathi.ldf has a spelling error: "script=Devaganari"
19 %\newfontfamily\marathifont{Noto Serif Devanagari} % works, too
20 \newfontfamily\syriacfont{FreeSans}
21 \newfontfamily\tamilfont{Noto Serif Tamil}
22 \newfontfamily\telugufont{Noto Serif Telugu}
23 \newfontfamily\thaanafont{FreeSerif} % prevent "missing script tag" error
24 %\newfontfamily\thaanafont{Noto Sans Thaana} % works, too
25 \newfontfamily\tibetanfont{Noto Sans Tibetan}  % wrong family
26
27 % Font setup for Japanese (not supported by Polyglossia)
28 \usepackage{ifxetex}
29 \ifxetex
30   \usepackage{xeCJK} % https://ctan.org/pkg/xecjk
31   \setCJKmainfont{IPAexMincho}
32   \setCJKsansfont{IPAexGothic}
33 \else
34 % with LuaTeX, https://www.ctan.org/pkg/luatexja
35 % see https://tex.stackexchange.com/questions/222980/how-to-use-chinese-with-lualatex
36 % Unfortunately, this conflicts with Korean font setup via Polyglossia
37 % and leads to missing glyphs: (church slavonic ⁙ (U+2059)) and
38 % typographical quotes).
39 % \ifdefined\luatexversion
40 %   %\usepackage{luatexja-fontspec}
41 %   \usepackage[match]{luatexja-fontspec}
42 %   % use Mainfont for Greek and Cyrillic:
43 %   \ltjsetparameter{jacharrange={-2}}
44 %   \setmainjfont{IPAexMincho}
45 %   \setsansjfont{IPAexGothic}
46 %   %\setmonojfont{WenQuanYi Micro Hei Mono}
47 \fi
48 \end_preamble
49 \use_default_options false
50 \begin_modules
51 enumitem
52 \end_modules
53 \maintain_unincluded_children false
54 \language english
55 \language_package auto
56 \inputencoding auto-legacy
57 \fontencoding HE8,T1
58 \font_roman "libertine" "FreeSerif"
59 \font_sans "biolinum" "FreeSans"
60 \font_typewriter "default" "FreeMono"
61 \font_math "auto" "auto"
62 \font_default_family default
63 \use_non_tex_fonts true
64 \font_sc false
65 \font_roman_osf false
66 \font_sans_osf false
67 \font_typewriter_osf false
68 \font_sf_scale 100 100
69 \font_tt_scale 100 100
70 \font_cjk gbsn
71 \use_microtype false
72 \use_dash_ligatures true
73 \graphics default
74 \default_output_format pdf4
75 \output_sync 0
76 \bibtex_command default
77 \index_command default
78 \float_placement class
79 \float_alignment class
80 \paperfontsize default
81 \spacing single
82 \use_hyperref true
83 \pdf_bookmarks false
84 \pdf_bookmarksnumbered false
85 \pdf_bookmarksopen false
86 \pdf_bookmarksopenlevel 1
87 \pdf_breaklinks false
88 \pdf_pdfborder true
89 \pdf_colorlinks true
90 \pdf_backref section
91 \pdf_pdfusetitle true
92 \papersize a4
93 \use_geometry false
94 \use_package amsmath 1
95 \use_package amssymb 1
96 \use_package cancel 1
97 \use_package esint 1
98 \use_package mathdots 1
99 \use_package mathtools 1
100 \use_package mhchem 1
101 \use_package stackrel 1
102 \use_package stmaryrd 1
103 \use_package undertilde 1
104 \cite_engine basic
105 \cite_engine_type default
106 \biblio_style plain
107 \use_bibtopic false
108 \use_indices false
109 \paperorientation portrait
110 \suppress_date false
111 \justification false
112 \use_refstyle 0
113 \use_minted 0
114 \use_lineno 0
115 \branch only-as-document-language
116 \selected 0
117 \filename_suffix 0
118 \color #faf0e6
119 \end_branch
120 \branch babel-only
121 \selected 0
122 \filename_suffix 0
123 \color #faf0e6
124 \end_branch
125 \branch non-TeX-fonts-only
126 \selected 1
127 \filename_suffix 0
128 \color #faf0e6
129 \end_branch
130 \branch polyglossia-only
131 \selected 1
132 \filename_suffix 0
133 \color #faf0e6
134 \end_branch
135 \branch CJK
136 \selected 0
137 \filename_suffix 0
138 \color #faf0e6
139 \end_branch
140 \branch debug
141 \selected 0
142 \filename_suffix 0
143 \color #faf0e6
144 \end_branch
145 \branch conflict-rus-belarus
146 \selected 1
147 \filename_suffix 0
148 \color #faf0e6
149 \end_branch
150 \branch conflict-es-gl
151 \selected 0
152 \filename_suffix 0
153 \color #faf0e6
154 \end_branch
155 \branch conflict-bg-mk
156 \selected 1
157 \filename_suffix 0
158 \color #faf0e6
159 \end_branch
160 \branch conflict-babel-non-TeX-fonts
161 \selected 1
162 \filename_suffix 0
163 \color #faf0e6
164 \end_branch
165 \branch standalone
166 \selected 0
167 \filename_suffix 0
168 \color #faf0e6
169 \end_branch
170 \branch conflict-luatex
171 \selected 1
172 \filename_suffix 0
173 \color #faf0e6
174 \end_branch
175 \branch conflict-ko
176 \selected 1
177 \filename_suffix 0
178 \color #faf0e6
179 \end_branch
180 \index Stichwortverzeichnis
181 \shortcut idx
182 \color #008000
183 \end_index
184 \secnumdepth 3
185 \tocdepth 3
186 \paragraph_separation indent
187 \paragraph_indentation default
188 \is_math_indent 0
189 \math_numbering_side default
190 \quotes_style english
191 \dynamic_quotes 0
192 \papercolumns 1
193 \papersides 1
194 \paperpagestyle default
195 \tablestyle default
196 \tracking_changes false
197 \output_changes false
198 \html_math_output 0
199 \html_css_as_file 0
200 \html_be_strict false
201 \end_header
202
203 \begin_body
204
205 \begin_layout Title
206 Languages supported by LyX
207 \end_layout
208
209 \begin_layout Standard
210 With language examples that work with 
211 \emph on
212 Polyglossia
213 \emph default
214  and XeTeX.
215 \end_layout
216
217 \begin_layout Standard
218 Some languages require set up of a complementary font in the 
219 \emph on
220 user preamble
221 \emph default
222  (
223 \family sans
224 Document\SpecialChar menuseparator
225 Settings\SpecialChar menuseparator
226 LaTeX preamble
227 \family default
228 ).
229 \end_layout
230
231 \begin_layout Standard
232 \begin_inset CommandInset include
233 LatexCommand input
234 filename "supported-languages.lyx"
235 literal "false"
236
237 \end_inset
238
239
240 \end_layout
241
242 \end_body
243 \end_document