Skip to content

Commit ba8513a

Browse files
committed
improve help.md on the topic of xelatex and xeCJK and duplicate the hint in lesson-03.md
1 parent 7d0e278 commit ba8513a

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

zh/help.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ permalink: /zh/help
3838
\end{document}
3939
```
4040

41+
<p class="hint">当您使用ctexart(或其他ctex文档类)时,无需加载xeCJK宏包(`\usepackage{xeCJK}`)。现代TeX引擎会根据需要自动加载对应的CJK宏包,简单的ctexart文档应该在所有引擎上都能正常工作。在编译LaTeX文档时最好使用LuaLaTeX引擎,不仅因为它在处理大型文档时更快,而且它是被推荐的编译引擎(https://www.texdev.net/2024/11/05/engine-news-from-the-latex-project)。</p>
42+
4143
每个示例都是完整的。但是您可能希望编辑它来做一些小的改动,也许是作为课程末尾的练习集的一部分。
4244

4345
编辑器使用的是[ACE](https://ace.c9.io/)

zh/lesson-03.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ Hello, world!
3333
\end{document}
3434
```
3535

36+
<p class="hint">当您使用ctexart(或其他ctex文档类)时,无需加载xeCJK宏包(`\usepackage{xeCJK}`)。现代TeX引擎会根据需要自动加载对应的CJK宏包,简单的ctexart文档应该在所有引擎上都能正常工作。在编译LaTeX文档时最好使用LuaLaTeX引擎,不仅因为它在处理大型文档时更快,而且它是被推荐的编译引擎(https://www.texdev.net/2024/11/05/engine-news-from-the-latex-project)。</p>
37+
3638
保存文件并将其排版为PDF文档;如果您使用的是本地LaTeX安装,具体的按钮取决于您选择的编辑器。您应该会得到一个包含上述文本_加上_页码的PDF文件;LaTeX会自动添加页码。
3739

3840
使用您喜欢的PDF查看程序查看输出`first.pdf`。看起来不错,恭喜!

0 commit comments

Comments
 (0)