Linked Questions

259 votes
23 answers
138k views

Speeding up LaTeX compilation

Usually I don't mind about LaTeX's compilation speed, because a paper of less than 20 pages is compiled rather fast. However, I am working on a large document - A report with more than 80 pages. ...
Little Bobby Tables's user avatar
162 votes
4 answers
113k views

How to properly 'make' a latex project?

I've got a latex project that looks like this: project/ |-- main.tex |-- main.bib |-- preamble.tex |-- preamble.fmt |-- makefile The preamble (preamble.tex) is being precompiled into ...
romeovs's user avatar
  • 9,102
29 votes
2 answers
7k views

Is there a way to compile tikz graphics outside a document?

As my document grows, so does the number of drawings. I am using PGF/TikZ and each drawing is what is enclosed between \begin{tikzpicture} and \end{tikzpicture}. Every time the document is compiled, ...
Reinhard Neuwirth's user avatar
13 votes
5 answers
3k views

Speed up LaTeX compilation on a document with lots of automatically created tables

I know that similar ground has been covered before (e.g. Speeding up LaTeX compilation), but this question is more specific. I want to create some reports programmatically, so I wrote a program that ...
pmav99's user avatar
  • 6,060
24 votes
3 answers
3k views

Precompile header with xelatex

I read about precompiling the preamble in https://tex.stackexchange.com/a/15606/4918 and it worked fine with pdflatex but how can I do this for xelatex? I tried xelatex -ini -shell-escape -job-name="...
Tobi's user avatar
  • 56.4k
7 votes
4 answers
4k views

Automatically start the necessary pdflatex runs if .tex has changed (MacOS X)?

I read about Latex Daemon, which seems to automatically start a new latex run, when the source document (.tex) has changed. Can somebody recommend me a similar solution for MacOS X (as Latex daemon ...
MostlyHarmless's user avatar
50 votes
1 answer
5k views

Speeding up compilation using precompiled preamble with LuaTeX

Compiling my documents with lualatex takes quite long. I have a complex preamble, and I noticed that it takes long to process this part of the file. Today, I came across this website, which proposes ...
Ingo's user avatar
  • 20k
11 votes
3 answers
681 views

how to cause unix 'make' to know how many times to run *tex

Is there a clever way to cause the unix make command to run a tex variant as many times as are required to resolve all references? I've used tex for a long time, and I still don't know which of all ...
dank's user avatar
  • 2,189
18 votes
1 answer
1k views

how to compile without producing output

Is there any way to run LaTeX without it trying to produce output, only producing an .aux file with section, equation, table, figure, references, etcetera. I understand it obviously can't produce ...
JPi's user avatar
  • 13.6k
8 votes
1 answer
1k views

Precompiled header in Lualatex on Windows?

I am trying to typeset a longer document with lots of packages. Now it seems that pre-compiling the header can speed up the edit-compile-revise cycle quite a bit. I tried to follow the guideline from ...
Alexander's user avatar
  • 9,163
2 votes
1 answer
1k views

How to load precompiled preamble from a specific folder?

According to this line How to speed up pdflatex for a very large document on MacOS X? . Precompile preamble significantly speed up pdflatex compilation. The method is to generate a precompile.fmt ...
user15964's user avatar
  • 865
9 votes
1 answer
831 views

What affects compilation times, especially in longer documents?

I'm about to start working on my dissertation in LaTeX. It will be the first thing I've worked on longer than ~80 pages and will likely include more figures than is usual for me. Since I compile ...
Dennis's user avatar
  • 3,855
1 vote
2 answers
164 views

Are there any Xetex compilers that skip recompiling unchanged \input{ } files?

TexStudio is great, but I notice that the compile time is always the same (~25 seconds). Logically, a compiler should skip recompiling \input files if they have not been edited. Are there any such ...
Scot Parker's user avatar
3 votes
0 answers
776 views

LaTeX to Windows Executable?

I have a .tex file that uses a specific 5-digit number (that I change in the document whenever I run it) and a .csv file to generate a PDF document. A co-worker of mine wants to use it, but ...
FissionChips's user avatar
3 votes
0 answers
204 views

Is it possible to keep TeX initial files (.sty, .cfg, .def) in memory in order to speed up each compilation?

I often use LaTeX to write documents and use TikZ/PGF to draw multi-page pictures. However, one common issue (which has been discovered hundreds of times) is that even small change will take some ...
Hansimov's user avatar
  • 378

15 30 50 per page