PyTeXMK
LaTeX 辅助编译命令行程序 LaTeX Auxiliary Compilation Command Line Tool
安装
官方版本 PyTeXMK 发布在 PyPI 上,并且可以通过 pip 包管理器从 PyPI 镜像轻松安装。
请注意,您必须使用 Python 3 版本pip:
pip3 install pytexmk
升级
pip3 install --upgrade pytexmk
使用入门
PyTeXMK 默认使用 xelatex 编译,默认主文件名为 main(如果不是 main 就在 pytexmk 命令后添加文件名),默认 batch 模式编译,编译过程信息不显示(如需显示编译过程信息请使用 -nq 参数),默认将编译结果存放在 LaTeX 项目的 Build 文件夹下 ( VSCode 用户则需要在 settings.json 中注意设置 "latex-workshop.latex.outDir": "./Build", 使得latex workshop 能够找到pdf )。
在终端打开 LaTeX 项目所在文件夹,输入 pytexmk 即可使用默认参数进行编译,编译结果默认存放在 LaTeX 项目的 Build 文件夹下。
PyTeXMK 支持:
- 编译命令:
xelatexpdflatexlualatex - 参考文献:
bibtexbiblatexthebibliography - 符号索引:
glossariesnomenclmkeidx
位置参数:
| Option | Description |
|---|---|
| document | 要被编译的文件名 |
选项:
| Option | Description |
|---|---|
| -h, --help | 显示帮助信息 |
| -v, --version | 显示程序版本号 |
| -c, --clean | 清除所有辅助文件 |
| -C, --Clean | 清除所有辅助文件和 pdf 文件 |
| -nq, --no-quiet | 非安静模式运行,此模式下显示编译过程 |
| -p, --pdflatex | pdflatex 进行编译 |
| -x, --xelatex | xelatex 进行编译 |
| -l, --lualatex | lualatex 进行编译 |
Metadata
Release files for pytexmk 0.2.14.240303
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pytexmk-0.2.14.240303.tar.gz | 25.5 kB | Without provenance | Details for pytexmk-0.2.14.240303.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pytexmk-0.2.14.240303-py3-none-any.whl | Python 3 | none | any | Details for pytexmk-0.2.14.240303-py3-none-any.whl |
Total release size: 50.3 kB
Release files / pytexmk-0.2.14.240303.tar.gz
| Download URL | pytexmk-0.2.14.240303.tar.gz |
|---|---|
| Size | 25.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8b0d9921238c67632a38ae45b01de0bec26b8bf44c5d7cec29a014492e79390e
|
|
BLAKE2b-256 checksum How to use checksums |
e979cb6d1f1e8e15ee68d1977efecf11e34fabc1ab32cd7627743b645fcfbe00
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / pytexmk-0.2.14.240303-py3-none-any.whl
| Download URL | pytexmk-0.2.14.240303-py3-none-any.whl |
|---|---|
| Size | 24.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6e5b27eb8316ba5ab964f49d792efd7179942b310d2f0237bf7cc82d146a6cc2
|
|
BLAKE2b-256 checksum How to use checksums |
d9015865de12175a6a43815fb7f048cbc2a552ff823b64e2b6b8911f386fee68
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Security for pytexmk 0.2.14.240303
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.