Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
升级texlive-latexextra-2021
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese)
View previous topic :: View next topic  
Author Message
emtone
n00b
n00b


Joined: 11 Apr 2017
Posts: 36

PostPosted: Sun Jan 16, 2022 4:26 am    Post subject: 升级texlive-latexextra-2021 Reply with quote

emerge -av llvm时需要升级这个 报错:
I can’t fiind file `expl3-code.tex`
到目录/usr/share/texmf-dist/tex/latex/l3kernel/下确实缺少expl3-code.tex文件
从https://mirrors.tuna.tsinghua.edu.cn/CTAN/install/macros/latex/contrib/l3kernel.tds.zip下载最新的l3kernel替换到/usr/share/texmf-dist/tex/latex/
cd /usr/share/texmf-dist/tex/latex/l3kernel/
vi expl3.ltx
在{\input expl3-code.tex }%的位置加上绝对路径改为:
{\input /usr/share/texmf-dist/tex/latex/l3kernel/expl3-code.tex }%
再次emerge时候报错找不到expl3模块
确保/usr/share/texmf-dist/tex/latex/l3kernel/expl3.lua存在
vi expl3-code.tex
在\directlua{require(expl3)}%中加入绝对路径:
\directlua{require(/usr/share/texmf-dist/tex/latex/l3kernel/expl3)}%
再次emerge成功
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum