Since arXiv is still using outdated libraries, it doesn't have an up to date TikZ version, which is very inconvenient for me since I'm using TikZ 3.0. Consequently, I get lots of error messages when I submit my article like missing tikzlibraryquotes.code.tex or tikz-cd isn't working properly or doesn't accept certain arguments.

What do I do?

  • 2
    externalise your images – percusse Jan 14 '16 at 13:01
  • @percusse, if you use tikz-externalise, your article will still try to use the same packages, so e.g. the error with tikzlibraryquotes.code.tex will not go away – Turion Jan 14 '16 at 13:02
  • I meant only externalize not TikZ library – percusse Jan 14 '16 at 13:43
  • @percusse, then I don't understand what your solution is. Can you post an answer? – Turion Jan 14 '16 at 18:20
  • 1
    arXiv will be rebuilding their TeX in the next few months. You might try again once they roll out the new build. – shmuel Nov 1 '16 at 18:17

Until arXiv have updated their TexLive distribution, and you don't want to upload your graphics as separate, precompiled files, you can only upload all of TikZ and PGF together with your article. Here is how (assuming Linux):

Create an empty directory pgftikz and copy all files that belong to TikZ and PGF in there, without the directory structure ("flatly"):

find /usr/share/texmf-site/tex/generic/pgf/ -type f -exec cp {} pgftikz/ \;

The path of your TikZ and PGF package might differ.

Put all these files in a .tar.gz archive (without the pgftikz directory) and upload that to your submission.

  • 4
    @percusse, it's a nasty, nasty workaround, and I asked the arXiv admin whether it really has to be done, but he stopped responding at some point. – Turion Jan 14 '16 at 18:20
  • 2
    Just wanted to say that arXiv people have finally responded, they're busy people :) – Turion Jan 14 '16 at 22:08
  • 1
    And what did they say in their response? I've done a similar thing to use breqn in a submission which needs to be updated soon. – Nathan Musoke Jan 23 '16 at 9:32
  • 2
    @msk, I had already uploaded the article with the above strategy, so there was nothing else to be said – Turion Jan 23 '16 at 11:01
  • 1
    On OS X, using MacTeX, you'll need to replace the path above with /usr/local/texlive/2016/texmf-dist/tex/generic/pgf/, changing the year as appropriate. – Scott Morrison Jan 2 '17 at 22:23

arXiv just updated to TeXLive 2016 last week, see https://arxiv.org/new#feb10_2017

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.