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

commits+karl at tug.org commits+karl at tug.org
Sat Oct 2 00:02:32 CEST 2021


Revision: 60672
          http://tug.org/svn/texlive?view=revision&revision=60672
Author:   karl
Date:     2021-10-02 00:02:32 +0200 (Sat, 02 Oct 2021)
Log Message:
-----------
install-latex-guide-zh-cn (2oct21)

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/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

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	2021-10-01 22:02:17 UTC (rev 60671)
+++ trunk/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/appendix/updateinfo.tex	2021-10-01 22:02:32 UTC (rev 60672)
@@ -2,6 +2,12 @@
 
 \chapter{版本信息}
 
+\section*{v2021.10.1}
+
+\begin{enumerate}
+  \item 添加 ubuntu 和 WSL 在用户文件夹安装的相关内容
+\end{enumerate}
+
 \section*{v2021.8.1}
 
 \begin{enumerate}

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	2021-10-01 22:02:17 UTC (rev 60671)
+++ trunk/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/ubuntu.tex	2021-10-01 22:02:32 UTC (rev 60672)
@@ -160,6 +160,38 @@
 \end{lstlisting}
 在各处替换.
 
+\subsection{在用户文件夹安装}\label{subsec:ubuntu-user-folder}
+
+如果有用户打算在用户文件夹安装 \TeX{} Live,
+那么可以不必调用权限,
+直接执行
+\begin{lstlisting}[language=bash]
+  /mnt/texlive/install-tl
+\end{lstlisting}
+只不过这时安装路径需要选择
+\begin{lstlisting}[language=bash]
+  ~/texlive/2021
+\end{lstlisting}
+安装完毕后,
+继续修改环境变量为
+\begin{lstlisting}
+  # Add TeX Live to the PATH, MANPATH, INFOPATH
+  export PATH=~/texlive/2021/bin/x86_64-linux:$PATH
+  export MANPATH=~/texlive/2021/texmf-dist/doc/man:$MANPATH
+  export INFOPATH=~/texlive/2021/texmf-dist/doc/info:$INFOPATH
+\end{lstlisting}
+有关字体的处理变为
+\begin{lstlisting}[language=bash]
+  cp ~/texlive/2021/texmf-var/fonts/conf/texlive-fontconfig.conf ~/.fonts.conf/09-texlive.conf
+\end{lstlisting}
+然后执行
+\begin{lstlisting}[language=bash]
+  fc-cache -fv
+\end{lstlisting}
+实际上,
+无论将 \TeX{} Live 安装到哪里,
+字体的配置文件都可以仿照上面只复制于用户文件夹中.
+
 \subsection{\texttt{fc-cache} 无法执行}\label{subsec:fc-cache}
 
 这种情况往往是缺少了 fontconfig,

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	2021-10-01 22:02:17 UTC (rev 60671)
+++ trunk/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/wsl.tex	2021-10-01 22:02:32 UTC (rev 60672)
@@ -156,6 +156,12 @@
 \end{lstlisting}
 刷新字体缓存.
 
+\subsection{在用户文件夹安装}
+
+WSL 同样也可以在用户文件夹中安装,
+它的用户文件夹往往在主系统的系统盘中.
+具体过程也可以参考第~\ref{subsec:ubuntu-user-folder}~节.
+
 \section{卸载 \TeX{} Live}
 
 WSL 中的方法同 \ref{sec:ubuntu:uninstall}~节.

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



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