The tag has no wiki summary.

learn more… | top users | synonyms

53
votes
5answers
78k views

How to convert PDF to (La)TeX?

I know that hardly any information is passed to the PDF when a .tex file is compiled. But is there a tool that can convert a PDF document back to (La)TeX?
89
votes
3answers
4k views

Is there some way to embed LaTeX source code in a PDF file?

Several times now I have inadvertently lost the .tex file that generated a PDF file with pdflatex. Given what I know of the internal structure of PDF files, it should be possible to embed a text file ...
2
votes
1answer
2k views

How to include all files within a directory relative to the edited *.tex-file?

I am writing my reports which need to reference complete *.java files with latex. I am using the Texlipse Eclipse plugin to do the editing. Right now I am referencing the complete path to each ...
6
votes
3answers
4k views

Indentation and line wraps in TeXShop

As pointed out in this question, in TeXShop there is no way to make source paragraphs (i.e. long lines with no hard wraps) follow source indents automatically, that is, while typing. The solution ...
3
votes
2answers
439 views

Adding extra lines/spaces in source, *not* affecting semantics

I'm editing a file with quite huge interleaves of text and formulas like this lorem ipsums \begin{align} foo & bar\\ qux & rofl\\ & toto \end{align} lorem ipsums … And I face ...
11
votes
1answer
382 views

Get current source line number

How can I get the current .tex source line number? I want to use it to generate useful error messages in a package I am writing. There are some errors that can only be detected at the end of the ...
5
votes
1answer
302 views

What is the right way to indent your source code?

This is probably a really basic question: When I write code, I want to achieve a logical and readable structure of the lines, where I can see which brace closes which brace. \begin{equation} ...
5
votes
1answer
156 views

How to create two PDFoutput from the same source

I have a very long source file. I would like to prepare from this source two PDF files: PDF contains all of the source file PDF containing only a few, marked earlier parts of the source file. How ...
7
votes
3answers
695 views

Long paragraphs follow source indents in TeXShop

How do I make long paragraphs follow the source indents in TeXShop? This what I usually get: How do I make succeeding lines follow the indent of the first line? This is so that it would be easier to ...
3
votes
2answers
620 views

Possible to Convert Math in Picture into LaTeX? How?

Is it feasible to convert math in a picture, say written by hand, into LaTeX? For example, I'd deem it faster to write down (de novo) a 10 x 10 matrix with long, complex entries, rather than typing ...