summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-12-01 22:34:55 +0000
committerKarl Berry <karl@freefriends.org>2020-12-01 22:34:55 +0000
commit91f5745db42280034ceb6cf58d6e8d7b22abeb22 (patch)
tree3d6a58c6f4cd726514779ca23aaf8a0bdfadeb35 /Master/texmf-dist/doc/latex/install-latex-guide-zh-cn
parent23a22fccabf9d7ff4a8e952732372004418dcaa8 (diff)
install-latex-guide-zh-cn (1dec20)
git-svn-id: svn://tug.org/texlive/trunk@57044 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/install-latex-guide-zh-cn')
-rw-r--r--Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/appendix/mirror.tex4
-rw-r--r--Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/appendix/updateinfo.tex8
-rw-r--r--Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/editor.tex4
-rw-r--r--Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/ubuntu.tex101
-rw-r--r--Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/wsl.tex5
-rw-r--r--Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/install-latex-guide-zh-cn.pdfbin706699 -> 711253 bytes
-rw-r--r--Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/install-latex-guide-zh-cn.tex1
7 files changed, 70 insertions, 53 deletions
diff --git a/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/appendix/mirror.tex b/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/appendix/mirror.tex
index 47530e52d9c..d4a49aaccb8 100644
--- a/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/appendix/mirror.tex
+++ b/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/appendix/mirror.tex
@@ -9,6 +9,9 @@
很多时候,
用户需要手动选择 CTAN 的源.
目前已搜集到的大陆地区的源见表~\ref{tab:appendix:mirror}.
+在 CTAN 上面,
+也可以找到\href{https://ctan.org/mirrors#Asia}{亚洲镜像列表}%
+和\href{https://ctan.org/mirrors/mirmon#cn}{连接情况}.
接下来简述使用大陆地区的源下载 iso 文件和升级宏包.
\begin{table}
@@ -28,6 +31,7 @@
华中科技大学 & \url{http://mirrors.hust.edu.cn/CTAN/systems/texlive/}\\
重庆大学 & \url{https://mirrors.cqu.edu.cn/CTAN/systems/texlive/}\\
% 东北大学 & \url{https://mirror.neu.edu.cn/CTAN/systems/texlive/}\\
+ 哈尔滨工业大学 & \url{https://mirrors.hit.edu.cn/CTAN/systems/texlive/}\\
兰州大学 & \url{https://mirror.lzu.edu.cn/CTAN/systems/texlive/}\\
腾讯云 & \url{https://mirrors.cloud.tencent.com/CTAN/systems/texlive/}\\
华为云 & \url{https://mirrors.huaweicloud.com/CTAN/systems/texlive/}\\
diff --git a/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/appendix/updateinfo.tex b/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/appendix/updateinfo.tex
index 066d9bbf89a..69dc9b03b2b 100644
--- a/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/appendix/updateinfo.tex
+++ b/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/appendix/updateinfo.tex
@@ -2,6 +2,14 @@
\chapter{版本信息}
+\section*{v2020.12.1}
+
+\begin{enumerate}
+ \item 更新哈工大源
+ \item 添加 CTAN 镜像列表和连接情况网址
+ \item 调整 Ubuntu 和 WSL 字体相关内容
+\end{enumerate}
+
\section*{v2020.11.1}
\begin{enumerate}
diff --git a/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/editor.tex b/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/editor.tex
index 9de836c4918..9e7825dbc35 100644
--- a/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/editor.tex
+++ b/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/editor.tex
@@ -356,8 +356,8 @@ Windows 10 中字体列表见%
以此在 \textsf{Terminal} 中执行
\begin{lstlisting}[language = bash]
sudo add-apt-repository ppa:sunderme/texstudio
- sudo apt-get update
- sudo apt-get install texstudio
+ sudo apt update
+ sudo apt install texstudio
\end{lstlisting}
鉴于网络原因,
直接从 PPA 下载容易丢包.
diff --git a/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/ubuntu.tex b/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/ubuntu.tex
index ce4fa2532ac..2da256d6c8e 100644
--- a/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/ubuntu.tex
+++ b/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/ubuntu.tex
@@ -160,6 +160,55 @@
\end{lstlisting}
在各处替换.
+\subsection{\texttt{fc-cache} 无法执行}
+
+这种情况往往是缺少了 fontconfig,
+用户可以在命令行中执行以下命令安装
+\begin{lstlisting}[language=bash]
+ sudo apt install fontconfig
+\end{lstlisting}
+
+为提升安装速度, 可考虑更换 Ubuntu 源, 例如更换至清华大学.
+在 \textsf{Terminal} 中执行
+\begin{lstlisting}[language = bash]
+ sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
+\end{lstlisting}
+备份 \texttt{sources.list} 文件.
+接下来执行
+\begin{lstlisting}[language = bash]
+ sudo gedit /etc/apt/sources.list
+\end{lstlisting}
+将文件替换为以下内容%
+\footnote{本段文字可至%
+ \href{https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/}{清华大学镜像网站}%
+ 获取}
+\begin{lstlisting}
+ # 默认注释了源码镜像以提高 apt update 速度, 如有需要可自行取消注释
+ deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal main restricted universe multiverse
+ # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal main restricted universe multiverse
+ deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-updates main restricted universe multiverse
+ # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-updates main restricted universe multiverse
+ deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-backports main restricted universe multiverse
+ # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-backports main restricted universe multiverse
+ deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-security main restricted universe multiverse
+ # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-security main restricted universe multiverse
+
+ # 预发布软件源, 不建议启用
+ # deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-proposed main restricted universe multiverse
+ # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-proposed main restricted universe multiverse
+\end{lstlisting}
+然后执行
+\begin{lstlisting}[language=bash]
+ sudo apt update && sudo apt upgrade
+\end{lstlisting}
+换源并更新.
+若更改错误,
+可执行
+\begin{lstlisting}[language=bash]
+ sudo cp /etc/apt/sources.list.bak /etc/apt/sources.list
+\end{lstlisting}
+恢复文件.
+
\section{卸载 \TeX{} Live}\label{sec:ubuntu:uninstall}
下面提供几种卸载方法,
@@ -170,7 +219,7 @@
如果要卸载从源内安装的 \TeX{} Live, 个人比较推荐使用 synaptic package manager.
\textsf{terminal} 中执行
\begin{lstlisting}[language = bash]
- sudo apt-get install synaptic
+ sudo apt install synaptic
\end{lstlisting}
即可安装.
安装后打开, 搜索 \textsf{texlive} 即可看到与之相关的包, 右键标记以删除即可.
@@ -180,12 +229,12 @@
\end{lstlisting}
找到相应的包名 \texttt{<package name>}, 之后使用类似
\begin{lstlisting}[language = bash]
- sudo apt-get remove --purge <package name>
+ sudo apt remove --purge <package name>
\end{lstlisting}
的命令删除各个包.
删除时系统会提示使用
\begin{lstlisting}[language = bash]
- sudo apt-get autoremove <package name>
+ sudo apt autoremove <package name>
\end{lstlisting}
来删除相应的依赖包.
@@ -285,7 +334,6 @@ Ubuntu 20.04 下安装宏包的要求与 Windows 10 下没有多少区别, 只
\texttt{lshort-zh-cn.pdf}
或本手册.
-
\section{编译文件}
首先, 用户需要在工作路径建立一个 \texttt{tex} 文件.
@@ -340,49 +388,8 @@ Ubuntu 20.04 下安装宏包的要求与 Windows 10 下没有多少区别, 只
\subsection{无法使用 \texttt{xelatex} 命令}\label{subsec:ubuntu:xelatexfail}
有些用户反映安装完毕后无法使用 \texttt{xelatex} 命令.
-这或许是因为缺失 libfontconfig , 用户可在命令行中执行
+这或许是因为缺失 libfontconfig, 用户可在命令行中执行
\begin{lstlisting}[language=bash]
- sudo apt-get install libfontconfig1
+ sudo apt install libfontconfig1
\end{lstlisting}
进行安装.
-
-为提升安装速度, 可考虑更换 Ubuntu 源, 例如更换至清华大学.
-在 \textsf{Terminal} 中执行
-\begin{lstlisting}[language = bash]
- sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
-\end{lstlisting}
-备份 \texttt{sources.list} 文件.
-接下来执行
-\begin{lstlisting}[language = bash]
- sudo gedit /etc/apt/sources.list
-\end{lstlisting}
-将文件替换为以下内容%
-\footnote{本段文字可至%
- \href{https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/}{清华大学镜像网站}%
- 获取}
-\begin{lstlisting}
- # 默认注释了源码镜像以提高 apt update 速度, 如有需要可自行取消注释
- deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal main restricted universe multiverse
- # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal main restricted universe multiverse
- deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-updates main restricted universe multiverse
- # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-updates main restricted universe multiverse
- deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-backports main restricted universe multiverse
- # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-backports main restricted universe multiverse
- deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-security main restricted universe multiverse
- # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-security main restricted universe multiverse
-
- # 预发布软件源, 不建议启用
- # deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-proposed main restricted universe multiverse
- # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-proposed main restricted universe multiverse
-\end{lstlisting}
-然后执行
-\begin{lstlisting}[language = bash]
- sudo apt-get update && sudo apt-get upgrade
-\end{lstlisting}
-换源并更新.
-若更改错误,
-可执行
-\begin{lstlisting}[language=bash]
- sudo cp /etc/apt/sources.list.bak /etc/apt/sources.list
-\end{lstlisting}
-恢复文件.
diff --git a/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/wsl.tex b/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/wsl.tex
index 82d4c4e45f3..08181a019be 100644
--- a/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/wsl.tex
+++ b/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/wsl.tex
@@ -22,9 +22,8 @@
在正式安装前,
用户需要在 \textsf{bash} 中执行
\begin{lstlisting}[language=bash]
- sudo apt-get install libfontconfig1
- sudo apt-get install ttf-mscorefonts-installer
- sudo apt-get install fontconfig
+ sudo apt install fontconfig
+ sudo apt install ttf-mscorefonts-installer
\end{lstlisting}
这些命令是为了处理日后使用中可能出现的字体问题.
为避免安装速度过慢,
diff --git a/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/install-latex-guide-zh-cn.pdf b/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/install-latex-guide-zh-cn.pdf
index f29080aaa20..33449bc5265 100644
--- a/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/install-latex-guide-zh-cn.pdf
+++ b/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/install-latex-guide-zh-cn.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/install-latex-guide-zh-cn.tex b/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/install-latex-guide-zh-cn.tex
index 11c7aba1d3d..ed3c3e2a73f 100644
--- a/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/install-latex-guide-zh-cn.tex
+++ b/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/install-latex-guide-zh-cn.tex
@@ -1,4 +1,3 @@
-\RequirePackage[2020-02-02]{latexrelease}
\documentclass[fontset=fandol]{ctexrep}
\usepackage{accsupp}
\usepackage[margin=2.4cm]{geometry}