Questions tagged [compiling]

{compiling} is about the process you must go through to convert your TeX from .tex source files into your output document format, be it pdf, dvi, or something completely different.

LaTeX is a compiled markup language, and as such there is a compilation process that needs to be followed to correctly produce output. This can be a long and complicated sequence of steps, with multiple passes being required to successfully build references and tables of contents amongst other things, as well as ensuring that externally generated files are up to date.

2070 questions
92
votes
23 answers

Real Time LaTeX?

Possible Duplicate: Is there any way to get real-time compilation for LaTeX? I'm looking for an application in which I can write pure LaTeX in one half of the screen and on the other half to see the compiled document in real time. This seems…
shoosh
71
votes
7 answers

Compiling only a page range or page selection

How do I easily compile only a page range or page selection? That is, I would like a document that looks exactly like the full document, has only the subset of pages that were manually chosen, by page number (this can be one contiguous range or a…
41
votes
6 answers

Does anyone place anything after \end{document}?

Just like http://programming.itags.org/tex/137196/ I have noticed that everything after \end{document} is ignored. What is the point of \end{document}? It seems that the compiler could just read until the end of the file instead of until…
N.N.
  • 36,163
30
votes
3 answers

What are the situations where you have to compile a document more than once?

You have to compile a file twice to get the desired output in the accepted answer to Lineno for 2 column. The accepted answer to How can I avoid compiling twice? provides a way to avoid compiling multiple times. My question is, what are those…
Sony
  • 3,920
24
votes
1 answer

Why are my Latex compile times varying massively?

I've been using Latex for several years, but recently I've found that I can get crazily varying compilation times. For example: I am currently working on a ~15 page document with around 10 high quality eps/pdf figures and a bibtex bibliography. I…
RTunnard
  • 243
23
votes
7 answers

Is there a way to find out how long it took for my document to compile?

I was thinking it'd be nice to know how much time each package I load adds on to the total time between clicking "compile" and seeing the PDF come up on my screen, so that I can figure out which ones I shouldn't load unless necessary. If there were…
Zev Chonoles
  • 5,466
  • 5
  • 31
  • 52
19
votes
1 answer

How does LaTeX tell me that it wants to be run a second time?

Sometimes, when I use the longtable package I get a message in the output: Package longtable Warning: Table widths have changed. Rerun LaTeX. I read that it can be as often as three times that XeLaTeX must be run until the message disappears. So…
AndreKR
  • 1,025
18
votes
4 answers

Increase LaTeX capacity

I am trying to compile a TeX file, but after a long time I got this message: l.3593 ...temp.png} If you really absolutely need more capacity, you can ask a wizard to enlarge me. Here is how much of TeX's memory you used: 31937 strings out of…
Alejandro
  • 1,011
17
votes
1 answer

File ended while scanning use of \@writefile

My problem is that if I try to recompile a text after correction of some mistake, e.g. missing "}", the I get a message Runaway argument? {\contentsline {figure}{\numberline {\relax 3.9}{\ignorespaces ! File ended while scanning use of…
redspirit
  • 171
  • 1
  • 1
  • 3
17
votes
1 answer

Undefined control sequence \documentclass

First of all I would like to thank you because you helped me out a lot with all your answers to the already online questions. Now, here is my problem. I am trying to do a bibliography file with TeXworks but I get this error when I try to compile…
jlcivico
  • 385
  • 1
  • 3
  • 9
15
votes
4 answers

What is this mysterious "ecrm1000" missing file?

I am trying to make a pdf from a document I got online, and I have a hard time doing it. Apparently pflatex calls kpathsea, which calls mktextfm, which needs a "ecrm1000" file. A research about it have shown me other logs of error where this appears…
14
votes
2 answers

Executables of formats, engines and executables of engines

Each format has its executable/command, which compiles tex files into a document in dvi, pdf etc. For example for TeX (proper), what is its executable? for Plain TeX, its executable is tex which will turn a plain TeX file into a dvi file. for…
Tim
  • 5,763
13
votes
2 answers

How can I "future-proof" my LaTeX documents so that they can be re-compiled at a later date?

Is there a way to save the "current state" of my TeX installation, the various packages etc. that allow a document to be compiled into a pdf at this moment? In a year or two, I'll probably have a lot of package updates, etc. and it's questionable…
Daniel
  • 730
12
votes
2 answers

Typeset single chapter from book

I am working on a multi-chaptered document, tied together with a main tex file that pulls the chapters in via \include. To build the entire document, in its current draft form, can take upwards of 15-20 minutes, depending on the machine I am working…
12
votes
2 answers

Error in compilation

I tried to compile the following document but got an error. \documentclass[10pt]{book} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{blindtext} \usepackage{siunitx} \sisetup{output-decimal-marker =…
student
  • 123
1
2 3
13 14