summaryrefslogtreecommitdiff
path: root/info
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-10-02 03:03:32 +0000
committerNorbert Preining <norbert@preining.info>2021-10-02 03:03:32 +0000
commitac5a96ddb02c62d71eb214ed35e3be9a154d991f (patch)
treecdf35312568ce6b2b69e7374745ddafdd3e3c66b /info
parent569e4d488d3398f8ed12807dd67e2b301b7447d5 (diff)
CTAN sync 202110020303
Diffstat (limited to 'info')
-rw-r--r--info/install-latex-guide-zh-cn/appendix/updateinfo.tex6
-rw-r--r--info/install-latex-guide-zh-cn/chapter/ubuntu.tex32
-rw-r--r--info/install-latex-guide-zh-cn/chapter/wsl.tex6
-rw-r--r--info/install-latex-guide-zh-cn/install-latex-guide-zh-cn.pdfbin744469 -> 747376 bytes
4 files changed, 44 insertions, 0 deletions
diff --git a/info/install-latex-guide-zh-cn/appendix/updateinfo.tex b/info/install-latex-guide-zh-cn/appendix/updateinfo.tex
index 7debec6c3a..f88a3d9ab6 100644
--- a/info/install-latex-guide-zh-cn/appendix/updateinfo.tex
+++ b/info/install-latex-guide-zh-cn/appendix/updateinfo.tex
@@ -2,6 +2,12 @@
\chapter{版本信息}
+\section*{v2021.10.1}
+
+\begin{enumerate}
+ \item 添加 ubuntu 和 WSL 在用户文件夹安装的相关内容
+\end{enumerate}
+
\section*{v2021.8.1}
\begin{enumerate}
diff --git a/info/install-latex-guide-zh-cn/chapter/ubuntu.tex b/info/install-latex-guide-zh-cn/chapter/ubuntu.tex
index 5f3dd174e1..1634ed85d9 100644
--- a/info/install-latex-guide-zh-cn/chapter/ubuntu.tex
+++ b/info/install-latex-guide-zh-cn/chapter/ubuntu.tex
@@ -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,
diff --git a/info/install-latex-guide-zh-cn/chapter/wsl.tex b/info/install-latex-guide-zh-cn/chapter/wsl.tex
index cbb5787095..da388c34ab 100644
--- a/info/install-latex-guide-zh-cn/chapter/wsl.tex
+++ b/info/install-latex-guide-zh-cn/chapter/wsl.tex
@@ -156,6 +156,12 @@
\end{lstlisting}
刷新字体缓存.
+\subsection{在用户文件夹安装}
+
+WSL 同样也可以在用户文件夹中安装,
+它的用户文件夹往往在主系统的系统盘中.
+具体过程也可以参考第~\ref{subsec:ubuntu-user-folder}~节.
+
\section{卸载 \TeX{} Live}
WSL 中的方法同 \ref{sec:ubuntu:uninstall}~节.
diff --git a/info/install-latex-guide-zh-cn/install-latex-guide-zh-cn.pdf b/info/install-latex-guide-zh-cn/install-latex-guide-zh-cn.pdf
index c6ad66c4b0..4e09d4ad5c 100644
--- a/info/install-latex-guide-zh-cn/install-latex-guide-zh-cn.pdf
+++ b/info/install-latex-guide-zh-cn/install-latex-guide-zh-cn.pdf
Binary files differ