From dbcf773aae64f338b45a3d4697da3c2891e8266e Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 31 Aug 2023 21:39:43 +0000 Subject: install-latex-guide-zh-cn (31aug23) git-svn-id: svn://tug.org/texlive/trunk@68122 c570f23f-e606-0410-a88d-b1316a301751 --- .../doc/latex/install-latex-guide-zh-cn/chapter/ubuntu.tex | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/ubuntu.tex') diff --git a/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/ubuntu.tex b/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/ubuntu.tex index a54b1d882f8..12f04a65086 100644 --- a/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/ubuntu.tex +++ b/Master/texmf-dist/doc/latex/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] -- cgit v1.2.3