I have a PDF file (example), which was generated from TeX. Is it possible to convert into a tex file, or obtain the
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.Sign up to join this community
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).