I have a PDF file (example), which was generated from TeX. Is it possible to convert into a tex file, or obtain the .tex
source?
Thanks
I have a PDF file (example), which was generated from TeX. Is it possible to convert into a tex file, or obtain the .tex
source?
Thanks
You are lucky, because arXiv accepts LaTeX submissions and also provides the source code submitted by the authors.
To check whether the source of an article is available, click the “Other formats” link (if this is not there, no sources).
The next step is to click “Download source”
You will receive the source in a compressed format. There is no file extension, which might confuse most file browsers. The file type is a gzipped tar archive, so simply add a .tar.gz
file extension. Then open it in your favourite archive program (e.g. 7-Zip).
Sorry, but not possible.
Of course you can copy and paste the text into your own *.tex file, but it is not possible to distill the original file from the pdf.
.pdf
, like so: arxiv.org/abs/1803.09123. Then you can click “other formats” under “Downloads” in the right-hand-side sidebar. That will take you to a URL like arxiv.org/format/1803.09123, from which you can download the source. (In this case, it happens to be a TAR archive (as revealed byfile
on Unix), and the 8 files in it can be extracted withtar xvf 1803.09123
.)