我最近在个人电脑和工作电脑上都安装了 TexLive 2020,这两个电脑都链接到存储我的 TeX 文档的同一个存储库。我正在使用我希望提交的会议提供的文档类“ieeeconf”;它是一个明确的文件,我将其作为文档类传递。
我正在起草一篇论文,并一直使用“onecolumn”选项来制作单列论文。然而,在我的个人电脑的安装中,输出仍然是双列格式。我不知道为什么会这样,因为我正在编译完全相同的 latex 代码,从同一个 git 存储库中提取。这非常烦人,因为我不想担心在不同的计算机上工作时得到不同的输出(不仅仅是在这种情况下,而是一般情况下)。
两台计算机都运行“/usr/local/texlive/2020/bin/x86_64-linux/pdflatex”-synctex=1 -interaction=nonstopmode“root”.tex进行编译。
我知道我没有提供太多信息,但我真的不知道从哪里开始调试这个问题。有人知道我可以研究什么吗?
最好的,
—图西克
编辑:文件列表输出:
正常工作的计算机:
*File List*
../../templates/acc/ieeeconf.cls
ot1ptm.fd 2001/06/04 font definitions for OT1/ptm.
packages.tex
xcolor.sty 2016/05/11 v2.12 LaTeX color extensions (UK)
color.cfg 2016/01/02 v1.6 sample color configuration
pdftex.def 2020/10/05 v1.2a Graphics/color driver for pdftex
colortbl.sty 2020/01/04 v1.0e Color table columns (DPC)
array.sty 2020/10/01 v2.5c Tabular extension package (FMi)
graphicx.sty 2020/09/09 v1.2b Enhanced LaTeX Graphics (DPC,SPQR)
keyval.sty 2014/10/28 v1.15 key=value parser (DPC)
graphics.sty 2020/08/30 v1.4c Standard LaTeX Graphics (DPC,SPQR)
trig.sty 2016/01/03 v1.10 sin cos tan (DPC)
graphics.cfg 2016/06/04 v1.11 sample graphics configuration
subcaption.sty 2020/08/23 v1.3g Sub-captions (AR)
caption.sty 2020/09/12 v3.5b Customizing captions (AR)
caption3.sty 2020/09/17 v2.1b caption3 kernel (AR)
amsmath.sty 2020/09/23 v2.17i AMS math features
amstext.sty 2000/06/29 v2.01 AMS text
amsgen.sty 1999/11/30 v2.0 generic functions
amsbsy.sty 1999/11/29 v1.2d Bold Symbols
amsopn.sty 2016/03/08 v2.02 operator names
amssymb.sty 2013/01/14 v3.01 AMS font symbols
amsfonts.sty 2013/01/14 v3.01 Basic AMSFonts support
amsthm.sty 2020/05/29 v2.20.6
acro.sty 2020/05/10 v3.2 typeset acronyms and other abbreviations
expl3.sty 2020-10-05 L3 programming layer (loader)
l3backend-pdftex.def 2020-09-24 L3 backend support: PDF output (pdfTeX)
xparse.sty 2020-10-05 L3 Experimental document command parser
xparse-generic.tex
l3keys2e.sty 2020-10-05 LaTeX2e option processing using LaTeX3 keys
zref-abspage.sty 2020-07-03 v2.32 Module abspage for zref (HO)
zref-base.sty 2020-07-03 v2.32 Module base for zref (HO)
ltxcmds.sty 2020-05-10 v1.25 LaTeX kernel commands for general use (HO)
infwarerr.sty 2019/12/03 v1.5 Providing info/warning/error messages (HO)
kvsetkeys.sty 2019/12/15 v1.18 Key value parser (HO)
kvdefinekeys.sty 2019-12-19 v1.6 Define keys (HO)
pdftexcmds.sty 2020-06-27 v0.33 Utility functions of pdfTeX for LuaTeX (HO)
iftex.sty 2020/03/06 v1.0d TeX engine tests
etexcmds.sty 2019/12/15 v1.7 Avoid name clashes with e-TeX commands (HO)
auxhook.sty 2019-12-17 v1.6 Hooks for auxiliary files (HO)
atbegshi.sty 2020/08/17 v1.0a Emulation of the original atbegshi package
with kernel methods
zref-totpages.sty 2020-07-03 v2.32 Module totpages for zref (HO)
zref-lastpage.sty 2020-07-03 v2.32 Module lastpage for zref (HO)
atveryend.sty 2020/08/19 v1.0a Emulation of the original atvery package
with kernel methods
translations.sty 2020/04/28 v1.8b internationalization of LaTeX2e packages (
CN)
scrlfile.sty 2020/09/21 v3.32 KOMA-Script package (file load hooks)
scrlfile-hook.sty 2020/09/21 v3.32 KOMA-Script package (using LaTeX hooks)
scrlogo.sty 2020/09/21 v3.32 KOMA-Script package (logo)
etoolbox.sty 2020/10/05 v2.5k e-TeX tools for LaTeX (JAW)
cite.sty 2015/02/27 v 5.5
tikz.sty 2020/10/01 v3.1.6a (3.1.6a)
pgf.sty 2020/10/01 v3.1.6a (3.1.6a)
pgfrcs.sty 2020/10/01 v3.1.6a (3.1.6a)
pgfrcs.code.tex
pgfcore.sty 2020/10/01 v3.1.6a (3.1.6a)
pgfsys.sty 2020/10/01 v3.1.6a (3.1.6a)
pgfsys.code.tex
pgfsyssoftpath.code.tex 2020/10/01 v3.1.6a (3.1.6a)
pgfsysprotocol.code.tex 2020/10/01 v3.1.6a (3.1.6a)
pgfcore.code.tex
pgfcomp-version-0-65.sty 2020/10/01 v3.1.6a (3.1.6a)
pgfcomp-version-1-18.sty 2020/10/01 v3.1.6a (3.1.6a)
pgffor.sty 2020/10/01 v3.1.6a (3.1.6a)
pgfkeys.sty
pgfkeys.code.tex
pgfmath.sty
pgfmath.code.tex
pgffor.code.tex
tikz.code.tex
bm.sty 2019/07/24 v1.2d Bold Symbol Support (DPC/FMi)
algorithm.sty 2009/08/24 v0.1 Document Style `algorithm' - floating environm
ent
float.sty 2001/11/08 v1.3d Float enhancements (AL)
ifthen.sty 2014/09/29 v1.1c Standard LaTeX ifthen package (DPC)
enumerate.sty 2015/07/23 v3.00 enumerate extensions (DPC)
nicematrix.sty 2020/10/06 v5.4 Enhanced arrays with the help of PGF/TikZ
textcomp.sty 2020/02/02 v2.0n Standard LaTeX package
../../commands.tex
commands.tex
../../glossary.tex
root.acr
supp-pdf.mkii
epstopdf-base.sty 2020-01-24 v2.11 Base part for package epstopdf
epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Live
translations-basic-dictionary-english.trsl (english translation file `transl
ations-basic-dictionary')
umsa.fd 2013/01/14 v3.01 AMS symbols A
umsb.fd 2013/01/14 v3.01 AMS symbols B
ot1pcr.fd 2001/06/04 font definitions for OT1/pcr.
source/abstract.tex
source/introduction.tex
source/preliminaries/preliminaries.tex
source/preliminaries/preliminaries_whitenoise.tex
source/preliminaries/preliminaries_functionals.tex
source/preliminaries/preliminaries_IGO.tex
ueuf.fd 2013/01/14 v3.01 Euler Fraktur
source/Problem/problem.tex
source/openloop/openloop.tex
source/openloop/openloop_pde.tex
source/openloop/openloop_feynmankac.tex
source/closedloop/closedloop.tex
source/closedloop/closedloop_pde.tex
source/closedloop/closedloop_feynmankac.tex
source/closedloop/closedloop_probabilities.tex
source/closedloop/closedloop_inputs.tex
source/pi2_igo/pi2_igo.tex
source/pi2_igo/pi2_igo_cma.tex
source/pi2_igo/pi2_igo_algorithm.tex
source/pi2_igo/pi2_igo_interpretation.tex
source/pi2_igo/pi2_igo_initialstate.tex
source/discussion/discussion.tex
source/discussion/discussion_differences.tex
source/discussion/discussion_differencesPractical.tex
source/discussion/discussion_future.tex
source/conclusions.tex
root.bbl
ts1ptm.fd 2001/06/04 font definitions for TS1/ptm.
root.acr
***********
计算机工作不正常:
*File List*
../../templates/acc/ieeeconf.cls
ot1ptm.fd 2001/06/04 font definitions for OT1/ptm.
packages.tex
xcolor.sty 2016/05/11 v2.12 LaTeX color extensions (UK)
color.cfg 2016/01/02 v1.6 sample color configuration
pdftex.def 2020/10/05 v1.2a Graphics/color driver for pdftex
colortbl.sty 2020/01/04 v1.0e Color table columns (DPC)
array.sty 2020/10/01 v2.5c Tabular extension package (FMi)
graphicx.sty 2020/09/09 v1.2b Enhanced LaTeX Graphics (DPC,SPQR)
keyval.sty 2014/10/28 v1.15 key=value parser (DPC)
graphics.sty 2020/08/30 v1.4c Standard LaTeX Graphics (DPC,SPQR)
trig.sty 2016/01/03 v1.10 sin cos tan (DPC)
graphics.cfg 2016/06/04 v1.11 sample graphics configuration
subcaption.sty 2020/10/07 v1.3j Sub-captions (AR)
caption.sty 2020/10/26 v3.5g Customizing captions (AR)
caption3.sty 2020/10/21 v2.2e caption3 kernel (AR)
amsmath.sty 2020/09/23 v2.17i AMS math features
amstext.sty 2000/06/29 v2.01 AMS text
amsgen.sty 1999/11/30 v2.0 generic functions
amsbsy.sty 1999/11/29 v1.2d Bold Symbols
amsopn.sty 2016/03/08 v2.02 operator names
amssymb.sty 2013/01/14 v3.01 AMS font symbols
amsfonts.sty 2013/01/14 v3.01 Basic AMSFonts support
amsthm.sty 2020/05/29 v2.20.6
acro.sty 2020/11/08 v3.2a typeset acronyms and other abbreviations
expl3.sty 2020-10-27 L3 programming layer (loader)
l3backend-pdftex.def 2020-09-24 L3 backend support: PDF output (pdfTeX)
xparse.sty 2020-10-27 L3 Experimental document command parser
l3keys2e.sty 2020-10-27 LaTeX2e option processing using LaTeX3 keys
zref-abspage.sty 2020-07-03 v2.32 Module abspage for zref (HO)
zref-base.sty 2020-07-03 v2.32 Module base for zref (HO)
ltxcmds.sty 2020-05-10 v1.25 LaTeX kernel commands for general use (HO)
infwarerr.sty 2019/12/03 v1.5 Providing info/warning/error messages (HO)
kvsetkeys.sty 2019/12/15 v1.18 Key value parser (HO)
kvdefinekeys.sty 2019-12-19 v1.6 Define keys (HO)
pdftexcmds.sty 2020-06-27 v0.33 Utility functions of pdfTeX for LuaTeX (HO)
iftex.sty 2020/03/06 v1.0d TeX engine tests
etexcmds.sty 2019/12/15 v1.7 Avoid name clashes with e-TeX commands (HO)
auxhook.sty 2019-12-17 v1.6 Hooks for auxiliary files (HO)
atbegshi.sty 2020/08/17 v1.0a Emulation of the original atbegshi package
with kernel methods
zref-totpages.sty 2020-07-03 v2.32 Module totpages for zref (HO)
zref-lastpage.sty 2020-07-03 v2.32 Module lastpage for zref (HO)
atveryend.sty 2020/08/19 v1.0a Emulation of the original atvery package
with kernel methods
translations.sty 2020/11/08 v1.9 internationalization of LaTeX2e packages (C
N)
scrlfile.sty 2020/09/21 v3.32 KOMA-Script package (file load hooks)
scrlfile-hook.sty 2020/09/21 v3.32 KOMA-Script package (using LaTeX hooks)
scrlogo.sty 2020/09/21 v3.32 KOMA-Script package (logo)
etoolbox.sty 2020/10/05 v2.5k e-TeX tools for LaTeX (JAW)
cite.sty 2015/02/27 v 5.5
tikz.sty 2020/10/01 v3.1.6a (3.1.6a)
pgf.sty 2020/10/01 v3.1.6a (3.1.6a)
pgfrcs.sty 2020/10/01 v3.1.6a (3.1.6a)
pgfrcs.code.tex
pgfcore.sty 2020/10/01 v3.1.6a (3.1.6a)
pgfsys.sty 2020/10/01 v3.1.6a (3.1.6a)
pgfsys.code.tex
pgfsyssoftpath.code.tex 2020/10/01 v3.1.6a (3.1.6a)
pgfsysprotocol.code.tex 2020/10/01 v3.1.6a (3.1.6a)
pgfcore.code.tex
pgfcomp-version-0-65.sty 2020/10/01 v3.1.6a (3.1.6a)
pgfcomp-version-1-18.sty 2020/10/01 v3.1.6a (3.1.6a)
pgffor.sty 2020/10/01 v3.1.6a (3.1.6a)
pgfkeys.sty
pgfkeys.code.tex
pgfmath.sty
pgfmath.code.tex
pgffor.code.tex
tikz.code.tex
bm.sty 2019/07/24 v1.2d Bold Symbol Support (DPC/FMi)
algorithm.sty 2009/08/24 v0.1 Document Style `algorithm' - floating environm
ent
float.sty 2001/11/08 v1.3d Float enhancements (AL)
ifthen.sty 2014/09/29 v1.1c Standard LaTeX ifthen package (DPC)
enumerate.sty 2015/07/23 v3.00 enumerate extensions (DPC)
nicematrix.sty 2020/11/08 v5.6 Enhanced arrays with the help of PGF/TikZ
textcomp.sty 2020/02/02 v2.0n Standard LaTeX package
../../commands.tex
commands.tex
../../glossary.tex
root.acr
supp-pdf.mkii
epstopdf-base.sty 2020-01-24 v2.11 Base part for package epstopdf
epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Live
translations-basic-dictionary-english.trsl (english translation file `transl
ations-basic-dictionary')
umsa.fd 2013/01/14 v3.01 AMS symbols A
umsb.fd 2013/01/14 v3.01 AMS symbols B
ot1pcr.fd 2001/06/04 font definitions for OT1/pcr.
source/abstract.tex
source/introduction.tex
source/preliminaries/preliminaries.tex
source/preliminaries/preliminaries_whitenoise.tex
source/preliminaries/preliminaries_functionals.tex
source/preliminaries/preliminaries_IGO.tex
ueuf.fd 2013/01/14 v3.01 Euler Fraktur
source/Problem/problem.tex
source/openloop/openloop.tex
source/openloop/openloop_pde.tex
source/openloop/openloop_feynmankac.tex
source/closedloop/closedloop.tex
source/closedloop/closedloop_pde.tex
source/closedloop/closedloop_feynmankac.tex
source/closedloop/closedloop_probabilities.tex
source/closedloop/closedloop_inputs.tex
source/pi2_igo/pi2_igo.tex
source/pi2_igo/pi2_igo_cma.tex
source/pi2_igo/pi2_igo_algorithm.tex
source/pi2_igo/pi2_igo_interpretation.tex
source/pi2_igo/pi2_igo_initialstate.tex
source/discussion/discussion.tex
source/discussion/discussion_differences.tex
source/discussion/discussion_differencesPractical.tex
source/discussion/discussion_future.tex
source/conclusions.tex
root.bbl
ts1ptm.fd 2001/06/04 font definitions for TS1/ptm.
root.acr
***********
```
答案1
您遇到的问题很可能是由https://github.com/latex3/latex2e/issues/422(LaTeX 2010-10-01 PL2 中的一个错误)。
如果我理解正确的话,我们正在修复这个问题并且希望能够很快发布。
链接的错误报告还包含两种可能的解决方法(我不太确定其中一种\def\input@path
,但其中latexrelease
一种看起来很可靠)。
或者,您可以直接ieeeconf.cls
从移动../../templates/acc/
到文档目录,这样您就可以加载类,这样\documentclass[conference, onecolumn]{ieeeconf}
可以避免出现此问题。如果您想使用ieeeconf
在多个文档中使用该类,可能需要考虑将该类安装到本地 TeX 树中(我应该将自己的 .sty 或 .cls 文件放在哪里,以使它们可供我的所有 .tex 文件使用?,https://www.texfaq.org/FAQ-inst-wlcf)。使用相对路径加载类或者包总是有点危险的。