Elsevier上传手稿报错 Loading ‘expl3.sty‘ aborted!

当常规步骤无法解决‘expl3.sty’加载失败的问题时,作者发现了一个非标准的解决策略。通过在上传的文件和图片中设置特定的自定义标签,如manuscript和Figure,原本报错的上传在尝试第三次时成功了。尽管原因不明,但这个方法可能对遇到类似问题的用户有所帮助。

一般报错可以首先参考这篇 https://blog.youkuaiyun.com/zhangle_zhang9/article/details/128576596

如果上面的文章没有解决问题,例如,我根据以上文章的步骤上传手稿后,居然出现了Loading ‘expl3.sty’ aborted!

那么存在一个非常玄学的解决方案:

上传到手稿的文件,后面有一个可以自定义的标签,全部填写:manuscript

上传的图片文件,在自定义标签中全部填写:Figure

不清楚原理是什么… 构建了两次都报错,这两次手稿和图片的标签栏都没填写,或者填写的不是以上内容。第三次抱着试试的心态,居然成功了…

PS C:\Users\Administrator\Desktop\Titlelabel1> xelatex TD3.tex This is XeTeX, Version 3.141592653-2.6-0.999997 (TeX Live 2025) (preloaded format=xelatex) restricted \write18 enabled. entering extended mode (./TD3.tex LaTeX2e <2024-11-01> patch level 2 L3 programming layer <2025-01-18> (c:/texlive/2025/texmf-dist/tex/latex/elsarticle/elsarticle.cls Document Class: elsarticle 2025/01/11, 3.4c: Elsevier Ltd (c:/texlive/2025/texmf-dist/tex/latex/base/fontenc.sty (c:/texlive/2025/texmf-dist/tex/latex/lm/t1lmr.fd)) (c:/texlive/2025/texmf-dist/tex/latex/l3kernel/expl3.sty (c:/texlive/2025/texmf-dist/tex/latex/l3backend/l3backend-xetex.def)) (c:/texlive/2025/texmf-dist/tex/latex/l3packages/xparse/xparse.sty) (c:/texlive/2025/texmf-dist/tex/latex/etoolbox/etoolbox.sty) (c:/texlive/2025/texmf-dist/tex/latex/base/article.cls Document Class: article 2024/06/29 v1.4n Standard LaTeX document class (c:/texlive/2025/texmf-dist/tex/latex/base/size10.clo)) (c:/texlive/2025/texmf-dist/tex/latex/graphics/graphicx.sty (c:/texlive/2025/texmf-dist/tex/latex/graphics/keyval.sty) (c:/texlive/2025/texmf-dist/tex/latex/graphics/graphics.sty (c:/texlive/2025/texmf-dist/tex/latex/graphics/trig.sty) (c:/texlive/2025/texmf-dist/tex/latex/graphics-cfg/graphics.cfg) (c:/texlive/2025/texmf-dist/tex/latex/graphics-def/xetex.def))) (./TD3.spl) (c:/texlive/2025/texmf-dist/tex/latex/natbib/natbib.sty) (c:/texlive/2025/texmf-dist/tex/latex/geometry/geometry.sty (c:/texlive/2025/texmf-dist/tex/generic/iftex/ifvtex.sty (c:/texlive/2025/texmf-dist/tex/generic/iftex/iftex.sty))) (c:/texlive/2025/texmf-dist/tex/latex/base/fleqn.clo)) (c:/texlive/2025/texmf-dist/tex/latex/txfonts/txfonts.sty) (c:/texlive/2025/texmf-dist/tex/latex/amsfonts/amssymb.sty (c:/texlive/2025/texmf-dist/tex/latex/amsfonts/amsfonts.sty)) (c:/texlive/2025/texmf-dist/tex/latex/lipsum/lipsum.sty (c:/texlive/2025/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2e.sty) (c:/texlive/2025/texmf-dist/tex/latex/lipsum/lipsum.ltd.tex)) (c:/texlive/2025/texmf-dist/tex/latex/doi/doi.sty (c:/texlive/2025/texmf-dist/tex/latex/hyperref/hyperref.sty (c:/texlive/2025/texmf-dist/tex/latex/kvsetkeys/kvsetkeys.sty) (c:/texlive/2025/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty) (c:/texlive/2025/texmf-dist/tex/generic/pdfescape/pdfescape.sty (c:/texlive/2025/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty) (c:/texlive/2025/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.sty (c:/texlive/2025/texmf-dist/tex/generic/infwarerr/infwarerr.sty))) (c:/texlive/2025/texmf-dist/tex/latex/hycolor/hycolor.sty) (c:/texlive/2025/texmf-dist/tex/latex/hyperref/nameref.sty (c:/texlive/2025/texmf-dist/tex/latex/refcount/refcount.sty) (c:/texlive/2025/texmf-dist/tex/generic/gettitlestring/gettitlestring.sty (c:/texlive/2025/texmf-dist/tex/latex/kvoptions/kvoptions.sty))) (c:/texlive/2025/texmf-dist/tex/generic/stringenc/stringenc.sty) (c:/texlive/2025/texmf-dist/tex/latex/hyperref/pd1enc.def) (c:/texlive/2025/texmf-dist/tex/generic/intcalc/intcalc.sty) (c:/texlive/2025/texmf-dist/tex/latex/hyperref/puenc.def) (c:/texlive/2025/texmf-dist/tex/latex/url/url.sty) (c:/texlive/2025/texmf-dist/tex/generic/bitset/bitset.sty (c:/texlive/2025/texmf-dist/tex/generic/bigintcalc/bigintcalc.sty)) (c:/texlive/2025/texmf-dist/tex/latex/base/atbegshi-ltx.sty)) (c:/texlive/2025/texmf-dist/tex/latex/hyperref/hxetex.def (c:/texlive/2025/texmf-dist/tex/latex/rerunfilecheck/rerunfilecheck.sty (c:/texlive/2025/texmf-dist/tex/latex/base/atveryend-ltx.sty) (c:/texlive/2025/texmf-dist/tex/generic/uniquecounter/uniquecounter.sty)))) (c:/texlive/2025/texmf-dist/tex/latex/ctex/ctex.sty (c:/texlive/2025/texmf-dist/tex/latex/ctex/ctexhook.sty) (c:/texlive/2025/texmf-dist/tex/latex/ctex/ctexpatch.sty) (c:/texlive/2025/texmf-dist/tex/latex/base/fix-cm.sty (c:/texlive/2025/texmf-dist/tex/latex/base/ts1enc.def)) (c:/texlive/2025/texmf-dist/tex/latex/ctex/config/ctexopts.cfg) (c:/texlive/2025/texmf-dist/tex/latex/ctex/engine/ctex-engine-xetex.def (c:/texlive/2025/texmf-dist/tex/xelatex/xecjk/xeCJK.sty (c:/texlive/2025/texmf-dist/tex/latex/l3packages/xtemplate/xtemplate.sty) (c:/texlive/2025/texmf-dist/tex/latex/fontspec/fontspec.sty (c:/texlive/2025/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty (c:/texlive/2025/texmf-dist/tex/latex/base/fontenc.styFontconfig error: Cannot load default co nfig file: No such file: (null) C:/texlive/2025/texmf-var/fonts/cache does not exist. Kpathsea is not working. PS C:\Users\Administrator\Desktop\Titlelabel1>
最新发布
08-29
### Fontconfig 错误(Cannot load default config file: No such file: (null))解决方法 Fontconfig 错误通常是由于 Fontconfig 配置文件缺失或路径问题导致的。以下是一些可能的解决办法: #### 1. 检查 Fontconfig 配置文件 确保系统中存在 Fontconfig 的配置文件。在 Linux 系统中,Fontconfig 的默认配置文件通常位于 `/etc/fonts/fonts.conf`。可以使用以下命令检查该文件是否存在: ```bash ls /etc/fonts/fonts.conf ``` 如果文件不存在,可以尝试重新安装 Fontconfig: ```bash # Debian/Ubuntu sudo apt-get install --reinstall fontconfig # CentOS/RHEL sudo yum reinstall fontconfig ``` #### 2. 设置 Fontconfig 环境变量 有时候,Fontconfig 无法找到配置文件是因为环境变量设置不正确。可以尝试手动设置 `FONTCONFIG_FILE` 环境变量: ```bash export FONTCONFIG_FILE=/etc/fonts/fonts.conf ``` 然后再次运行 `xelatex` 命令。 ### Kpathsea 不工作的问题解决方法 Kpathsea 是 TeX Live 用于搜索文件的工具,Kpathsea 不工作可能是由于路径配置问题或 TeX Live 安装不完整。以下是一些解决办法: #### 1. 更新 TeX Live 路径 确保 TeX Live 的路径已正确添加到系统的环境变量中。可以在终端中运行以下命令更新路径: ```bash export PATH=/usr/local/texlive/2025/bin/x86_64-linux:$PATH ``` 注意:上述路径中的 `x86_64-linux` 可能需要根据你的系统架构进行调整。 #### 2. 重新初始化 TeX Live 可以尝试重新初始化 TeX Live 的配置: ```bash sudo texconfig reinit ``` #### 3. 检查 TeX Live 安装完整性 确保 TeX Live 安装完整。可以使用以下命令更新 TeX Live: ```bash sudo tlmgr update --self --all ``` 经过上述步骤,再次尝试使用 `xelatex` 编译 `TD3.tex` 文件: ```bash xelatex TD3.tex ```
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值