summaryrefslogtreecommitdiff
path: root/info
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2024-03-16 03:02:08 +0000
committerNorbert Preining <norbert@preining.info>2024-03-16 03:02:08 +0000
commit966f9ba332e49c29e961cb86e08f97d70eda51f6 (patch)
treee111edb864721bb0dac9db16b4e41a8a489ea456 /info
parent12679ab7d3c2a210f4123163671b532b8b55d5f9 (diff)
CTAN sync 202403160302
Diffstat (limited to 'info')
-rw-r--r--info/install-latex-guide-zh-cn/appendix/mirror.tex8
-rw-r--r--info/install-latex-guide-zh-cn/appendix/updateinfo.tex6
-rw-r--r--info/install-latex-guide-zh-cn/chapter/editor.tex2
-rw-r--r--info/install-latex-guide-zh-cn/chapter/preface.tex2
-rw-r--r--info/install-latex-guide-zh-cn/chapter/ubuntu.tex92
-rw-r--r--info/install-latex-guide-zh-cn/chapter/windows.tex162
-rw-r--r--info/install-latex-guide-zh-cn/chapter/wsl.tex44
-rw-r--r--info/install-latex-guide-zh-cn/install-latex-guide-zh-cn.pdfbin808706 -> 809654 bytes
8 files changed, 162 insertions, 154 deletions
diff --git a/info/install-latex-guide-zh-cn/appendix/mirror.tex b/info/install-latex-guide-zh-cn/appendix/mirror.tex
index 290f6407ee..2b6cdd401b 100644
--- a/info/install-latex-guide-zh-cn/appendix/mirror.tex
+++ b/info/install-latex-guide-zh-cn/appendix/mirror.tex
@@ -39,6 +39,8 @@
& \url{https://mirrors.huaweicloud.com/CTAN/systems/texlive/}\\
% \href{http://mirrors.hust.edu.cn/}{华中科技大学}
% & \url{http://mirrors.hust.edu.cn/CTAN/systems/texlive/}\\
+ \href{https://mirrors.jlu.edu.cn/}{吉林大学}
+ & \url{https://mirrors.jlu.edu.cn/CTAN/systems/texlive/}\\
\href{https://mirror.lzu.edu.cn/}{兰州大学}
& \url{https://mirror.lzu.edu.cn/CTAN/systems/texlive/}\\
\href{https://mirrors.sustech.edu.cn/}{南方科技大学}
@@ -68,7 +70,7 @@
使用最近的 CTAN 源下载 iso 文件,
实际上是下载
\begin{lstlisting}
- https://mirrors.ctan.org/systems/texlive/Images/texlive2023.iso
+ https://mirrors.ctan.org/systems/texlive/Images/texlive2024.iso
\end{lstlisting}
使用大陆的源下载它,
只需将以上网址中的
@@ -78,14 +80,14 @@
替换为相应的源的地址,
而将
\begin{lstlisting}
- Images/texlive2023.iso
+ Images/texlive2024.iso
\end{lstlisting}
予以保留.
以清华大学为例,
从清华大学源中下载 iso 镜像文件,
实际上是下载
\begin{lstlisting}
- https://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/Images/texlive2023.iso
+ https://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/Images/texlive2024.iso
\end{lstlisting}
同理,
diff --git a/info/install-latex-guide-zh-cn/appendix/updateinfo.tex b/info/install-latex-guide-zh-cn/appendix/updateinfo.tex
index 46f39b4433..18a22f7655 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*{v2024.3.15}
+
+\begin{itemize}
+ \item 更新 \TeX{} Live 2024
+\end{itemize}
+
\section*{v2024.1.1}
\begin{itemize}
diff --git a/info/install-latex-guide-zh-cn/chapter/editor.tex b/info/install-latex-guide-zh-cn/chapter/editor.tex
index 0c55638f74..fdc345d67a 100644
--- a/info/install-latex-guide-zh-cn/chapter/editor.tex
+++ b/info/install-latex-guide-zh-cn/chapter/editor.tex
@@ -449,7 +449,7 @@ Windows 11 中字体列表见%
中添加路径,
默认安装时为
\begin{lstlisting}
- /usr/local/texlive/2023/bin/x86_64-linux
+ /usr/local/texlive/2024/bin/x86_64-linux
\end{lstlisting}
其他设置可参考前文, 这里不再赘述.
diff --git a/info/install-latex-guide-zh-cn/chapter/preface.tex b/info/install-latex-guide-zh-cn/chapter/preface.tex
index b92f8bf725..0a1801ad10 100644
--- a/info/install-latex-guide-zh-cn/chapter/preface.tex
+++ b/info/install-latex-guide-zh-cn/chapter/preface.tex
@@ -7,7 +7,7 @@
实际上,
用户安装的是 \LaTeX{} 的\textbf{发行版}和相关的\textbf{编辑器}.
本文将介绍在\textbf{不存在其他 \LaTeX{} 发行版 (如 C\TeX{} 套装) 的前提下},
-在 Windows 11、Ubuntu 20.04 和 macOS 系统中安装
+在 Windows 11、Ubuntu 22.04 和 macOS 系统中安装
\TeX{}~Live (macOS 中介绍 Mac\TeX)、升级宏包、编译简易文档等相关操作,
并多以介绍命令行操作为主.
有关 MiK\TeX{} 的安装,
diff --git a/info/install-latex-guide-zh-cn/chapter/ubuntu.tex b/info/install-latex-guide-zh-cn/chapter/ubuntu.tex
index d63df63118..2de534b695 100644
--- a/info/install-latex-guide-zh-cn/chapter/ubuntu.tex
+++ b/info/install-latex-guide-zh-cn/chapter/ubuntu.tex
@@ -5,7 +5,7 @@
\section{安装 \TeX{} Live}
这里只阐述如何用镜像安装.
-为使用户顺利使用 \TeX{} Live 2023,
+为使用户顺利使用 \TeX{} Live 2024,
建议用户首先卸载从源内安装的 \TeX{} Live 的相关包,
具体方法见 \ref{sec:ubuntu:uninstall}~节.
为了减少后续字体问题和文本编辑问题,
@@ -20,35 +20,35 @@
均指在 \textsf{Terminal} 中执行相关命令.
下载
-\href{https://mirrors.ctan.org/systems/texlive/Images/texlive2023.iso}{iso 镜像文件}
+\href{https://mirrors.ctan.org/systems/texlive/Images/texlive2024.iso}{iso 镜像文件}
的方法见 \ref{sec:windows:install}~节.
下载完毕后,
验证 MD5 值,
即执行以下命令
\begin{lstlisting}[language = bash]
cd ~/Downloads
- md5sum texlive2023.iso
+ md5sum texlive2024.iso
\end{lstlisting}
若显示
\begin{lstlisting}
- 787f087e71695eebd1caafdb2b286060 texlive2023.iso
+ a54f5524e51267dee37e72e3b3fd31c4 texlive2024.iso
\end{lstlisting}
则镜像文件下载正确.
同样可验证 SHA512 值,
执行
\begin{lstlisting}[language = bash]
cd ~/Downloads
- sha512sum texlive2023.iso
+ sha512sum texlive2024.iso
\end{lstlisting}
正确的返回结果为
\begin{lstlisting}[language=bash,literate={a}{a}{1} {b}{b}{1} {c}{c}{1} {d}{d}{1} {e}{e}{1} {f}{f}{1}]
- 3a78cc59d562a9224543b90318ecb28d3ae7f975c2a031e15304a20b8fb0abac6e0ed63012c0bdf8f5edd39380caf122a17c948c05b28ea38fe90f2f0b19bdba texlive2023.iso
+ 6e3c3470ee5ca903bb5c31f436b018cd2cfbc526c4ca563ccb15959802f8b1a6c0475c58566c1afaba19dc780fd192ac5511818ef5a89828d935c66c62cfcb2a texlive2024.iso
\end{lstlisting}
将下载的光盘镜像进行装载
\begin{lstlisting}[language = bash]
sudo mkdir /mnt/texlive
- sudo mount ./texlive2023.iso /mnt/texlive
+ sudo mount ./texlive2024.iso /mnt/texlive
\end{lstlisting}
接下来执行
\begin{lstlisting}[language = bash]
@@ -58,36 +58,36 @@
在屏幕上应该能见到以下内容
\begin{lstlisting}
======================> TeX Live installation procedure <=====================
-
+
======> Letters/digits in <angle brackets> indicate <=======
======> menu items for actions or customizations <=======
= help> https://tug.org/texlive/doc/install-tl.html <=======
-
+
Detected platform: GNU/Linux on x86_64
-
- <B> set binary platforms: 1 out of 6
-
+
+ <B> set binary platforms: 1 out of 15
+
<S> set installation scheme: scheme-full
-
+
<C> set installation collections:
- 40 collections out of 41, disk space required: 7599 MB
-
+ 40 collections out of 41, disk space required: 8315 MB (free: 974100 MB)
+
<D> set directories:
TEXDIR (the main TeX directory):
- /usr/local/texlive/2023
+ /usr/local/texlive/2024
TEXMFLOCAL (directory for site-wide local files):
/usr/local/texlive/texmf-local
TEXMFSYSVAR (directory for variable and automatically generated data):
- /usr/local/texlive/2023/texmf-var
+ /usr/local/texlive/2024/texmf-var
TEXMFSYSCONFIG (directory for local config):
- /usr/local/texlive/2023/texmf-config
+ /usr/local/texlive/2024/texmf-config
TEXMFVAR (personal directory for variable and automatically generated data):
- ~/.texlive2023/texmf-var
+ ~/.texlive2024/texmf-var
TEXMFCONFIG (personal directory for local config):
- ~/.texlive2023/texmf-config
+ ~/.texlive2024/texmf-config
TEXMFHOME (directory for user-specific files):
~/texmf
-
+
<O> options:
[ ] use letter size instead of A4 by default
[X] allow execution of restricted list of programs via \write18
@@ -96,15 +96,15 @@
[X] install macro/font source tree
[ ] create symlinks to standard directories
[X] after install, set CTAN as source for package updates
-
+
<V> set up for portable installation
-
+
Actions:
<I> start installation to hard disk
<P> save installation profile to 'texlive.profile' and exit
<Q> quit
-
- Enter command:
+
+ Enter command:
\end{lstlisting}
点击键盘 \keys{I} 进行默认安装.
如果用户对于 Ubuntu 系统比较了解,
@@ -130,9 +130,9 @@
在打开的文件末尾添加
\begin{lstlisting}
# Add TeX Live to the PATH, MANPATH, INFOPATH
- export PATH=/usr/local/texlive/2023/bin/x86_64-linux:$PATH
- export MANPATH=/usr/local/texlive/2023/texmf-dist/doc/man:$MANPATH
- export INFOPATH=/usr/local/texlive/2023/texmf-dist/doc/info:$INFOPATH
+ export PATH=/usr/local/texlive/2024/bin/x86_64-linux:$PATH
+ export MANPATH=/usr/local/texlive/2024/texmf-dist/doc/man:$MANPATH
+ export INFOPATH=/usr/local/texlive/2024/texmf-dist/doc/info:$INFOPATH
\end{lstlisting}
并保存退出.
然后退出登录当前用户并重新登录,
@@ -142,9 +142,9 @@
\end{lstlisting}
若显示
\begin{lstlisting}
- TeX 3.141592653 (TeX Live 2023)
- kpathsea version 6.3.5
- Copyright 2023 D.E. Knuth.
+ TeX 3.141592653 (TeX Live 2024)
+ kpathsea version 6.4.0
+ Copyright 2024 D.E. Knuth.
There is NO warranty. Redistribution of this software is
covered by the terms of both the TeX copyright and
the Lesser GNU General Public License.
@@ -157,7 +157,7 @@
接下来处理字体.
在 \textsf{Terminal} 中执行
\begin{lstlisting}[language=bash]
- sudo cp /usr/local/texlive/2023/texmf-var/fonts/conf/texlive-fontconfig.conf /etc/fonts/conf.d/09-texlive.conf
+ sudo cp /usr/local/texlive/2024/texmf-var/fonts/conf/texlive-fontconfig.conf /etc/fonts/conf.d/09-texlive.conf
\end{lstlisting}
将配置文件复制到系统,
然后继续执行
@@ -171,7 +171,7 @@
如果用户更改了安装路径,
要注意将
\begin{lstlisting}
- /usr/local/texlive/2023/
+ /usr/local/texlive/2024/
\end{lstlisting}
在各处替换.
@@ -185,15 +185,15 @@
\end{lstlisting}
只不过这时安装路径需要选择
\begin{lstlisting}[language=bash]
- ~/texlive/2023
+ ~/texlive/2024
\end{lstlisting}
安装完毕后,
继续修改环境变量为
\begin{lstlisting}
# Add TeX Live to the PATH, MANPATH, INFOPATH
- export PATH=~/texlive/2023/bin/x86_64-linux:$PATH
- export MANPATH=~/texlive/2023/texmf-dist/doc/man:$MANPATH
- export INFOPATH=~/texlive/2023/texmf-dist/doc/info:$INFOPATH
+ export PATH=~/texlive/2024/bin/x86_64-linux:$PATH
+ export MANPATH=~/texlive/2024/texmf-dist/doc/man:$MANPATH
+ export INFOPATH=~/texlive/2024/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} 的说法,
@@ -201,7 +201,7 @@
故此处采用新的路径,
即 \texttt{\$XDG\_CONFIG\_HOME/fontconfig/conf.d}}
\begin{lstlisting}[language=bash]
- cp ~/texlive/2023/texmf-var/fonts/conf/texlive-fontconfig.conf $XDG_CONFIG_HOME/fontconfig/conf.d/09-texlive.conf
+ cp ~/texlive/2024/texmf-var/fonts/conf/texlive-fontconfig.conf $XDG_CONFIG_HOME/fontconfig/conf.d/09-texlive.conf
\end{lstlisting}
然后执行
\begin{lstlisting}[language=bash]
@@ -252,8 +252,8 @@
进而通过 \texttt{sudo rm -rf} 命令进行删除.
默认安装的用户直接运行
\begin{lstlisting}[language = bash]
- sudo rm -rf /usr/local/texlive/2023
- rm -rf ~/.texlive2023
+ sudo rm -rf /usr/local/texlive/2024
+ rm -rf ~/.texlive2024
\end{lstlisting}
卸载完成后, 可以进一步移除之前设置的环境变量.
在 \textsf{Terminal} 中执行
@@ -263,9 +263,9 @@
然后移除之前在文件末尾添加的
\begin{lstlisting}
# Add TeX Live to the PATH, MANPATH, INFOPATH
- export PATH=/usr/local/texlive/2023/bin/x86_64-linux:$PATH
- export MANPATH=/usr/local/texlive/2023/texmf-dist/doc/man:$MANPATH
- export INFOPATH=/usr/local/texlive/2023/texmf-dist/doc/info:$INFOPATH
+ export PATH=/usr/local/texlive/2024/bin/x86_64-linux:$PATH
+ export MANPATH=/usr/local/texlive/2024/texmf-dist/doc/man:$MANPATH
+ export INFOPATH=/usr/local/texlive/2024/texmf-dist/doc/info:$INFOPATH
\end{lstlisting}
并保存退出.
同时在 \textsf{Terminal} 中执行
@@ -274,7 +274,7 @@
\end{lstlisting}
在 \texttt{secure\_path} 中删除
\begin{lstlisting}
- /usr/local/texlive/2023/bin/x86_64-linux:
+ /usr/local/texlive/2024/bin/x86_64-linux:
\end{lstlisting}
然后依次 \keys{\ctrl + X}, \keys{Y}, \keys{\enter} 保存退出.
@@ -306,7 +306,7 @@ please get the new TL by doing a new installation instead of proceeding here}.
\end{lstlisting}
\begin{lstlisting}
- /usr/local/texlive/2023/bin/x86_64-linux:
+ /usr/local/texlive/2024/bin/x86_64-linux:
\end{lstlisting}
添加在 \texttt{secure\_path} 中%
\footnote{这里只讨论默认安装的情况}.
@@ -333,7 +333,7 @@ please get the new TL by doing a new installation instead of proceeding here}.
\section{安装宏包}\label{sec:ubuntu:installpackage}
-Ubuntu 22.04 下安装宏包的要求与 Windows 10 下没有多少区别, 只需注意权限, 例如
+Ubuntu 22.04 下安装宏包的要求与 Windows 11 下没有多少区别, 只需注意权限, 例如
\begin{lstlisting}[language = bash]
sudo tlmgr install mcmthesis
\end{lstlisting}
diff --git a/info/install-latex-guide-zh-cn/chapter/windows.tex b/info/install-latex-guide-zh-cn/chapter/windows.tex
index 46710a0923..52c837ef31 100644
--- a/info/install-latex-guide-zh-cn/chapter/windows.tex
+++ b/info/install-latex-guide-zh-cn/chapter/windows.tex
@@ -8,7 +8,7 @@
在文件夹菜单栏 \menu{查看 > 显示} 中选择 \menu{文件扩展名}.
用户可以从最近的 CTAN 源\footnote{这里所谓的最近, 其实是由系统判定的, 实际上系统可能会误判}下载 \TeX{} Live 的
-\href{https://mirrors.ctan.org/systems/texlive/Images/texlive2023.iso}{iso 镜像文件},
+\href{https://mirrors.ctan.org/systems/texlive/Images/texlive2024.iso}{iso 镜像文件},
也可以找大陆地区的源自行下载\footnote{新版本发布时, 各镜像网站同步的进度会有不同}.
通过大陆地区的源下载 iso 文件的方法请参考附录~\ref{chp:appendix:mirror}.
@@ -50,12 +50,12 @@
打开 \textsf{cmd} 窗口依次执行以下代码
\begin{lstlisting}[language = bash]
cd /d X:\Y
- certutil -hashfile texlive2023.iso md5
+ certutil -hashfile texlive2024.iso md5
\end{lstlisting}
若系统显示
\begin{lstlisting}
- MD5 的 texlive2023.iso 哈希:
- 787f087e71695eebd1caafdb2b286060
+ MD5 的 texlive2024.iso 哈希:
+ a54f5524e51267dee37e72e3b3fd31c4
CertUtil: -hashfile 命令成功完成.
\end{lstlisting}
则表明下载的镜像文件正常.
@@ -64,12 +64,12 @@
依然是在 \textsf{cmd} 执行
\begin{lstlisting}[language = bash]
cd /d X:\Y
- certutil -hashfile texlive2023.iso sha512
+ certutil -hashfile texlive2024.iso sha512
\end{lstlisting}
若系统显示
\begin{lstlisting}[language=bash,literate={a}{a}{1} {b}{b}{1} {c}{c}{1} {d}{d}{1} {e}{e}{1} {f}{f}{1}]
- SHA512 的 texlive2023.iso 哈希:
- 3a78cc59d562a9224543b90318ecb28d3ae7f975c2a031e15304a20b8fb0abac6e0ed63012c0bdf8f5edd39380caf122a17c948c05b28ea38fe90f2f0b19bdba
+ SHA512 的 texlive2024.iso 哈希:
+ 6e3c3470ee5ca903bb5c31f436b018cd2cfbc526c4ca563ccb15959802f8b1a6c0475c58566c1afaba19dc780fd192ac5511818ef5a89828d935c66c62cfcb2a
CertUtil: -hashfile 命令成功完成.
\end{lstlisting}
即为验证成功.
@@ -77,7 +77,7 @@
接下来开始安装.
推荐用户先手动建立 \TeX{} Live 的安装路径 (文件夹) 再进行安装,
注意路径的名称是\textbf{不带空格的英文},
-默认路径为 \texttt{C:\textbackslash texlive\textbackslash 2023}.
+默认路径为 \texttt{C:\textbackslash texlive\textbackslash 2024}.
假如系统用了中文作为用户名,
那么用户需要先按照 \ref{sec:chinesename} 节的方法更改临时环境变量后再安装.
将镜像文件装载至虚拟光驱\footnote{Windows 11 默认双击镜像文件便可装载;
@@ -94,56 +94,56 @@
\end{lstlisting}
即可看到如下结果
\begin{lstlisting}
- =====================> TeX Live installation procedure <=====================
-
+ ======================> TeX Live installation procedure <=====================
+
======> Letters/digits in <angle brackets> indicate <=======
======> menu items for actions or customizations <=======
= help> https://tug.org/texlive/doc/install-tl.html <=======
-
- Detected platform: Windows (64-bit)
-
- <B> set binary platforms: 1 out of 6
-
- <S> set installation scheme: scheme-full
-
- <C> set installation collections:
- 41 collections out of 41, disk space required: 7851 MB
-
- <D> set directories:
- TEXDIR (the main TeX directory):
- C:/texlive/2023
- TEXMFLOCAL (directory for site-wide local files):
- C:/texlive/texmf-local
- TEXMFSYSVAR (directory for variable and automatically generated data):
- C:/texlive/2023/texmf-var
- TEXMFSYSCONFIG (directory for local config):
- C:/texlive/2023/texmf-config
- TEXMFVAR (personal directory for variable and automatically generated data):
- ~/.texlive2023/texmf-var
- TEXMFCONFIG (personal directory for local config):
- ~/.texlive2023/texmf-config
- TEXMFHOME (directory for user-specific files):
- ~/texmf
-
- <O> options:
- [ ] use letter size instead of A4 by default
- [X] allow execution of restricted list of programs via \write18
- [X] create all format files
- [X] install macro/font doc tree
- [X] install macro/font source tree
- [X] adjust search path
- [1] add menu items, shortcuts, etc.
- [1] update file associations
- [X] install TeXworks front end
- [X] after install, set CTAN as source for package updates
-
- <V> set up for portable installation
-
+
+ Detected platform: Windows (64-bit)
+
+ <B> set binary platforms: 1 out of 15
+
+ <S> set installation scheme: scheme-full
+
+ <C> set installation collections:
+ 41 collections out of 41, disk space required: 8578 MB (free: 230119 MB)
+
+ <D> set directories:
+ TEXDIR (the main TeX directory):
+ C:/texlive/2024
+ TEXMFLOCAL (directory for site-wide local files):
+ C:/texlive/texmf-local
+ TEXMFSYSVAR (directory for variable and automatically generated data):
+ C:/texlive/2024/texmf-var
+ TEXMFSYSCONFIG (directory for local config):
+ C:/texlive/2024/texmf-config
+ TEXMFVAR (personal directory for variable and automatically generated data):
+ ~/.texlive2024/texmf-var
+ TEXMFCONFIG (personal directory for local config):
+ ~/.texlive2024/texmf-config
+ TEXMFHOME (directory for user-specific files):
+ ~/texmf
+
+ <O> options:
+ [ ] use letter size instead of A4 by default
+ [X] allow execution of restricted list of programs via \write18
+ [X] create all format files
+ [X] install macro/font doc tree
+ [X] install macro/font source tree
+ [X] adjust search path
+ [1] add menu items, shortcuts, etc.
+ [1] update file associations
+ [X] install TeXworks front end
+ [X] after install, set CTAN as source for package updates
+
+ <V> set up for portable installation
+
Actions:
- <I> start installation to hard disk
- <P> save installation profile to 'texlive.profile' and exit
- <Q> quit
-
+ <I> start installation to hard disk
+ <P> save installation profile to 'texlive.profile' and exit
+ <Q> quit
+
Enter command:
\end{lstlisting}
这时, 用户可可直接按键盘 \keys{I} 在默认路径中直接安装 \TeX{} Live,
@@ -153,15 +153,15 @@
==============================================================================
Directories customization:
- <1> TEXDIR: C:/texlive/2023
- main tree: C:/texlive/2023/texmf-dist
+ <1> TEXDIR: C:/texlive/2024
+ main tree: C:/texlive/2024/texmf-dist
<2> TEXMFLOCAL: C:/texlive/texmf-local
- <3> TEXMFSYSVAR: C:/texlive/2023/texmf-var
- <4> TEXMFSYSCONFIG: C:/texlive/2023/texmf-config
+ <3> TEXMFSYSVAR: C:/texlive/2024/texmf-var
+ <4> TEXMFSYSCONFIG: C:/texlive/2024/texmf-config
- <5> TEXMFVAR: ~/.texlive2023/texmf-var
- <6> TEXMFCONFIG: ~/.texlive2023/texmf-config
+ <5> TEXMFVAR: ~/.texlive2024/texmf-var
+ <6> TEXMFCONFIG: ~/.texlive2024/texmf-config
<7> TEXMFHOME: ~/texmf
Note: ~ will expand to %USERPROFILE%
@@ -174,9 +174,9 @@
\end{lstlisting}
这时按键盘 \keys{1}, 将看到
\begin{lstlisting}
- New value for TEXDIR [C:/texlive/2023]:
+ New value for TEXDIR [C:/texlive/2024]:
\end{lstlisting}
-这时可更改路径, 如 \texttt{D:/texlive/2023}.
+这时可更改路径, 如 \texttt{D:/texlive/2024}.
接下来, 按键盘 \keys{R} 即可回到初始的安装界面,
再按键盘 \keys{I} 便可在刚才指定的路径安装.
用户可通过阅读英文执行其他操作, 这里不再赘述.
@@ -192,9 +192,9 @@
\end{lstlisting}
显示
\begin{lstlisting}
- TeX 3.141592653 (TeX Live 2023)
- kpathsea version 6.3.5
- Copyright 2023 D.E. Knuth.
+ TeX 3.141592653 (TeX Live 2024)
+ kpathsea version 6.4.0
+ Copyright 2024 D.E. Knuth.
There is NO warranty. Redistribution of this software is
covered by the terms of both the TeX copyright and
the Lesser GNU General Public License.
@@ -218,14 +218,14 @@
将 \textsf{wget} 所在目录添加到环境变量中.
打开 \textsf{cmd} 窗口执行以下代码
\begin{lstlisting}[language = bash]
- wget http://mirrors.ctan.org/systems/texlive/Images/texlive2023.iso
+ wget http://mirrors.ctan.org/systems/texlive/Images/texlive2024.iso
\end{lstlisting}
即可下载最近的镜像.
类似地,
也可以指定国内的源进行下载,
例如选择清华大学镜像
\begin{lstlisting}[language = bash]
- wget https://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/Images/texlive2023.iso
+ wget https://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/Images/texlive2024.iso
\end{lstlisting}
其他国内镜像只需要将链接替换即可,
链接和方法请参考附录~\ref{chp:appendix:mirror}.
@@ -281,32 +281,32 @@
\footnote{双击或在 \texttt{cmd} 中运行}%
安装路径中的卸载批处理文件即可实现卸载, 如默认安装时执行
\begin{lstlisting}[language=bash]
- C:\texlive\2023\tlpkg\installer\uninst.bat
+ C:\texlive\2024\tlpkg\installer\uninst.bat
\end{lstlisting}
结束以上步骤后,
-手动删除用户文件夹中的 \texttt{.texlive2023}.
+手动删除用户文件夹中的 \texttt{.texlive2024}.
如果用户安装 \TeX{} Live 时需要管理员权限,
那么在卸载时同样需要管理员权限.
卸载后,
用户需要清理注册表
\begin{lstlisting}
- HKEY_CURRENT_USER\Software\Classes\TL.bitmap2eps.convert.2023
- HKEY_CURRENT_USER\Software\Classes\TL.DVIOUT.view.2023
- HKEY_CURRENT_USER\Software\Classes\TL.TeXworks.edit.2023
- HKEY_CURRENT_USER\Software\Classes\TL.PSViewer.view.2023
- HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts\TL.bitmap2eps.convert.2023_.jpg
- HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts\TL.bitmap2eps.convert.2023_.png
- HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts\TL.TeXworks.edit.2023_.sty
- HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts\TL.TeXworks.edit.2023_.tex
+ HKEY_CURRENT_USER\Software\Classes\TL.bitmap2eps.convert.2024
+ HKEY_CURRENT_USER\Software\Classes\TL.DVIOUT.view.2024
+ HKEY_CURRENT_USER\Software\Classes\TL.TeXworks.edit.2024
+ HKEY_CURRENT_USER\Software\Classes\TL.PSViewer.view.2024
+ HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts\TL.bitmap2eps.convert.2024_.jpg
+ HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts\TL.bitmap2eps.convert.2024_.png
+ HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts\TL.TeXworks.edit.2024_.sty
+ HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts\TL.TeXworks.edit.2024_.tex
\end{lstlisting}
但若在安装时使用管理员权限``为所有人安装'',
则注册表位置将变为
\begin{lstlisting}
- HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TL.bitmap2eps.convert.2023
- HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TL.DVIOUT.view.2023
- HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TL.TeXworks.edit.2023
- HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TL.PSViewer.view.2023
+ HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TL.bitmap2eps.convert.2024
+ HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TL.DVIOUT.view.2024
+ HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TL.TeXworks.edit.2024
+ HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TL.PSViewer.view.2024
\end{lstlisting}
\subsection{手动卸载}
diff --git a/info/install-latex-guide-zh-cn/chapter/wsl.tex b/info/install-latex-guide-zh-cn/chapter/wsl.tex
index f2eee01936..d53d141d8d 100644
--- a/info/install-latex-guide-zh-cn/chapter/wsl.tex
+++ b/info/install-latex-guide-zh-cn/chapter/wsl.tex
@@ -14,7 +14,7 @@
在主系统%
\footnote{在 Windows 11 中直接进行的操作即为在主系统中的操作}%
中下载
-\href{https://mirrors.ctan.org/systems/texlive/Images/texlive2023.iso}{iso 镜像文件},
+\href{https://mirrors.ctan.org/systems/texlive/Images/texlive2024.iso}{iso 镜像文件},
可选择国内源以加快下载速度.
下载完毕后, 在 \textsf{cmd} 中验证文件是否正常.
下载及文件验证方法同 \ref{sec:windows:install}~节.
@@ -49,33 +49,33 @@ WSL 已经能够自动完成可视化工作,
在屏幕上应该能见到以下内容
\begin{lstlisting}
======================> TeX Live installation procedure <=====================
-
+
======> Letters/digits in <angle brackets> indicate <=======
======> menu items for actions or customizations <=======
= help> https://tug.org/texlive/doc/install-tl.html <=======
Detected platform: GNU/Linux on x86_64
-
- <B> set binary platforms: 1 out of 6
+
+ <B> set binary platforms: 1 out of 15
<S> set installation scheme: scheme-full
<C> set installation collections:
- 40 collections out of 41, disk space required: 7599 MB
+ 40 collections out of 41, disk space required: 8315 MB (free: 974100 MB)
<D> set directories:
TEXDIR (the main TeX directory):
- /usr/local/texlive/2023
+ /usr/local/texlive/2024
TEXMFLOCAL (directory for site-wide local files):
/usr/local/texlive/texmf-local
TEXMFSYSVAR (directory for variable and automatically generated data):
- /usr/local/texlive/2023/texmf-var
+ /usr/local/texlive/2024/texmf-var
TEXMFSYSCONFIG (directory for local config):
- /usr/local/texlive/2023/texmf-config
+ /usr/local/texlive/2024/texmf-config
TEXMFVAR (personal directory for variable and automatically generated data):
- ~/.texlive2023/texmf-var
+ ~/.texlive2024/texmf-var
TEXMFCONFIG (personal directory for local config):
- ~/.texlive2023/texmf-config
+ ~/.texlive2024/texmf-config
TEXMFHOME (directory for user-specific files):
~/texmf
@@ -95,7 +95,7 @@ WSL 已经能够自动完成可视化工作,
<P> save installation profile to 'texlive.profile' and exit
<Q> quit
- Enter command:
+ Enter command:
\end{lstlisting}
用户直接点击 \keys{I} 使用默认配置安装.
如果用户对于 WSL 比较了解, 可以根据提示, 更改安装设置.
@@ -116,9 +116,9 @@ WSL 已经能够自动完成可视化工作,
在打开的文件末尾添加
\begin{lstlisting}
# Add TeX Live to the PATH, MANPATH, INFOPATH
- export PATH=/usr/local/texlive/2023/bin/x86_64-linux:$PATH
- export MANPATH=/usr/local/texlive/2023/texmf-dist/doc/man:$MANPATH
- export INFOPATH=/usr/local/texlive/2023/texmf-dist/doc/info:$INFOPATH
+ export PATH=/usr/local/texlive/2024/bin/x86_64-linux:$PATH
+ export MANPATH=/usr/local/texlive/2024/texmf-dist/doc/man:$MANPATH
+ export INFOPATH=/usr/local/texlive/2024/texmf-dist/doc/info:$INFOPATH
\end{lstlisting}
并保存退出.
同样,
@@ -130,9 +130,9 @@ WSL 已经能够自动完成可视化工作,
\end{lstlisting}
将显示
\begin{lstlisting}
- TeX 3.141592653 (TeX Live 2023)
- kpathsea version 6.3.5
- Copyright 2023 D.E. Knuth.
+ TeX 3.141592653 (TeX Live 2024)
+ kpathsea version 6.4.0
+ Copyright 2024 D.E. Knuth.
There is NO warranty. Redistribution of this software is
covered by the terms of both the TeX copyright and
the Lesser GNU General Public License.
@@ -146,7 +146,7 @@ WSL 已经能够自动完成可视化工作,
首先将配置文件复制到系统,
在 \textsf{bash} 执行
\begin{lstlisting}[language=bash]
- sudo cp /usr/local/texlive/2023/texmf-var/fonts/conf/texlive-fontconfig.conf /etc/fonts/conf.d/09-texlive.conf
+ sudo cp /usr/local/texlive/2024/texmf-var/fonts/conf/texlive-fontconfig.conf /etc/fonts/conf.d/09-texlive.conf
\end{lstlisting}
然后在 \textsf{bash} 执行
\begin{lstlisting}[language=bash]
@@ -193,9 +193,9 @@ WSL 中的方法同 \ref{sec:ubuntu:installpackage}~节.
\end{lstlisting}
系统返回类似如下内容
\begin{lstlisting}[language=bash]
- /usr/local/texlive/2023/texmf-dist/scripts/texdoc/texdoclib.tlu 4.0.1
+ /usr/local/texlive/2024/texmf-dist/scripts/texdoc/texdoclib.tlu 4.0.1
Configuration file(s):
- active /usr/local/texlive/2023/texmf-dist/texdoc/texdoc.cnf
+ active /usr/local/texlive/2024/texmf-dist/texdoc/texdoc.cnf
Recommended file(s) for personal settings:
/home/osbertwang/texmf/texdoc/texdoc.cnf
\end{lstlisting}
@@ -220,14 +220,14 @@ WSL 中的方法同 \ref{sec:ubuntu:installpackage}~节.
\end{lstlisting}
系统会显示
\begin{lstlisting}
- 1 /usr/local/texlive/2023/texmf-dist/doc/latex/lshort-chinese/lshort-zh-cn.pdf
+ 1 /usr/local/texlive/2024/texmf-dist/doc/latex/lshort-chinese/lshort-zh-cn.pdf
= [zh] The document itself
Enter number of file to view, RET to view 1, anything else to skip:
\end{lstlisting}
这时按其他键 (如 \keys{x}) 退出.
然后分别执行
\begin{lstlisting}[language=bash]
- cd /usr/local/texlive/2023/texmf-dist/doc/latex/lshort-chinese/
+ cd /usr/local/texlive/2024/texmf-dist/doc/latex/lshort-chinese/
explorer.exe .
\end{lstlisting}
主系统的资源管理器便会打开.
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 501e07c9b8..aeef195f73 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