]> git.lyx.org Git - lyx.git/blob - autotests/export/latex/CJK/zh_CN-toc.lyx
bf140f43194e369206c656ef3a6a87b7c0da513b
[lyx.git] / autotests / export / latex / CJK / zh_CN-toc.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 report
8 \begin_preamble
9
10 \end_preamble
11 \use_default_options false
12 \maintain_unincluded_children false
13 \language chinese-traditional
14 \language_package default
15 \inputencoding utf8-cjk
16 \fontencoding auto
17 \font_roman "lmodern" "Noto Sans CJK SC"
18 \font_sans "default" "Noto Sans CJK SC Light"
19 \font_typewriter "default" "Noto Sans Mono CJK SC"
20 \font_math "auto" "auto"
21 \font_default_family default
22 \use_non_tex_fonts false
23 \font_sc false
24 \font_osf false
25 \font_sf_scale 100 100
26 \font_tt_scale 100 100
27 \font_cjk bsmi
28 \use_microtype false
29 \use_dash_ligatures false
30 \graphics default
31 \default_output_format pdf2
32 \output_sync 0
33 \bibtex_command default
34 \index_command default
35 \float_placement class
36 \float_alignment class
37 \paperfontsize 12
38 \spacing single
39 \use_hyperref true
40 \pdf_bookmarks true
41 \pdf_bookmarksnumbered false
42 \pdf_bookmarksopen true
43 \pdf_bookmarksopenlevel 1
44 \pdf_breaklinks false
45 \pdf_pdfborder false
46 \pdf_colorlinks true
47 \pdf_backref false
48 \pdf_pdfusetitle true
49 \papersize a4paper
50 \use_geometry false
51 \use_package amsmath 1
52 \use_package amssymb 1
53 \use_package cancel 1
54 \use_package esint 1
55 \use_package mathdots 0
56 \use_package mathtools 1
57 \use_package mhchem 1
58 \use_package stackrel 1
59 \use_package stmaryrd 1
60 \use_package undertilde 1
61 \cite_engine basic
62 \cite_engine_type default
63 \biblio_style plain
64 \use_bibtopic false
65 \use_indices false
66 \paperorientation portrait
67 \suppress_date false
68 \justification true
69 \use_refstyle 0
70 \use_minted 0
71 \index 索引
72 \shortcut idx
73 \color #008000
74 \end_index
75 \secnumdepth 3
76 \tocdepth 3
77 \paragraph_separation skip
78 \defskip 2ex
79 \is_math_indent 0
80 \math_numbering_side default
81 \quotes_style english
82 \dynamic_quotes 0
83 \papercolumns 1
84 \papersides 1
85 \paperpagestyle default
86 \tracking_changes false
87 \output_changes false
88 \html_math_output 0
89 \html_css_as_file 0
90 \html_be_strict false
91 \end_header
92
93 \begin_body
94
95 \begin_layout Standard
96 \begin_inset CommandInset toc
97 LatexCommand tableofcontents
98
99 \end_inset
100
101
102 \end_layout
103
104 \begin_layout Chapter
105 \SpecialChar LyX
106
107 \end_layout
108
109 \begin_layout Standard
110 This is a Chinese test document for \SpecialChar LyX
111  with the CJK package.
112 \end_layout
113
114 \begin_layout Standard
115 The 
116 \emph on
117 Table of Contents 
118 \emph default
119 heading appears as 
120 \begin_inset Quotes eld
121 \end_inset
122
123 Contents
124 \begin_inset Quotes erd
125 \end_inset
126
127  in the PDF.
128 \end_layout
129
130 \begin_layout Standard
131 Without a 
132 \backslash
133 clearpage before closing the 
134 \begin_inset Quotes eld
135 \end_inset
136
137 CJK
138 \begin_inset Quotes erd
139 \end_inset
140
141  environment, Chinese characters in a section title lead to errors like
142 \end_layout
143
144 \begin_layout LyX-Code
145 ! Package inputenc Error: Unicode char 中 (U+4E2D) 
146 \end_layout
147
148 \begin_layout LyX-Code
149 (inputenc) not set up for use with LaTeX.
150 \end_layout
151
152 \begin_layout Standard
153 (cf.
154  https://www.lyx.org/trac/ticket/5386).
155 \end_layout
156
157 \begin_layout Section
158 Section in English
159 \end_layout
160
161 \begin_layout Standard
162 This section head is in English.
163 \end_layout
164
165 \begin_layout Section
166 Secition in Chinese 中文名
167 \end_layout
168
169 \begin_layout Standard
170 This section head is in Chinese.
171  這節的標題是中文。
172 \end_layout
173
174 \end_body
175 \end_document