Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm talking about a pdf document that was created via LaTeX (probably pdflatex) but the tex source of which is not available. I'd appreciate a solution that is less manual than trying to convert the pdf to tex and then changing the style (if that even works, the only answer there suggests it's far from functional).

edit with more readable I meaning changing the style in the original but unknown tex source such that I obtain a pdf that looks like e.g. a publication instead. This would of course in the ideal case include the pages renumbered etc. - so maybe it's impossible to achieve without texifying the pdf somehow first...


edit2 For those interested in this, a SU question about batch cropping pdfs mentions two tools that might be useful: briss, which crops borders (so that a two pages per page printing remains readable) and k2pdfopt which even rearranges a document's structure (untested).

share|improve this question

closed as off topic by Joseph Wright May 10 '11 at 15:54

Questions on TeX - LaTeX Stack Exchange are expected to relate to TeX, LaTeX or related typesetting systems within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

    
@Tobias I think if there would be a better solution someone would have mentioned it... tex->pdf is pretty much a one way street and there is no going back, at least not with little effort –  Martin H May 10 '11 at 12:53
    
@MartinH: I'm afraid so... –  Tobias Kienzler May 10 '11 at 13:46
1  
@Tobias: No, you can forget about that. Maybe Adobe Acrobat (the full thing, not the Reader) can do some of that, but I would be very surprised if it happens automatically and still looks good. PDF is simply not a format intended to be reformatted later. Adding some notes etc, yes, but not different line breaks with updated numbers... LaTeX can't help you here at all and a straight-forward high-quality PDF-to-TeX is basically not possible. –  Martin Scharrer May 10 '11 at 14:58
1  
@MartinScharrer: I guess you could repost that as answer that I'd accept until proven wrong. if ever... –  Tobias Kienzler May 10 '11 at 14:59
1  
Regarding your edit, pdftk and pdfcrop are included in TeXLive and can do what you describe and more. But that's not what you originally asked for. All of that type of tool treats a page as a single entity and doesn't try to deconstruct it. –  Loop Space Oct 26 '11 at 9:10

1 Answer 1

up vote 5 down vote accepted

No, you can forget about that. Maybe Adobe Acrobat (the full thing, not the Reader) can do some of that, but I would be very surprised if it happens automatically and still looks good. PDF is simply not a format intended to be reformatted later. Adding some notes etc, yes, but not different line breaks with updated numbers... LaTeX can't help you here at all and a straight-forward high-quality PDF-to-TeX is basically not possible.

share|improve this answer
    
accepted until proven wrong... knowing the document was created via latex brute-force tex creation could work, but then again that's not worth the time –  Tobias Kienzler May 11 '11 at 7:30

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