tikzpagenodes 在 arxiv 上给出错误输出

tikzpagenodes 在 arxiv 上给出错误输出

我用它tikzpagenodes来检测页面周围的文本边界(我使用它的方式比绘制这个框架更复杂,但现在我们只需绘制一个框架):

在此处输入图片描述

我的问题是在 arXiv 上,框绘制不正确(你可以轻松地通过以下方式自行测试开始添加新文章,arXiv 将在填写标题/作者之前显示 pdf 的预览……):

在此处输入图片描述

我以为可能是版本不同,但即使尝试使用 tex 2020 也能像 arXiv 一样工作……所以看来 arXiv 在这里做了一些奇怪的事情。我也尝试从包中上传最新版本geometry(tikzpagenodes 10 年来没有改变,所以它应该已经是最新版本了),但同样的问题又出现了……

平均能量损失

\documentclass[]{article}

\usepackage{lmodern}
% Language
\usepackage[english]{babel}
% Input encoding
\usepackage[utf8]{inputenc}
% Output encoding https://tex.stackexchange.com/a/677. Important to copy accents
\usepackage[T1]{fontenc}

\usepackage[a4paper, top=1.4in, bottom=1.4in, right=1in, left=1in]{geometry}

\usepackage{tikz}
\usepackage{tikzpagenodes}
\usepackage{lipsum}

\begin{document}

\begin{tikzpicture}[overlay, remember picture]
  \draw (current page text area.north west) rectangle (current page text area.south east);
\end{tikzpicture}
\lipsum[1-8]

\end{document}

来自 arXiv 的日志:

Output written on debug_2.dvi (2 pages, 18.02 KB).
  All output files are converted to PDF for previewing.

If you are attempting to compile with a specific engine (PDFLaTeX, LaTeX,
TeX) please carefully review the appropriate log below.

Summary of attempted TeX compilation runs:

  Processing;'debug_2.tex'
    Running hlatex for first time.
    Running hlatex for second time.

  Last run per file and engine
    debug_2.tex:
      Last run for engine hlatex is second

Key for Highlighted AutoTeX Log:
Severe warnings/errors.'
Warnings deemed important'
General warnings/errors from packages.'
Warnings/Errors deemed unimportant. Example: undefined references in first TeX run.'
Indicates positive event, does not guarantee overall success
Informational markup
References to arXiv help pages or other documentation.
Highlighted AutoTeX Log:

