1

A year and a half ago (29 Apr 2019) I uploaded a tex file to arxiv.org, and it compiled successfully. The document is online and it looks fine. It contains several basic TikZ pictures, for example

enter image description here

Today I wanted to update the file. Before changing the file, I tried to reupload it to make sure everything was working ok. Arxiv claims to compile the file successfully but, to my surprise, the figures are now not rendered:

enter image description here

Also, the hyperref links are no longer clickable, e.g.

enter image description here

vs.

enter image description here

This is my preamble:

\documentclass[12pt]{article}
\usepackage{mathtools,amssymb,mathrsfs,microtype,tikz}
\usepackage[
 colorlinks=true,
 linkcolor=blue,
 urlcolor=blue,
 citecolor=red,
 pdfstartview=FitV,
 linktocpage
 ]{hyperref}
\pdfoutput=1
\usepackage[backend=bibtex,style=numeric-comp,sorting=none,maxbibnames=99, minbibnames=99]{biblatex}
\addbibresource{references.bib}

(There are also a couple of renewcommands and DeclareMathOperators)

To be clear, both compilations refer to the exact same tex file.

Is this just an issue with the preview? Or will these problems remain in the final version?

Did arxiv change its compiler since then? (I have uploaded other files recently, with no problems). Should I get in contact with arxiv directly? Or is this something I can fix myself?

7
  • arxiv uses texlive 2020 now, but without some code it is not possible to say if this is the source of your problem. Jan 11, 2021 at 22:11
  • @UlrikeFischer Would a copy of the log file help? here are the links: pastebin.com/aJngAYV9, pastebin.com/K5c06ezt, pastebin.com/ANJWpPrd (broken into three, too long for a single file)
    – Delmastro
    Jan 11, 2021 at 22:17
  • oh come on, did you never look at them? You get tons of warnings and even an error. Jan 11, 2021 at 22:30
  • @UlrikeFischer sure, that's my issue: there were no errors or warnings the first time I compiled this file. And it is the same file! So my question is, what recent changes in the compilation engine broke my file? Are there any workarounds? (BTW, the file also compiles just fine locally, with no errors or important warnings).
    – Delmastro
    Jan 11, 2021 at 22:32
  • 1
    @UlrikeFischer Thanks, it seems that was the problem! It's funny because in the past, I was not able to compile files on arxiv without that command (which was recommended by arxiv itself, see arxiv.org/help/submit_tex). And now it is the other way around! Anyway, thank you for your help :-)
    – Delmastro
    Jan 11, 2021 at 23:38

1 Answer 1

1

You are setting \pdfoutput=1 after loading tikz and hyperref. Depending on the compilation method used this can heavily confuse the compilation.

\pdfoutput should normally not be set in a document, or only at the very begin.

3
  • should we delete the comments below the OP? it seems they were a bit of a red herring
    – Delmastro
    Jan 11, 2021 at 23:45
  • For arXiv's automatic TeX compilation to know that it should use pdflatex, I believe you need to include \pdfoutput=1 in the first few lines of the file. Otherwise it uses latex. Jan 31 at 18:04
  • @BrunoLeFloch That is one of the exceptions and for it applies the "only at the very begin" principle. If you change pdfoutput you must ensure that every code that cares about it sees the same value. Jan 31 at 18:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.