Tips for submitting to arXiv for the first time

Standard

Today I successfully submitted my first paper to arXiv!  We’ve submitted this paper to a journal, but it hasn’t been published yet, so we wanted to get a pre-print up before advertising the corresponding software packages.  Unfortunately, the process of submitting to arXiv wasn’t painless.  Now that I’ve figured out some of the quirks, however, hopefully your first submission can go a little more smoothly than mine did.

After registering, the first unpleasant surprise was that arXiv doesn’t accept PDF documents created from LaTeX code.  You must submit your LaTeX code and all supporting files.  As far as I can tell, these have to be uploaded one-by-one.  Sorry, I didn’t figure out a way around that one (but let me know if you do!).

After verifying that my code compiled without errors on my computer, I uploaded all my documents, hit “Process”, and … long page of errors!  It turns out arXiv doesn’t accept .bib files and instead requires .bbl files for BibTeX.  So I thought, “this will be easy” and uploaded my .bbl file instead.  I again hit “Process”, and … another long page of errors!

I wasn’t sure how to interpret these errors, so … I gave up for a while.  A few weeks later, I decided to give it another go.  I realized that I had made a couple of mistakes the first time:

  1. Several of my graphics were in PDF format.  This is fine, but I needed to include this line at the top of my preamble (top of my .tex document) to ensure that the .tex file is built using PDFLaTeX instead of LaTeX:
    \pdfoutput=1
  2. I had probably uploaded some unnecessary files, such as graphics that weren’t included in the final version.  ArXiv doesn’t like this.  Make sure only necessary files are uploaded.

Fixing those two things resulted finally in an error-free compilation.  Horray!  (If at this point you are still struggling with compilation errors, I highly recommend reading arXiv’s help page on Considerations for TeX Submissions.)

One final annoyance was the abstract.  I had included an abstract in my document, but arXiv has its own abstract form, and my current abstract exceeded the character limits.  Once I had pared it down, however, I got a couple of errors related to “unknown characters”.  I didn’t have anything crazy in the text, so this seemed a little ridiculous, but I went ahead and removed a ‘%’ sign and a couple of quotation marks and hyphens, which took care of the errors. I then went back and removed the abstract from the .tex document and re-uploaded it.  Submission (finally) complete!

Props to arXiv for a very nice set of help pages, the most relevant of which for this post is Submitting an Article.  This includes links to the TeX Submissions help page referenced above, among many others.

P.S. If you’re curious about the paper, it’s titled “Improving Reliability of Subject-Level Resting-State fMRI Parcellation with Shrinkage Estimators” and is available here.

Advertisements

23 thoughts on “Tips for submitting to arXiv for the first time

  1. I’ve never submitted to arXiv, just to BEPRESS/COBRA. Submission is easy for anyone in our department – just send the pdf to Patty and she takes care of everything! I’m wondering if anyone could comment on the relative advantages/disadvantages of arXiv vs. BEPRESS/COBRA (other than the actual submission process, which seems to be much harder for arXiv and is the reason I’ve never done it).

    • I’d also be interested to know the pros/cons of arXiv vs BEPRESS. I decided to submit to arXiv because I have the impression it’s more well-known, but I’d love to hear other opinions.

  2. scriminus

    I believe arXiv will accept a .zip or .tar archive with your files, to save you uploading then one at a time.

    Congrats on submitting your first paper!

  3. John

    I believe arXiv will accept a .tar or .zip archive containing your files, to save you uploading them individually in future.

    Congrats on submitting your first paper!

  4. I have figured out a way around to submitting all the latex source files. Instead what we can do is generate a PDF out of Latex source file and then create a .tex source code which accepts your pdf as input. Ultimately, one would have to only submit the new .tex source code and the previously generated pdf file at arxiv portal… Voila…All done…

    I have shown here, how one can proceed…

    \documentclass[a4paper]{article}
    \usepackage{pdfpages}
    \pdfoutput=1

    \begin{document}
    \includepdf[pages=1-last]{filename.pdf}
    \end{document}

    file name would be the PDF file generated by your previous Latex code.

  5. Viplove Tyagi

    Hi,
    I’m not sure if anyone does this, but I always upload pdf documents created from MS Word (2013/later). I haven’t included any figures yet so I’m not sure if that’d create a problem, but so far it has been pretty smooth, as far as weird symbols and equations go.

  6. Marco Stamazza

    The \usepackage{pdfpages} trick didn’t work for me (Dec 3 2016).
    I understand not submitting the LaTex files is “cheating” according to arXiv rules. However, I do resent making my LaTex files public and note that in the “why submit latex” (https://arxiv.org/help/faq/whytex) there isn’t a single word about why they need to make the source publicly available.

  7. carlo giunti

    The Arxiv automatic latex processing is painful, I spent hours trying to fix something that works on my PC. We cannot spend all this time for this nonsense. Of course people try to find workarounds.
    We need something fast and working, no other nonsense!

    • Helen

      So totally agreeing. It shouldn’t be called “cheating”. I’ve spent hours trying to get arxiv latexing work, while I should be working on finishing my document and uploading it as fast as possible instead. I’ll try the workaround.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s