Skip to content

Commit

Permalink
增加了 latexmkrc
Browse files Browse the repository at this point in the history
  • Loading branch information
syvshc committed Mar 13, 2020
1 parent b1d9e9d commit 7a061c2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
16 changes: 11 additions & 5 deletions .latexmkrc
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
# Latexmk configuration file for fduthesis documentation.

# Cleanup mode
# Cleanup mode
# [2 is for doing aux files cleanup before building, ex]
# [1 is for doing ALL output files cleanup]
# [0 is for not doing cleanup]
$cleanup_mode = 2;

# Use XeLaTeX to compile.
# Use XeLaTeX to compile.
# [5 is XeLaTeX]
$pdf_mode = 5;

# Set XeLaTeX option
# Set XeLaTeX option.
$xelatex = "xelatex -file-line-error -halt-on-error -interaction=nonstopmode -synctex=1 %O %S";

# Process index.
# Process index. [Use Chinese index program]
$makeindex = 'zhmakeindex %O -o %D %S';

# Preview mode
# Preview mode
# [1 is for running a previewer after building]
# [0 is for not running it]
$preview_mode = 1;

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

相关笔记的`pdf`文档可以在 [`release`](https://github.com/syvshc/2019Fall_FA/releases) 中找到, 无特殊情况每周日晚更新一次.

编译方式为 `xelatex+zhmakeindex+xelatex+xelatex` , 其中 `zhmakeindex` 为中文索引生成引擎, 可在刘海洋老师的[`Github`](https://github.com/leo-liu/zhmakeindex/releases) 中下载并使用, 使用方法可以参考[LaTeX问答站上的回答](https://wenda.latexstudio.net/q-1351.html)
编译方式为 `latexmk main` , 关于 `latexmkrc` 文件中的配置已经写了注释, 其中 `zhmakeindex` 为中文索引生成引擎, 可在刘海洋老师的[`Github`](https://github.com/leo-liu/zhmakeindex/releases) 中下载并使用, 使用方法可以参考[LaTeX问答站上的回答](https://wenda.latexstudio.net/q-1351.html)

关于书写的要求

Expand Down

0 comments on commit 7a061c2

Please sign in to comment.