TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
How to convert PDF to (La)TeX?

Has anyone written a piece of code that (at least) tries to reconstruct (standard) LaTeX from a compiled PDF file? I mean, identifying indices and exponents, common fonts, footnotes, linebreaks should mostly be algorithmizable, if somewhat error-prone. Basically I am looking for an approximative section of the map pdflatex: tex → pdf which does most of the work, leaving maybe a few minor corrections (but not the whole design) to be done at hand.

No, I am not asking for an auto-plagiarizer tool. I am sure I am not the only one here with data loss issues...

share|improve this question

marked as duplicate by Jake, Caramdir, Alan Munn, lockstep, Joseph Wright Sep 20 '11 at 5:51

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Thanks, can be closed probably. – darij grinberg Sep 20 '11 at 2:09
While many users here are mathematicians there are many non-mathematicians here as well. Writing something like “section of the map pdflatex: tex → pdf” will probably not be universally understood and diminishes your chance of answers (also, we don't have any inline TeX renderer, hence my edit). – Caramdir Sep 20 '11 at 2:11
If you want this for your own files because you have lost the source code somehow (as your last sentence suggests), you may want to have a look at Is there some way to embed LaTeX source code in a PDF file? to prevent this in the future. – diabonas Sep 20 '11 at 9:56

Have a look at InfinityReader. It is designed to convert OCRed text to latex (and does a fairly good job at that). I don't know if it can directly read pdf files.

share|improve this answer

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