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:
- 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
- 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.
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.
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!
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!
Thanks for the tip! I will definitely try that next time.
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.
Wow, that is a great idea! Have you tried it?
Yes…Today itself…That too for the first time…It was my first submission too..
I think this is cheating. There are reasons why they require you to submit the source; see http://arxiv.org/help/faq/whytex. In case the admins notice that you are doing this, I would be surprised if they didn’t react in some way.
Ahh, thanks for pointing this out!
Well I was just pointing out the loophole and it is too difficult for first time submitters to upload a paper on arXiv. So for once we can submit as i said in my previous comment and later on when we get the complete hold of submission process of the source files, edit the submission.
P.S. – I have submitted the complete source file of my paper and the link is given below
http://arxiv.org/abs/1502.04827
A nice way to fool arxiv.. I tried and it worked… Thanks
Thank you from the depths of my heart…
(for anyone who might care to call this “cheating”, see the discussion in the comments below)
There is just one problem. Hyperlinks for references won’t work.
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.
Read your guide and got 0 error in first try. Thank you so much 🙂
Happy to help!
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.
They stated the reason here: https://arxiv.org/help/faq/whytex
Sorry Marco, I just noticed what you are pointing at.
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!
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.
[…] Mandy. “Tips for submitting to arXiv for the first time”. Blog of Mandy Mejia. 18/9/2014. https://mandymejia.wordpress.com/2014/09/18/tips-for-using-arxiv-for-the-first-time/. Consultada el […]
Reblogged this on ML Research and commented:
Have gone through similar process for my paper: https://arxiv.org/abs/1706.06177. Additionally, arxiv stamping was disabled to be able to get it compiled.
[…] Tips for submitting to ArXive for the first time […]
Well if arxiv needs source files they can simply provide a mail ID and we will send all our files. Auto compiling is so tedious and flags errors in sucha unstructured way that anyone making submission for the first time is bund to et overwhelmed, confused and suffocated. ‘Cheating’ cannot be the word to be used in such cases. ARXIV should if possible, build platform like sharelatex or other tex processing platforms that work with ease.