I want to the tex files from PDF files. I have the PDF files that I get in Internet and have a lot of mathematics, so I want to convert PDF files into tex files. I researched in these forum, and following links may be related ,but I couldnt understand clearly. Is there some way to embed LaTeX source code in a PDF file? Embed link to an embedded file

Please teach me are there any ways, or teach me how to use.

Thank you.

January,3rd i added. What i want is OCR,not embedded. i want pdf or images to detect the text words into tex.

  • 1
    you can't extract actual tex code from a pdf file unless the originator has explicitly included it. the first question that you cite tells how to embed such a file, but you want the opposite. – barbara beeton Dec 31 '14 at 13:10
  • attachfile package perhaps? – user31729 Dec 31 '14 at 13:13

you can try this package http://distrib-coffee.ipsl.jussieu.fr/pub/mirrors/ctan/macros/latex/contrib/embedall/embedall.pdf

who use the embedfiles package







enter image description here

  • I don't see how this could solve the problem. The OP wants to extract the code from the pdf output (to save retyping time, for example). – Sigur Dec 31 '14 at 14:38

Not the answer you're looking for? Browse other questions tagged or ask your own question.