https://github.com/CTeX-org/lshort-zh-cn
A Chinese edition of the Not So Short Introduction to LaTeX2ε
https://github.com/CTeX-org/lshort-zh-cn
Last synced: about 1 month ago
JSON representation
A Chinese edition of the Not So Short Introduction to LaTeX2ε
- Host: GitHub
- URL: https://github.com/CTeX-org/lshort-zh-cn
- Owner: CTeX-org
- License: gfdl-1.3
- Created: 2016-06-07T11:05:38.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-12-19T02:48:55.000Z (4 months ago)
- Last Synced: 2025-02-21T18:16:13.599Z (2 months ago)
- Language: TeX
- Size: 722 KB
- Stars: 3,104
- Watchers: 41
- Forks: 415
- Open Issues: 2
-
Metadata Files:
- Readme: README-zh.md
Awesome Lists containing this project
- stars - CTeX-org/lshort-zh-cn
- awesome - CTeX-org/lshort-zh-cn - A Chinese edition of the Not So Short Introduction to LaTeX2ε (TeX)
- awesome - CTeX-org/lshort-zh-cn - A Chinese edition of the Not So Short Introduction to LaTeX2ε (TeX)
README
[English](https://github.com/CTeX-org/lshort-zh-cn) | [中文](https://github.com/CTeX-org/lshort-zh-cn/blob/master/README-zh.md)
# 一份(不太)简短的 LaTeX2ε 介绍
[](https://github.com/CTeX-org/lshort-zh-cn/actions)
[](https://ctan.org/pkg/lshort-zh-cn)
[](https://github.com/CTeX-org/lshort-zh-cn/releases/latest)## 许可证
本文档以 [**GNU 自由文档许可证(1.3 版)**](LICENSE) 发布。详见文档中题为「GNU Free Documentation License」的章节,或者源代码文件 `fdl.tex`。
## 编译之前的准备
将发行版内的 `ctex` 宏包、`xeCJK` 宏包更新到最新(包括它们依赖的所有宏包),并确认 `lshort-zh-cn-style.sty` 调用的其它宏包都已正确安装并更新到最新。
## 编译方式
### 手动编译
在 `src` 目录下按照以下顺序编译:
```sh
xelatex lshort-zh-cn
makeindex -s lshort-zh-cn.ist lshort-zh-cn
xelatex lshort-zh-cn
xelatex lshort-zh-cn
```如果编译正确生成 PDF,之后将 PDF 移动到根目录。
### 使用脚本和 Makefile 编译
对于 GNU/Linux 或 macOS 用户,我们提供了 GNU make 所需的 Makefile,在 `src` 目录下执行以下命令进行编译:
```sh
make
make install
```对于 Windows 用户,我们也在 `src` 目录提供了批处理脚本 `make.bat`,双击进行编译。
### 使用 latexmk 编译
在 `src` 目录下有可供 `latexmk` 构建工具使用的配置文件 `latexmkrc`。在 `src` 目录下执行 `latexmk` 命令进行编译,完成后将 PDF 文件移动到根目录。