Since several other methods didn't work (e.g. resetting the PDF producer metadata via hyperref or a PDF editor, or trying a Print As PDF hack through a web browser or Google Drive), here's a simple one that's worked for me in Nov 2019. It's specific to command-line users, though, but that also means that it can be conveniently automated as part of your document build process.
Just process your PDF to Postscript with pdf2ps
, and then back again with ps2pdf
:
pdf2ps mydoc.pdf
ps2pdf mydoc.ps
That's it.
This seems to reset enough that arXiv doesn't detect the TeX origin of the document, but I don't see any significant detriment to the output. In particular I wanted to upload in this form for a special document -- not a paper, but of interest to the arXiv community -- where I was using custom fonts and XeLaTeX, and those fonts were preserved by the PDF/PS/PDF round-trip.
Here's a sample Makefile to automate this along with the rest of the build (for a simple 2-pass, standalone XeLaTeX compilation):
.PHONY = all clean
BASENAME = mydoc
all: $(BASENAME).pdf $(BASENAME)-arxiv.pdf
clean:
rm -f $(BASENAME).pdf $(BASENAME).aux $(BASENAME).log $(BASENAME).out $(BASENAME)-arxiv.*
$(BASENAME).pdf: $(BASENAME).tex
xelatex $< && xelatex $<
$(BASENAME)-arxiv.pdf: $(BASENAME).pdf
cp $< $@ && pdf2ps $@ && ps2pdf $(@:.pdf=.ps) && rm *.ps
Needless to say -- I hope -- this is to be used for exceptional cases where you really want/need features unsupported by arXiv's AutoTeX processing.
It would be nice if it were possible to also provide the source without it being compiled, but my attempt to include the .tex
file in the anc
subdirectory for ancillary material itself led to a processing error, because currently "Please note that ancillary files are not supported with PDF submissions at this time." on https://arxiv.org/help/ancillary_files . This may be fixed by the time you're reading this.
.bbl
that should be auto-generated appropriately. And if there is a version mismatch between your LaTeX version and the arXiv version, it does not work. This makes for example the popularbiblatex
package unusable with arXiv. It's so stupid that they do not allow you to choose to run bibtex or biber. – Erich Schubert Oct 12 '18 at 19:17