summaryrefslogtreecommitdiff
path: root/info/install-latex-guide-zh-cn/chapter/ubuntu.tex
diff options
context:
space:
mode:
Diffstat (limited to 'info/install-latex-guide-zh-cn/chapter/ubuntu.tex')
-rw-r--r--info/install-latex-guide-zh-cn/chapter/ubuntu.tex10
1 files changed, 7 insertions, 3 deletions
diff --git a/info/install-latex-guide-zh-cn/chapter/ubuntu.tex b/info/install-latex-guide-zh-cn/chapter/ubuntu.tex
index a54b1d882f..12f04a6508 100644
--- a/info/install-latex-guide-zh-cn/chapter/ubuntu.tex
+++ b/info/install-latex-guide-zh-cn/chapter/ubuntu.tex
@@ -165,7 +165,7 @@
\end{lstlisting}
刷新字体缓存.
这样一来, \TeX{} Live 中的字体才能够被正确调用.
-更多内容请参考 \href{https://www.tug.org/texlive/doc/texlive-zh-cn/texlive-zh-cn.pdf}{texlive-zh-cn}.
+更多内容请参考 \href{https://www.tug.org/texlive/doc/texlive-en/texlive-en.pdf}{texlive-en}.
如果用户更改了安装路径,
要注意将
@@ -194,9 +194,13 @@
export MANPATH=~/texlive/2023/texmf-dist/doc/man:$MANPATH
export INFOPATH=~/texlive/2023/texmf-dist/doc/info:$INFOPATH
\end{lstlisting}
-有关字体的处理变为
+有关字体的处理变为\footnote{这里并未使用 \href{https://www.tug.org/texlive/doc/texlive-en/texlive-en.pdf}{texlive-en} 中建议的路径 \texttt{\~/.fonts.conf.d/},
+因为根据 \href{https://www.freedesktop.org/software/fontconfig/fontconfig-user.html}{freedesktop} 的说法,
+该路径已废弃,
+故此处采用新的路径,
+即 \texttt{\$XDG\_CONFIG\_HOME/fontconfig/conf.d}}
\begin{lstlisting}[language=bash]
- cp ~/texlive/2023/texmf-var/fonts/conf/texlive-fontconfig.conf ~/.fonts.conf/09-texlive.conf
+ cp ~/texlive/2023/texmf-var/fonts/conf/texlive-fontconfig.conf $XDG_CONFIG_HOME/fontconfig/conf.d/09-texlive.conf
\end{lstlisting}
然后执行
\begin{lstlisting}[language=bash]