summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/ubuntu.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-08-31 21:39:43 +0000
committerKarl Berry <karl@freefriends.org>2023-08-31 21:39:43 +0000
commitdbcf773aae64f338b45a3d4697da3c2891e8266e (patch)
tree7b8bb85edb420f777c6ea3c00b5731032f6a602a /Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/ubuntu.tex
parent6142297d7a938c1f1e114cb7e69671f92197c210 (diff)
install-latex-guide-zh-cn (31aug23)
git-svn-id: svn://tug.org/texlive/trunk@68122 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/ubuntu.tex')
-rw-r--r--Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/chapter/ubuntu.tex10
1 files changed, 7 insertions, 3 deletions
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]