From 33ae17c3f2d723a2be46b9f79afbbb61c76adff4 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 6 May 2021 20:22:28 +0000 Subject: tlmgr-intro-zh-cn (6may21) git-svn-id: svn://tug.org/texlive/trunk@59100 c570f23f-e606-0410-a88d-b1316a301751 --- .../doc/support/tlmgr-intro-zh-cn/README.md | 26 ++++++++++++++++++--- .../doc/support/tlmgr-intro-zh-cn/body/preface.tex | 4 ++-- .../doc/support/tlmgr-intro-zh-cn/latexmkrc | 4 ++-- .../tlmgr-intro-zh-cn/tlmgr-intro-zh-cn.pdf | Bin 376444 -> 376582 bytes .../tlmgr-intro-zh-cn/tlmgr-intro-zh-cn.tex | 2 +- 5 files changed, 28 insertions(+), 8 deletions(-) (limited to 'Master/texmf-dist/doc') diff --git a/Master/texmf-dist/doc/support/tlmgr-intro-zh-cn/README.md b/Master/texmf-dist/doc/support/tlmgr-intro-zh-cn/README.md index eac112d11ac..a91fd8f2c84 100644 --- a/Master/texmf-dist/doc/support/tlmgr-intro-zh-cn/README.md +++ b/Master/texmf-dist/doc/support/tlmgr-intro-zh-cn/README.md @@ -1,10 +1,30 @@ +# tlmgr-intro-zh-cn + +This document is a Chinese translation to [texdoc tlmgr](https://mirrors.ctan.org/info/tlmgrbasics/doc/tlmgr.pdf). If there exist wrong translations or some practical functions that I haven't write, welcome to raise an [issue](https://github.com/syvshc/tlmgr-intro-zh-cn/issues) or [PR](https://github.com/syvshc/tlmgr-intro-zh-cn/pulls). + +TeX Live uses `tlmgr` to manage schemes, collections and packages. If you still don't install TeX Live, please install one with the help of [install-latex-guide-zh-cn](https://mirrors.ctan.org/info/install-latex-guide-zh-cn/install-latex-guide-zh-cn.pdf) and [texlive-zh-cn](https://www.tug.org/texlive/doc/texlive-zh-cn/texlive-zh-cn.pdf). + +However the [`tlmgr`'s official document](https://www.tug.org/texlive/doc/tlmgr.html) is too long for common users, so I select some practical funcitons and usage to introduce. + +To compile this project, I recommend to run +```bash +latexmk +``` +under the `\tlmgr-intro-zh-cn` folder. The compiled document could be found at the [release](https://github.com/syvshc/tlmgr-intro-zh-cn/releases) page. + +# License + +This work is released under the GNU GPL, v3.0 or later. + # 关于 `tlmgr` 使用方法的简介 -这个文档是对 [texdoc tlmgr](https://www.tug.org/texlive/devsrc/Master/texmf-dist/doc/latex/tlmgrbasics/tlmgr.pdf) 的翻译以及补充. 由于翻译水平与专业知识有限, 文档中有一些词汇和语句翻译的并不好, 如果您有更好的翻译或者纠正我的错误, 可以在该项目处提出 [issue](https://github.com/syvshc/tlmgr-intro-zh-cn/issues) 或者 [PR](https://github.com/syvshc/tlmgr-intro-zh-cn/pulls). +这个文档是对 [texdoc tlmgr](https://mirrors.ctan.org/info/tlmgrbasics/doc/tlmgr.pdf) 的翻译以及补充. 由于翻译水平与专业知识有限, 文档中有一些词汇和语句翻译的并不好, 如果您有更好的翻译或者纠正我的错误, 可以在该项目处提出 [issue](https://github.com/syvshc/tlmgr-intro-zh-cn/issues) 或者 [PR](https://github.com/syvshc/tlmgr-intro-zh-cn/pulls). + +TeX Live 使用 `tlmgr` 来管理安装方案, 集合和软件包, 如果还没有安装 TeX Live, 可以参考 [install-latex-guide-zh-cn](https://mirrors.ctan.org/info/install-latex-guide-zh-cn/install-latex-guide-zh-cn.pdf) 与 [texlive-zh-cn](https://www.tug.org/texlive/doc/texlive-zh-cn/texlive-zh-cn.pdf) 进行安装. -TeX Live 使用 `tlmgr` 来管理安装方案, 集合和软件包, 如果还没有安装 TeX Live, 可以参考 [install-latex-guide-zh-cn](https://www.tug.org/texlive/devsrc/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/install-latex-guide-zh-cn.pdf) 与 [texlive-zh-cn](https://www.tug.org/texlive/doc/texlive-zh-cn/texlive-zh-cn.pdf) 进行安装. 但是 [`tlmgr` 官方文档](https://www.tug.org/texlive/doc/tlmgr.html) 过于冗长, 有很多一般用户接触不到的功能, 在这里将它简化, 拿出一些比较基础使用的命令来介绍. +但是 [`tlmgr` 官方文档](https://www.tug.org/texlive/doc/tlmgr.html) 过于冗长, 有很多一般用户接触不到的功能, 在这里将它简化, 拿出一些比较基础使用的命令来介绍. -本文档推荐使用 `latexmk` 进行编译, 在命令行运行 +本文档推荐使用 `latexmk` 进行编译, 在文件夹 `\tlmgr-intro-zh-cn` 下, 用命令行运行 ```bash latexmk ``` diff --git a/Master/texmf-dist/doc/support/tlmgr-intro-zh-cn/body/preface.tex b/Master/texmf-dist/doc/support/tlmgr-intro-zh-cn/body/preface.tex index 96c2bdd0cf1..5dbb1161c8f 100644 --- a/Master/texmf-dist/doc/support/tlmgr-intro-zh-cn/body/preface.tex +++ b/Master/texmf-dist/doc/support/tlmgr-intro-zh-cn/body/preface.tex @@ -2,9 +2,9 @@ \section*{前\quad 言} \addcontentsline{toc}{section}{前言} -这个文档是对 \href{https://www.tug.org/texlive/devsrc/Master/texmf-dist/doc/latex/tlmgrbasics/tlmgr.pdf}{\texttt{texdoc tlmgr}} 的翻译以及补充. 由于翻译水平与专业知识有限, 文档中有一些词汇和语句翻译的并不好, 如果您有更好的翻译或者纠正我的错误, 可以在该项目处提出 \href{https://github.com/syvshc/tlmgr-intro-zh-cn/issues}{issue} 或者 \href{https://github.com/syvshc/tlmgr-intro-zh-cn/pulls}{PR}. +这个文档是对 \href{https://mirrors.ctan.org/info/tlmgrbasics/doc/tlmgr.pdf}{\texttt{texdoc tlmgr}} 的翻译以及补充. 由于翻译水平与专业知识有限, 文档中有一些词汇和语句翻译的并不好, 如果您有更好的翻译或者纠正我的错误, 可以在该项目处提出 \href{https://github.com/syvshc/tlmgr-intro-zh-cn/issues}{issue} 或者 \href{https://github.com/syvshc/tlmgr-intro-zh-cn/pulls}{PR}. -\tlmgr 管理着 \tl 的安装, 包括软件包以及配置选项. 如果还没有安装 \tl, 可以参考 \href{https://www.tug.org/texlive/devsrc/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/install-latex-guide-zh-cn.pdf}{install-latex-guide-zh-cn} 与 \href{https://www.tug.org/texlive/doc/texlive-zh-cn/texlive-zh-cn.pdf}{texlive-zh-cn} 进行安装. +\tlmgr 管理着 \tl 的安装, 包括软件包以及配置选项. 如果还没有安装 \tl, 可以参考 \href{https://mirrors.ctan.org/info/install-latex-guide-zh-cn/install-latex-guide-zh-cn.pdf}{install-latex-guide-zh-cn} 与 \href{https://www.tug.org/texlive/doc/texlive-zh-cn/texlive-zh-cn.pdf}{texlive-zh-cn} 进行安装. \tl 是由一些最高级别的\textbf{安装方案} (schemes) 构成的, 每一种方案中包含一些\textbf{集合} (collections) 和\textbf{软件包} (packages), 而每一个集合中也包含了一些软件包, 软件包中包含了一些可以看到的文件. 在安装 \tl 的时候, 我们可以选择在不同的级别来进行安装和管理. 比如在安装的时候可以只选则安装最小的安装方案 \texttt{minimal scheme (plain only)}, 以及一部分语言和功能的集合, 比如 \texttt{Chinese} 与 \texttt{LaTeX additional packages} diff --git a/Master/texmf-dist/doc/support/tlmgr-intro-zh-cn/latexmkrc b/Master/texmf-dist/doc/support/tlmgr-intro-zh-cn/latexmkrc index 3643a215903..72223361393 100644 --- a/Master/texmf-dist/doc/support/tlmgr-intro-zh-cn/latexmkrc +++ b/Master/texmf-dist/doc/support/tlmgr-intro-zh-cn/latexmkrc @@ -11,10 +11,10 @@ $cleanup_mode = 0; # [5 is XeLaTeX] $pdf_mode = 1; -$clean_ext = "synctex.gz acn acr alg aux bbl bcf blg brf fdb_latexmk glg glo gls idx ilg ind lof log lot out run.xml toc pdf thm toe ist idx"; +$clean_ext = "synctex.gz acn acr alg aux bbl bcf blg brf fdb_latexmk glg glo gls idx ilg ind lof log lot out run.xml toc thm toe ist idx"; # Preview mode & Auto complie after save. -$preview_continuous_mode = 1; +$preview_continuous_mode = 0; # Set XeLaTeX option. $pdflatex = "xelatex -halt-on-error -interaction=nonstopmode -synctex=1 %O %S"; diff --git a/Master/texmf-dist/doc/support/tlmgr-intro-zh-cn/tlmgr-intro-zh-cn.pdf b/Master/texmf-dist/doc/support/tlmgr-intro-zh-cn/tlmgr-intro-zh-cn.pdf index 04e641e2bd7..88eb411a9b7 100644 Binary files a/Master/texmf-dist/doc/support/tlmgr-intro-zh-cn/tlmgr-intro-zh-cn.pdf and b/Master/texmf-dist/doc/support/tlmgr-intro-zh-cn/tlmgr-intro-zh-cn.pdf differ diff --git a/Master/texmf-dist/doc/support/tlmgr-intro-zh-cn/tlmgr-intro-zh-cn.tex b/Master/texmf-dist/doc/support/tlmgr-intro-zh-cn/tlmgr-intro-zh-cn.tex index 50b122acbff..62425ea5fe2 100644 --- a/Master/texmf-dist/doc/support/tlmgr-intro-zh-cn/tlmgr-intro-zh-cn.tex +++ b/Master/texmf-dist/doc/support/tlmgr-intro-zh-cn/tlmgr-intro-zh-cn.tex @@ -6,7 +6,7 @@ \author{Zhonghao Sun\thanks{\href{mailto:syvshc@foxmail.com}% {\ttfamily syvshc@foxmail.com}}% } -\date{2021.05.05} +\date{2021.05.06} \begin{document} \maketitle -- cgit v1.2.3