texlive[57044] Master/texmf-dist/doc/latex/install-latex-guide-zh-cn:

commits+karl at tug.org commits+karl at tug.org
Tue Dec 1 23:34:55 CET 2020


Revision: 57044
          http://tug.org/svn/texlive?view=revision&revision=57044
Author:   karl
Date:     2020-12-01 23:34:55 +0100 (Tue, 01 Dec 2020)
Log Message:
-----------
install-latex-guide-zh-cn (1dec20)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/appendix/mirror.tex
    trunk/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/appendix/updateinfo.tex
    trunk/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/editor.tex
    trunk/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/ubuntu.tex
    trunk/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/wsl.tex
    trunk/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/install-latex-guide-zh-cn.pdf
    trunk/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/install-latex-guide-zh-cn.tex

Modified: trunk/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/appendix/mirror.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/appendix/mirror.tex	2020-12-01 22:34:41 UTC (rev 57043)
+++ trunk/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/appendix/mirror.tex	2020-12-01 22:34:55 UTC (rev 57044)
@@ -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/}\\

Modified: trunk/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/appendix/updateinfo.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/appendix/updateinfo.tex	2020-12-01 22:34:41 UTC (rev 57043)
+++ trunk/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/appendix/updateinfo.tex	2020-12-01 22:34:55 UTC (rev 57044)
@@ -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}

Modified: trunk/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/editor.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/editor.tex	2020-12-01 22:34:41 UTC (rev 57043)
+++ trunk/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/editor.tex	2020-12-01 22:34:55 UTC (rev 57044)
@@ -356,8 +356,8 @@
 以此在 \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 下载容易丢包.

Modified: trunk/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/ubuntu.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/ubuntu.tex	2020-12-01 22:34:41 UTC (rev 57043)
+++ trunk/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/ubuntu.tex	2020-12-01 22:34:55 UTC (rev 57044)
@@ -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 @@
 \texttt{lshort-zh-cn.pdf}
 或本手册.
 
-
 \section{编译文件}
 
 首先, 用户需要在工作路径建立一个 \texttt{tex} 文件.
@@ -340,49 +388,8 @@
 \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}
-恢复文件.

Modified: trunk/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/wsl.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/wsl.tex	2020-12-01 22:34:41 UTC (rev 57043)
+++ trunk/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/wsl.tex	2020-12-01 22:34:55 UTC (rev 57044)
@@ -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}
 这些命令是为了处理日后使用中可能出现的字体问题.
 为避免安装速度过慢,

Modified: trunk/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/install-latex-guide-zh-cn.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/install-latex-guide-zh-cn.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/install-latex-guide-zh-cn.tex	2020-12-01 22:34:41 UTC (rev 57043)
+++ trunk/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/install-latex-guide-zh-cn.tex	2020-12-01 22:34:55 UTC (rev 57044)
@@ -1,4 +1,3 @@
-\RequirePackage[2020-02-02]{latexrelease}
 \documentclass[fontset=fandol]{ctexrep}
 \usepackage{accsupp}
 \usepackage[margin=2.4cm]{geometry}



More information about the tex-live-commits mailing list.