[verbose]: Creating arXiv submission AutoTeX object
[verbose]: *** Using TeX Live 2020 ***
[verbose]: Calling arXiv submission AutoTeX process
[verbose]: TeX/AutoTeX.pm: admin_timeout = minion
[verbose]: <debug_2.tex> is of type 'LATEX2e'.
[verbose]: <geometry.sty> is of type 'TeX auxiliary'.
[verbose]: ~~~~~~~~~~~ Processing file 'debug_2.tex'
[verbose]: TEXMFCNF is unset.
[verbose]: ~~~~~~~~~~~ Running hlatex for the first time ~~~~~~~~
[verbose]: Running: "(export HOME=/tmp PATH=/texlive/2020/bin/arch:/bin; cd /submissions/4768457/ && latex 'debug_2.tex' < /dev/null)" 2>&1
[verbose]: This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020) (preloaded format=latex)
restricted \write18 enabled.
entering extended mode
(./debug_2.tex
LaTeX2e <2020-02-02> patch level 5
L3 programming layer <2020-09-06>
(/texlive/2020/texmf-dist/tex/latex/base/article.cls
Document Class: article 2019/12/20 v1.4l Standard LaTeX document class
(/texlive/2020/texmf-dist/tex/latex/base/size10.clo))
(/texlive/2020/texmf-dist/tex/latex/lm/lmodern.sty)
(/texlive/2020/texmf-dist/tex/generic/babel/babel.sty
(/texlive/2020/texmf-dist/tex/generic/babel/babel.def
(/texlive/2020/texmf-dist/tex/generic/babel/txtbabel.def))
(/texlive/2020/texmf-dist/tex/generic/babel-english/english.ldf))
(/texlive/2020/texmf-dist/tex/latex/base/inputenc.sty)
(/texlive/2020/texmf-dist/tex/latex/base/fontenc.sty
(/texlive/2020/texmf-dist/tex/latex/lm/t1lmr.fd)) (./geometry.sty
(/texlive/2020/texmf-dist/tex/latex/graphics/keyval.sty)
(/texlive/2020/texmf-dist/tex/generic/iftex/ifvtex.sty
(/texlive/2020/texmf-dist/tex/generic/iftex/iftex.sty))
(/texlive/2020/texmf-config/tex/latex/latexconfig/geometry.cfg
(/texlive/2020/texmf-dist/tex/generic/iftex/ifpdf.sty)))
(/texlive/2020/texmf-dist/tex/latex/pgf/frontendlayer/tikz.sty
(/texlive/2020/texmf-dist/tex/latex/pgf/basiclayer/pgf.sty
(/texlive/2020/texmf-dist/tex/latex/pgf/utilities/pgfrcs.sty
(/texlive/2020/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.tex
(/texlive/2020/texmf-dist/tex/generic/pgf/utilities/pgfutil-common-lists.tex))
(/texlive/2020/texmf-dist/tex/generic/pgf/utilities/pgfutil-latex.def
(/texlive/2020/texmf-dist/tex/latex/ms/everyshi.sty))
(/texlive/2020/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex
(/texlive/2020/texmf-dist/tex/generic/pgf/pgf.revision.tex)))
(/texlive/2020/texmf-dist/tex/latex/pgf/basiclayer/pgfcore.sty
(/texlive/2020/texmf-dist/tex/latex/graphics/graphicx.sty
(/texlive/2020/texmf-dist/tex/latex/graphics/graphics.sty
(/texlive/2020/texmf-dist/tex/latex/graphics/trig.sty)
(/texlive/2020/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(/texlive/2020/texmf-dist/tex/latex/graphics-def/dvips.def)))
(/texlive/2020/texmf-dist/tex/latex/pgf/systemlayer/pgfsys.sty
(/texlive/2020/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code.tex
(/texlive/2020/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
(/texlive/2020/texmf-dist/tex/generic/pgf/utilities/pgfkeysfiltered.code.tex))
(/texlive/2020/texmf-dist/tex/generic/pgf/systemlayer/pgf.cfg)
(/texlive/2020/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvips.def
(/texlive/2020/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-postscript.
def)))
(/texlive/2020/texmf-dist/tex/generic/pgf/systemlayer/pgfsyssoftpath.code.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/systemlayer/pgfsysprotocol.code.tex))
(/texlive/2020/texmf-dist/tex/latex/xcolor/xcolor.sty
(/texlive/2020/texmf-dist/tex/latex/graphics-cfg/color.cfg))
(/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcore.code.tex
(/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex
(/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathcalc.code.tex
(/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathutil.code.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathparser.code.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.code.tex
(/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.basic.code.tex)

(/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.trigonometric.c
ode.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.random.code.tex
)
(/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.comparison.code
.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.base.code.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.round.code.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.misc.code.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.integerarithmet
ics.code.tex)))
(/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfloat.code.tex))
(/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfint.code.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepoints.code.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathconstruct.code.
tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathusage.code.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcorescopes.code.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcoregraphicstate.code.t
ex)
(/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretransformations.cod
e.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcorequick.code.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreobjects.code.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathprocessing.code
.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcorearrows.code.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreshade.code.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreimage.code.tex
(/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreexternal.code.tex))
(/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcorelayers.code.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretransparency.code.t
ex)
(/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepatterns.code.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcorerdf.code.tex)))
(/texlive/2020/texmf-dist/tex/generic/pgf/modules/pgfmoduleshapes.code.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/modules/pgfmoduleplot.code.tex)
(/texlive/2020/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version-0-65.sty)
(/texlive/2020/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version-1-18.sty
)) (/texlive/2020/texmf-dist/tex/latex/pgf/utilities/pgffor.sty
(/texlive/2020/texmf-dist/tex/latex/pgf/utilities/pgfkeys.sty
(/texlive/2020/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex))
(/texlive/2020/texmf-dist/tex/latex/pgf/math/pgfmath.sty
(/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex))
(/texlive/2020/texmf-dist/tex/generic/pgf/utilities/pgffor.code.tex
(/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex)))
(/texlive/2020/texmf-dist/tex/generic/pgf/frontendlayer/tikz/tikz.code.tex
(/texlive/2020/texmf-dist/tex/generic/pgf/libraries/pgflibraryplothandlers.code
.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/modules/pgfmodulematrix.code.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibr
arytopaths.code.tex)))
(/texlive/2020/texmf-dist/tex/latex/tikzpagenodes/tikzpagenodes.sty
(/texlive/2020/texmf-dist/tex/latex/ifoddpage/ifoddpage.sty))
(/texlive/2020/texmf-dist/tex/latex/lipsum/lipsum.sty
(/texlive/2020/texmf-dist/tex/latex/l3kernel/expl3.sty
(/texlive/2020/texmf-dist/tex/latex/l3backend/l3backend-dvips.def))
(/texlive/2020/texmf-dist/tex/latex/l3packages/xparse/xparse.sty
(/texlive/2020/texmf-dist/tex/latex/l3packages/xparse/xparse-generic.tex))
(/texlive/2020/texmf-dist/tex/latex/lipsum/lipsum.ltd.tex))
(/texlive/2020/texmf-dist/tex/latex/hyperref/hyperref.sty
(/texlive/2020/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty)
(/texlive/2020/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.sty
(/texlive/2020/texmf-dist/tex/generic/infwarerr/infwarerr.sty))
(/texlive/2020/texmf-dist/tex/generic/kvsetkeys/kvsetkeys.sty)
(/texlive/2020/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty)
(/texlive/2020/texmf-dist/tex/generic/pdfescape/pdfescape.sty)
(/texlive/2020/texmf-dist/tex/latex/hycolor/hycolor.sty)
(/texlive/2020/texmf-dist/tex/latex/letltxmacro/letltxmacro.sty)
(/texlive/2020/texmf-dist/tex/latex/auxhook/auxhook.sty)
(/texlive/2020/texmf-dist/tex/latex/kvoptions/kvoptions.sty)
(/texlive/2020/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/texlive/2020/texmf-dist/tex/generic/intcalc/intcalc.sty)
(/texlive/2020/texmf-dist/tex/generic/etexcmds/etexcmds.sty)
(/texlive/2020/texmf-config/tex/latex/latexconfig/hyperref.cfg)
(/texlive/2020/texmf-dist/tex/latex/url/url.sty)
(/texlive/2020/texmf-dist/tex/generic/bitset/bitset.sty
(/texlive/2020/texmf-dist/tex/generic/bigintcalc/bigintcalc.sty))
(/texlive/2020/texmf-dist/tex/generic/atbegshi/atbegshi.sty))
(/texlive/2020/texmf-dist/tex/latex/hyperref/hdvips.def
(/texlive/2020/texmf-dist/tex/latex/hyperref/pdfmark.def
(/texlive/2020/texmf-dist/tex/latex/rerunfilecheck/rerunfilecheck.sty
(/texlive/2020/texmf-dist/tex/latex/atveryend/atveryend.sty)
(/texlive/2020/texmf-dist/tex/generic/uniquecounter/uniquecounter.sty))))
No file debug_2.aux.
*geometry* detected driver: dvips
ABD: EveryShipout initializing macros
(/texlive/2020/texmf-dist/tex/latex/hyperref/nameref.sty
(/texlive/2020/texmf-dist/tex/latex/refcount/refcount.sty)
(/texlive/2020/texmf-dist/tex/generic/gettitlestring/gettitlestring.sty))

Package hyperref Warning: Rerun to get /PageLabels entry.

[1] [2] (./debug_2.aux)

Package rerunfilecheck Warning: File `debug_2.out' has changed.
(rerunfilecheck) Rerun to get outlines right
(rerunfilecheck) or use package `bookmark'.


LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right.

)
Output written on debug_2.dvi (2 pages, 18452 bytes).
Transcript written on debug_2.log.

[verbose]: ~~~~~~~~~~~ Running hlatex for the second time ~~~~~~~~
[verbose]: Running: "(export HOME=/tmp PATH=/texlive/2020/bin/arch:/bin; cd /submissions/4768457/ && latex 'debug_2.tex' < /dev/null)" 2>&1
[verbose]: This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020) (preloaded format=latex)
restricted \write18 enabled.
entering extended mode
(./debug_2.tex
LaTeX2e <2020-02-02> patch level 5
L3 programming layer <2020-09-06>
(/texlive/2020/texmf-dist/tex/latex/base/article.cls
Document Class: article 2019/12/20 v1.4l Standard LaTeX document class
(/texlive/2020/texmf-dist/tex/latex/base/size10.clo))
(/texlive/2020/texmf-dist/tex/latex/lm/lmodern.sty)
(/texlive/2020/texmf-dist/tex/generic/babel/babel.sty
(/texlive/2020/texmf-dist/tex/generic/babel/babel.def
(/texlive/2020/texmf-dist/tex/generic/babel/txtbabel.def))
(/texlive/2020/texmf-dist/tex/generic/babel-english/english.ldf))
(/texlive/2020/texmf-dist/tex/latex/base/inputenc.sty)
(/texlive/2020/texmf-dist/tex/latex/base/fontenc.sty
(/texlive/2020/texmf-dist/tex/latex/lm/t1lmr.fd)) (./geometry.sty
(/texlive/2020/texmf-dist/tex/latex/graphics/keyval.sty)
(/texlive/2020/texmf-dist/tex/generic/iftex/ifvtex.sty
(/texlive/2020/texmf-dist/tex/generic/iftex/iftex.sty))
(/texlive/2020/texmf-config/tex/latex/latexconfig/geometry.cfg
(/texlive/2020/texmf-dist/tex/generic/iftex/ifpdf.sty)))
(/texlive/2020/texmf-dist/tex/latex/pgf/frontendlayer/tikz.sty
(/texlive/2020/texmf-dist/tex/latex/pgf/basiclayer/pgf.sty
(/texlive/2020/texmf-dist/tex/latex/pgf/utilities/pgfrcs.sty
(/texlive/2020/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.tex
(/texlive/2020/texmf-dist/tex/generic/pgf/utilities/pgfutil-common-lists.tex))
(/texlive/2020/texmf-dist/tex/generic/pgf/utilities/pgfutil-latex.def
(/texlive/2020/texmf-dist/tex/latex/ms/everyshi.sty))
(/texlive/2020/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex
(/texlive/2020/texmf-dist/tex/generic/pgf/pgf.revision.tex)))
(/texlive/2020/texmf-dist/tex/latex/pgf/basiclayer/pgfcore.sty
(/texlive/2020/texmf-dist/tex/latex/graphics/graphicx.sty
(/texlive/2020/texmf-dist/tex/latex/graphics/graphics.sty
(/texlive/2020/texmf-dist/tex/latex/graphics/trig.sty)
(/texlive/2020/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(/texlive/2020/texmf-dist/tex/latex/graphics-def/dvips.def)))
(/texlive/2020/texmf-dist/tex/latex/pgf/systemlayer/pgfsys.sty
(/texlive/2020/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code.tex
(/texlive/2020/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
(/texlive/2020/texmf-dist/tex/generic/pgf/utilities/pgfkeysfiltered.code.tex))
(/texlive/2020/texmf-dist/tex/generic/pgf/systemlayer/pgf.cfg)
(/texlive/2020/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvips.def
(/texlive/2020/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-postscript.
def)))
(/texlive/2020/texmf-dist/tex/generic/pgf/systemlayer/pgfsyssoftpath.code.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/systemlayer/pgfsysprotocol.code.tex))
(/texlive/2020/texmf-dist/tex/latex/xcolor/xcolor.sty
(/texlive/2020/texmf-dist/tex/latex/graphics-cfg/color.cfg))
(/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcore.code.tex
(/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex
(/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathcalc.code.tex
(/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathutil.code.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathparser.code.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.code.tex
(/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.basic.code.tex)

(/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.trigonometric.c
ode.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.random.code.tex
)
(/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.comparison.code
.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.base.code.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.round.code.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.misc.code.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.integerarithmet
ics.code.tex)))
(/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfloat.code.tex))
(/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfint.code.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepoints.code.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathconstruct.code.
tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathusage.code.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcorescopes.code.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcoregraphicstate.code.t
ex)
(/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretransformations.cod
e.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcorequick.code.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreobjects.code.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathprocessing.code
.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcorearrows.code.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreshade.code.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreimage.code.tex
(/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreexternal.code.tex))
(/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcorelayers.code.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretransparency.code.t
ex)
(/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepatterns.code.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/basiclayer/pgfcorerdf.code.tex)))
(/texlive/2020/texmf-dist/tex/generic/pgf/modules/pgfmoduleshapes.code.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/modules/pgfmoduleplot.code.tex)
(/texlive/2020/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version-0-65.sty)
(/texlive/2020/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version-1-18.sty
)) (/texlive/2020/texmf-dist/tex/latex/pgf/utilities/pgffor.sty
(/texlive/2020/texmf-dist/tex/latex/pgf/utilities/pgfkeys.sty
(/texlive/2020/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex))
(/texlive/2020/texmf-dist/tex/latex/pgf/math/pgfmath.sty
(/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex))
(/texlive/2020/texmf-dist/tex/generic/pgf/utilities/pgffor.code.tex
(/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex)))
(/texlive/2020/texmf-dist/tex/generic/pgf/frontendlayer/tikz/tikz.code.tex
(/texlive/2020/texmf-dist/tex/generic/pgf/libraries/pgflibraryplothandlers.code
.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/modules/pgfmodulematrix.code.tex)
(/texlive/2020/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibr
arytopaths.code.tex)))
(/texlive/2020/texmf-dist/tex/latex/tikzpagenodes/tikzpagenodes.sty
(/texlive/2020/texmf-dist/tex/latex/ifoddpage/ifoddpage.sty))
(/texlive/2020/texmf-dist/tex/latex/lipsum/lipsum.sty
(/texlive/2020/texmf-dist/tex/latex/l3kernel/expl3.sty
(/texlive/2020/texmf-dist/tex/latex/l3backend/l3backend-dvips.def))
(/texlive/2020/texmf-dist/tex/latex/l3packages/xparse/xparse.sty
(/texlive/2020/texmf-dist/tex/latex/l3packages/xparse/xparse-generic.tex))
(/texlive/2020/texmf-dist/tex/latex/lipsum/lipsum.ltd.tex))
(/texlive/2020/texmf-dist/tex/latex/hyperref/hyperref.sty
(/texlive/2020/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty)
(/texlive/2020/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.sty
(/texlive/2020/texmf-dist/tex/generic/infwarerr/infwarerr.sty))
(/texlive/2020/texmf-dist/tex/generic/kvsetkeys/kvsetkeys.sty)
(/texlive/2020/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty)
(/texlive/2020/texmf-dist/tex/generic/pdfescape/pdfescape.sty)
(/texlive/2020/texmf-dist/tex/latex/hycolor/hycolor.sty)
(/texlive/2020/texmf-dist/tex/latex/letltxmacro/letltxmacro.sty)
(/texlive/2020/texmf-dist/tex/latex/auxhook/auxhook.sty)
(/texlive/2020/texmf-dist/tex/latex/kvoptions/kvoptions.sty)
(/texlive/2020/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/texlive/2020/texmf-dist/tex/generic/intcalc/intcalc.sty)
(/texlive/2020/texmf-dist/tex/generic/etexcmds/etexcmds.sty)
(/texlive/2020/texmf-config/tex/latex/latexconfig/hyperref.cfg)
(/texlive/2020/texmf-dist/tex/latex/url/url.sty)
(/texlive/2020/texmf-dist/tex/generic/bitset/bitset.sty
(/texlive/2020/texmf-dist/tex/generic/bigintcalc/bigintcalc.sty))
(/texlive/2020/texmf-dist/tex/generic/atbegshi/atbegshi.sty))
(/texlive/2020/texmf-dist/tex/latex/hyperref/hdvips.def
(/texlive/2020/texmf-dist/tex/latex/hyperref/pdfmark.def
(/texlive/2020/texmf-dist/tex/latex/rerunfilecheck/rerunfilecheck.sty
(/texlive/2020/texmf-dist/tex/latex/atveryend/atveryend.sty)
(/texlive/2020/texmf-dist/tex/generic/uniquecounter/uniquecounter.sty))))
(./debug_2.aux)
*geometry* detected driver: dvips
ABD: EveryShipout initializing macros
(/texlive/2020/texmf-dist/tex/latex/hyperref/nameref.sty
(/texlive/2020/texmf-dist/tex/latex/refcount/refcount.sty)
(/texlive/2020/texmf-dist/tex/generic/gettitlestring/gettitlestring.sty))
(./debug_2.out) (./debug_2.out) [1] [2] (./debug_2.aux) )
Output written on debug_2.dvi (2 pages, 18452 bytes).
Transcript written on debug_2.log.

[verbose]: Removing (La)TeX AUX file called 'debug_2.aux' (1678095050 >= 1678095048)
[verbose]: Removing (La)TeX AUX file called 'debug_2.out' (1678095050 >= 1678095048)
[verbose]: ~~~~~~~~~~~ Processing file 'debug_2.dvi'
[verbose]: Running: "(export HOME=/tmp PATH=/texlive/2020/bin/arch:/bin; cd /submissions/4768457/ && dvips -R2 -z 'debug_2.dvi' -o )" 2>&1
[verbose]: dvi(h)ps said ...
This is dvips(k) 2020.1 Copyright 2020 Radical Eye Software (www.radicaleye.com)
' TeX output 2023.03.06:0930' -> debug_2.ps
</texlive/2020/texmf-dist/dvips/base/texc.pro>
</texlive/2020/texmf-dist/dvips/l3backend/l3backend-dvips.pro>
</texlive/2020/texmf-dist/fonts/enc/dvips/lm/lm-ec.enc>
</texlive/2020/texmf-dist/dvips/base/texps.pro>
</texlive/2020/texmf-dist/dvips/base/special.pro>
</texlive/2020/texmf-dist/dvips/base/color.pro>
</texlive/2020/texmf-dist/dvips/base/hps.pro>.
</texlive/2020/texmf-dist/fonts/type1/public/lm/lmr10.pfb>[1] [2]
<./head.tmp><./body.tmp>
.
[verbose]: Backing up 'debug_2.ps'. Going to change %%Title line.
[verbose]: %%Title: line found and changed.
[verbose]: Title change completed.
[verbose]: Backing up 'debug_2.ps'. Going to add a name/date stamp to it.
[verbose]: OK, inserting the stamp
[verbose]: Stamping completed.
[verbose]: All done.

[verbose]: AutoTeX process succeeded
[verbose]: Processing DVI
[verbose]: Gzipping and moving debug_2.dvi
[verbose]: Gzipping ...4768457/debug_2.dvi
[verbose]: Processing postscript
[verbose]: Creating AutoTeX file for debug_2.dvi
[verbose]: Creating AutoTeX file for debug_2.dvi.gz
[verbose]: Creating AutoTeX file for debug_2.ps
[verbose]: Creating AutoTeX file for debug_2.tex
[verbose]: Creating AutoTeX file for geometry.sty
[verbose]: Gzipping ...4768457/debug_2.ps
[verbose]: Moving .../4768457/debug_2.ps.gz => .../4768457/tex_cache/4768457.ps.gz

[verbose]: Moving .../4768457/debug_2.dvi.gz => .../4768457/tex_cache/4768457.dvi.gz

[verbose]: All generated files successfully moved.
[verbose]: ** AutoTeX job completed. **

相关使用“预编译”辅助文件来避免 arxiv 的限制

答案1

这是由于 arXiv 的默认行为首先通过 latex 运行,而 autotex 不允许动态图形转换。因此,像 pgf/tikz 图像这样的图像在纯 latex 下可能完全或完全不起作用(或按预期起作用)。但是,使用 pdflatex 代替 latex 可以完全改善这种情况。可以通过将标志设置pdfoutput为 1 来在 arXiv 中强制执行此操作:

\pdfoutput=1

作为 tex 的第一行,这会强制它退出 dvi 模式。将这一行添加到 MWE 中,我现在得到了预期的输出。您可能还想明确添加到a4paper对类的调用中(就像我在屏幕截图中所做的那样),因为如果没有这个明确的调用,arXiv 可能会尝试将几何的页面大小放在信纸大小的纸张上,如我们的帮助页面所述

用户提供的 MWE 图像输出,添加了一行修复

相关内容