arxiv 提交中的 Hyperref 错误

arxiv 提交中的 Hyperref 错误

我正在尝试将我的文档提交给arxiv,但它给出了错误(可能与 有关hyperref)。我的代码可在此处获取:https://www.overleaf.com/8195616gtsnqfwfbrct#/28970542/

但我认为比较重要的部分如下:

我的 tex 文件中有以下设置:

\documentclass[conference]{IEEEtran}
\usepackage{authblk}
\usepackage{rerunfilecheck}
\usepackage{xparse}
\usepackage[ruled,vlined,linesnumbered]{algorithm2e}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{color}

arxiv日志文件部分内容如下:

LaTeX2e <2016/03/31> patch level 3
Babel <3.9r> and hyphenation patterns for 83 language(s) loaded.
(./IEEEtran.cls
Document Class: IEEEtran 2007/03/05 V1.7a by Michael Shell
-- See the "IEEEtran_HOWTO" manual for usage information.
-- http://www.michaelshell.org/tex/ieeetran/
(/texlive/2016/texmf-dist/tex/latex/psnfss/ot1ptm.fd)
-- Using 8.5in x 11in (letter) paper.
-- Using DVI output.
-- This is a 10 point document.
) (/texlive/2016/texmf-dist/tex/latex/preprint/authblk.sty)
(/texlive/2016/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty
(/texlive/2016/texmf-dist/tex/latex/oberdiek/kvoptions.sty
(/texlive/2016/texmf-dist/tex/latex/graphics/keyval.sty)
(/texlive/2016/texmf-dist/tex/generic/oberdiek/ltxcmds.sty)
(/texlive/2016/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
(/texlive/2016/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/texlive/2016/texmf-dist/tex/generic/oberdiek/etexcmds.sty
(/texlive/2016/texmf-dist/tex/generic/oberdiek/ifluatex.sty))))
(/texlive/2016/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
(/texlive/2016/texmf-dist/tex/generic/oberdiek/ifpdf.sty))
(/texlive/2016/texmf-dist/tex/latex/oberdiek/atveryend.sty)
(/texlive/2016/texmf-dist/tex/generic/oberdiek/uniquecounter.sty
(/texlive/2016/texmf-dist/tex/generic/oberdiek/bigintcalc.sty)))
(/texlive/2016/texmf-dist/tex/latex/l3packages/xparse/xparse.sty
(/texlive/2016/texmf-dist/tex/latex/l3kernel/expl3.sty
(/texlive/2016/texmf-dist/tex/latex/l3kernel/expl3-code.tex)
(/texlive/2016/texmf-dist/tex/latex/l3kernel/l3dvips.def)))
(/texlive/2016/texmf-dist/tex/latex/algorithm2e/algorithm2e.sty
(/texlive/2016/texmf-dist/tex/latex/base/ifthen.sty)
(/texlive/2016/texmf-dist/tex/latex/tools/xspace.sty)
(/texlive/2016/texmf-dist/tex/latex/relsize/relsize.sty)
********************************************************
Package `algorithm2e' Release 5.1 -- october 19 2015 --
- [email protected] mailing list for announcement about releases
- [email protected] mailing list for discussion about package
subscribe by emailing [email protected] with 'subscribe <list> <firstname name>'
- Author: Christophe Fiorio ([email protected])
********************************************************
) (/texlive/2016/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/texlive/2016/texmf-dist/tex/latex/amsmath/amstext.sty
(/texlive/2016/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/texlive/2016/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/texlive/2016/texmf-dist/tex/latex/amsmath/amsopn.sty))
(/texlive/2016/texmf-dist/tex/latex/amsfonts/amssymb.sty
(/texlive/2016/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
(/texlive/2016/texmf-dist/tex/latex/graphics/graphicx.sty
(/texlive/2016/texmf-dist/tex/latex/graphics/graphics.sty
(/texlive/2016/texmf-dist/tex/latex/graphics/trig.sty)
(/texlive/2016/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(/texlive/2016/texmf-dist/tex/latex/graphics-def/dvips.def)))
(/texlive/2016/texmf-dist/tex/latex/graphics/color.sty
(/texlive/2016/texmf-dist/tex/latex/graphics-cfg/color.cfg)
(/texlive/2016/texmf-dist/tex/latex/graphics/dvipsnam.def))
(/texlive/2016/texmf-dist/tex/latex/hyperref/hyperref.sty
(/texlive/2016/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty
(/texlive/2016/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty))
(/texlive/2016/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
(/texlive/2016/texmf-dist/tex/latex/oberdiek/auxhook.sty)
(/texlive/2016/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/texlive/2016/texmf-config/tex/latex/latexconfig/hyperref.cfg)
(/texlive/2016/texmf-dist/tex/latex/url/url.sty))

Package hyperref Message: Driver (default): hdvips.

(/texlive/2016/texmf-dist/tex/latex/hyperref/hdvips.def
(/texlive/2016/texmf-dist/tex/latex/hyperref/pdfmark.def))
(./commondefinitions.tex))
*
! Emergency stop.
<*> settings.tex

No pages of output.
Transcript written on settings.log.

答案1

来自 Noshad 链接的文档评论

\pdfoutput=1
\input{settings}
\begin{document} 
\input{title}
\input{abstract}
\input{introduction}
\input{numerical}
\bibliographystyle{ieeetr}
\bibliography{citations.bib}
\end{document}

然后.log问题的文件给出了一些线索。它以以下内容结尾:

*
! Emergency stop.
<*> settings.tex

No pages of output.
Transcript written on settings.log.

观察结果:

  • 星号表示 TeX 需要输入,因此它还没有完成工作,就像 中那样\end{document}

  • 作业名称为settings,它是主文档中第一个可能包含序言的输入文件。

  • 的默认驱动程序hyperref报告为hdvips

    Package hyperref Message: Driver (default): hdvips.
    

    但是,主文件从切换到 PDF 模式开始:

    \pdfoutput=1
    

    那么 的默认驱动程序hyperrefhpdftex

结论:

主 TeX 文件从未被执行过。相反,它settings.tex被用作主文档,只有前言,没有文档主体。

相关内容