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

commits+karl at tug.org commits+karl at tug.org
Sun Nov 1 22:58:40 CET 2020


Revision: 56831
          http://tug.org/svn/texlive?view=revision&revision=56831
Author:   karl
Date:     2020-11-01 22:58:40 +0100 (Sun, 01 Nov 2020)
Log Message:
-----------
install-latex-guide-zh-cn (1nov20)

Modified Paths:
--------------
    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/overleaf.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/windows.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/updateinfo.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/appendix/updateinfo.tex	2020-11-01 21:58:21 UTC (rev 56830)
+++ trunk/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/appendix/updateinfo.tex	2020-11-01 21:58:40 UTC (rev 56831)
@@ -2,6 +2,14 @@
 
 \chapter{版本信息}
 
+\section*{v2020.11.1}
+
+\begin{enumerate}
+  \item Overleaf 后台更新为 \TeX Live 2020
+  \item 补充卸载方法
+  \item 补充 PPA 反向代理安装 \TeX Studio 的方法
+\end{enumerate}
+
 \section*{v2020.10.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-11-01 21:58:21 UTC (rev 56830)
+++ trunk/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/editor.tex	2020-11-01 21:58:40 UTC (rev 56831)
@@ -359,6 +359,31 @@
   sudo apt-get update
   sudo apt-get install texstudio
 \end{lstlisting}
+鉴于网络原因,
+直接从 PPA 下载容易丢包.
+这里介绍中科大的\href{https://lug.ustc.edu.cn/wiki/mirrors/help/revproxy/}{反向镜像},
+将
+\begin{lstlisting}[language = bash]
+  /etc/apt/sources.list.d/
+\end{lstlisting}
+中文件的内容
+\begin{lstlisting}
+  http(s)://ppa.launchpad.net
+\end{lstlisting}
+改为
+\begin{lstlisting}
+  https://launchpad.proxy.ustclug.org
+\end{lstlisting}
+而后再
+\begin{lstlisting}[language = bash]
+  sudo apt update
+\end{lstlisting}
+即完成换源.
+有时地址太多而逐个换太麻烦,
+可以直接使用如下命令直接替换\footnote{参见 \url{https://mogeko.me/2018/035/}}
+\begin{lstlisting}[language = bash]
+  sudo find /etc/apt/sources.list.d/ -type f -name "*.list" -exec  sed  -i.bak -r  's#deb(-src)?\s*http(s)?://ppa.launchpad.net#deb\1 https\2://launchpad.proxy.ustclug.org#ig' {} \;
+\end{lstlisting}
 
 安装完毕后,
 用户可以在 \textsf{Terminal} 中执行

Modified: trunk/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/overleaf.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/overleaf.tex	2020-11-01 21:58:21 UTC (rev 56830)
+++ trunk/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/overleaf.tex	2020-11-01 21:58:40 UTC (rev 56831)
@@ -14,8 +14,8 @@
 Overleaf 提供了包括%
 \href{https://cn.overleaf.com}{中文}%
 在内的多种语言供用户使用.
-2020年1月23日,
-\href{https://www.overleaf.com/blog/tex-live-2019-upgrade-january-2020}{它将后台的 \TeX{} Live 升级为 2019 版本},
+2020年10月6日,
+\href{https://www.overleaf.com/blog/tex-live-2020-now-available}{它将后台的 \TeX{} Live 升级为 2020 版本},
 同时,
 \href{https://www.overleaf.com/blog/new-feature-select-your-tex-live-compiler-version}{Overleaf 还允许用户自主选择项目中的 \TeX{} Live 版本}.
 

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-11-01 21:58:21 UTC (rev 56830)
+++ trunk/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/ubuntu.tex	2020-11-01 21:58:40 UTC (rev 56831)
@@ -105,7 +105,7 @@
 安装完毕后, 将挂载的光盘镜像弹出并删除文件夹
 \begin{lstlisting}[language = bash]
   sudo umount /mnt/texlive
-  sudo rm /mnt/texlive
+  sudo rm -r /mnt/texlive
 \end{lstlisting}
 
 安装完成后, 用户需要设置环境变量.
@@ -162,6 +162,11 @@
 
 \section{卸载 \TeX{} Live}\label{sec:ubuntu:uninstall}
 
+下面提供几种卸载方法,
+卸载后需注意清理环境变量.
+
+\subsection{卸载源内的版本}
+
 如果要卸载从源内安装的 \TeX{} Live, 个人比较推荐使用 synaptic package manager.
 \textsf{terminal} 中执行
 \begin{lstlisting}[language = bash]
@@ -184,6 +189,8 @@
 \end{lstlisting}
 来删除相应的依赖包.
 
+\subsection{手动卸载}
+
 如果是从光盘镜像安装,
 直接删除文件夹即可.
 先在\textsf{terminal} 中执行
@@ -197,8 +204,16 @@
   sudo rm -rf /usr/local/texlive/2020
   rm -rf ~/.texlive2020
 \end{lstlisting}
-当然删除后还要清理掉环境变量.
 
+\subsection{使用 \texttt{tlmgr} 工具}
+
+同样,
+用户也可以使用 \texttt{tlmgr} 工具卸载%
+\footnote{\texttt{sudo tlmgr} 无法使用的情况可以参考 \ref{sec:ubuntu:update}~节 解决},
+\begin{lstlisting}[language=bash]
+  sudo tlmgr remove --all
+\end{lstlisting}
+
 \section{跨版本升级 \TeX{} Live}\label{sec:ubuntu:version}
 
 在 \href{https://www.tug.org/texlive/upgrade.html}{tug.org}

Modified: trunk/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/windows.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/windows.tex	2020-11-01 21:58:21 UTC (rev 56830)
+++ trunk/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/windows.tex	2020-11-01 21:58:40 UTC (rev 56831)
@@ -251,6 +251,10 @@
 \section{卸载 \TeX{} Live}
 
 在跨版本升级 \TeX{} Live 时, 通常需要卸载旧版 \TeX{} Live.
+下面介绍几种卸载方法.
+
+\subsection{使用批处理文件}
+
 在命令行执行
 \begin{lstlisting}[language=bash]
   kpsewhich -var-value TEXMFROOT
@@ -274,6 +278,15 @@
 如果用户安装 \TeX{} Live 时需要管理员权限,
 那么在卸载时同样需要管理员权限.
 
+\subsection{使用 \texttt{tlmgr} 工具}
+
+直接使用 \texttt{tlmgr} 工具卸载也可以.
+在命令行中执行
+\begin{lstlisting}[language=bash]
+  tlmgr remove --all
+\end{lstlisting}
+即可.
+
 \subsection{手动卸载}
 
 如果执行批处理文件 \texttt{uninst.bat} 出错,

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-11-01 21:58:21 UTC (rev 56830)
+++ trunk/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/wsl.tex	2020-11-01 21:58:40 UTC (rev 56831)
@@ -159,19 +159,7 @@
 
 \section{卸载 \TeX{} Live}
 
-直接删除文件夹即可.
-先在 \textsf{bash} 中执行
-\begin{lstlisting}[language = bash]
-  kpsewhich -var-value TEXMFROOT
-\end{lstlisting}
-来查询安装路径,
-进而通过 \texttt{sudo rm -rf} 进行删除.
-默认安装的用户直接运行
-\begin{lstlisting}[language = bash]
-  sudo rm -rf /usr/local/texlive/2020
-  rm -rf ~/.texlive2020
-\end{lstlisting}
-当然删除后还要清理掉环境变量.
+WSL 中的方法同 \ref{sec:ubuntu:uninstall}~节.
 
 \section{跨版本升级 \TeX{} Live}
 

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-11-01 21:58:21 UTC (rev 56830)
+++ trunk/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/install-latex-guide-zh-cn.tex	2020-11-01 21:58:40 UTC (rev 56831)
@@ -1,3 +1,4 @@
+\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.