mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Chinese Intro and Tutorial.lyx: make files compilable wit XeTeX
- both files: remove \CJKindent which prevented the compilation with XeTeX, load the xeCJK package which is necessary to get text lines broken at the page margin Both files are still compilable with pdfTeX because then xeCJk does simply nothing. - Intro: replace TeX code by its LyX inset and alsoremove unnecessary document class option "cjk"
This commit is contained in:
parent
704273eea0
commit
ecb3b7b25c
@ -3,7 +3,9 @@
|
|||||||
\begin_document
|
\begin_document
|
||||||
\begin_header
|
\begin_header
|
||||||
\textclass article
|
\textclass article
|
||||||
\options cjk
|
\begin_preamble
|
||||||
|
\usepackage{xeCJK}
|
||||||
|
\end_preamble
|
||||||
\use_default_options true
|
\use_default_options true
|
||||||
\maintain_unincluded_children false
|
\maintain_unincluded_children false
|
||||||
\language chinese-simplified
|
\language chinese-simplified
|
||||||
@ -76,22 +78,6 @@
|
|||||||
|
|
||||||
\begin_body
|
\begin_body
|
||||||
|
|
||||||
\begin_layout Standard
|
|
||||||
\begin_inset ERT
|
|
||||||
status collapsed
|
|
||||||
|
|
||||||
\begin_layout Plain Layout
|
|
||||||
|
|
||||||
|
|
||||||
\backslash
|
|
||||||
CJKindent
|
|
||||||
\end_layout
|
|
||||||
|
|
||||||
\end_inset
|
|
||||||
|
|
||||||
|
|
||||||
\end_layout
|
|
||||||
|
|
||||||
\begin_layout Title
|
\begin_layout Title
|
||||||
LyX 简介
|
LyX 简介
|
||||||
\end_layout
|
\end_layout
|
||||||
@ -1366,16 +1352,7 @@ type "mailto:"
|
|||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
\begin_inset ERT
|
\begin_inset Newpage clearpage
|
||||||
status open
|
|
||||||
|
|
||||||
\begin_layout Plain Layout
|
|
||||||
|
|
||||||
|
|
||||||
\backslash
|
|
||||||
clearpage
|
|
||||||
\end_layout
|
|
||||||
|
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
%中文断行
|
%中文断行
|
||||||
%\XeTeXlinebreaklocale "zh"
|
%\XeTeXlinebreaklocale "zh"
|
||||||
%\XeTeXlinebreakskip = 0pt plus 1pt
|
%\XeTeXlinebreakskip = 0pt plus 1pt
|
||||||
\usepackage{CJK}
|
\usepackage{xeCJK}
|
||||||
\end_preamble
|
\end_preamble
|
||||||
\options cjk
|
\options cjk
|
||||||
\use_default_options true
|
\use_default_options true
|
||||||
@ -85,22 +85,6 @@
|
|||||||
|
|
||||||
\begin_body
|
\begin_body
|
||||||
|
|
||||||
\begin_layout Standard
|
|
||||||
\begin_inset ERT
|
|
||||||
status collapsed
|
|
||||||
|
|
||||||
\begin_layout Plain Layout
|
|
||||||
|
|
||||||
|
|
||||||
\backslash
|
|
||||||
CJKindent
|
|
||||||
\end_layout
|
|
||||||
|
|
||||||
\end_inset
|
|
||||||
|
|
||||||
|
|
||||||
\end_layout
|
|
||||||
|
|
||||||
\begin_layout Title
|
\begin_layout Title
|
||||||
The LyX Tutorial
|
The LyX Tutorial
|
||||||
\end_layout
|
\end_layout
|
||||||
|
Loading…
Reference in New Issue
Block a user