Linked Questions

4 votes
1 answer

Example of LaTeX code that does not compile [duplicate]

In the excellent answer by egreg to the question How Does Latex Know the Page Number of a Reference he said that [t]his is not completely foolproof and there are examples around of cleverly written ...
nok93's user avatar
  • 41
1 vote
0 answers

Challenge: Shortest Infinitesimally Unlikely Document: "ordinary" document forever requesting: "rerun to get cross-references right". t" [duplicate]

Stop reading here if you do not like stupid yet amusing challenges. Challenge: produces the shortest document yielding LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right....
Yossi Gil's user avatar
  • 16k
130 votes
19 answers

How to prolong compilation time while engaging in leisure activities?

I thought of that old joke today, where a programmer can make an undeniable excuse for his leisure activities while in work on the basis that he is just waiting for his code to compile. Although I am ...
Harold Cavendish's user avatar
78 votes
10 answers

Need *.aux file in separate folder

When compiling with pdflatex we need the *.aux files in a separate folder.
S. Murugan's user avatar
  • 1,139
87 votes
2 answers

Understanding how references and labels work

I'm trying to understand why I cannot effectively reference figures or equations that I have defined with labels. For example: \begin{figure} \label{fig:area_Treasuries} \caption{Treasuries as a ...
zpesk's user avatar
  • 1,035
10 votes
2 answers

Why doesn't LaTeX implement single pass references?

Example: \documentclass{article} \begin{document} \section{Power series}\label{ps} \begin{equation} \label{eq} \sum_{i=0}^\infty a_i x^i. \end{equation} The equation \ref{eq} is a typical power ...
User's user avatar
  • 2,530
10 votes
1 answer

How does the LaTeX compile chain work exactly?

This might be a simple or out of place question, but I have run into so many subtleties of document compilation, that I really just need to understand this from the ground up. Could someone please ...
Forkrul Assail's user avatar
7 votes
3 answers

What is a function f(n) returning LaTeX code requiring exactly n compilations to yield stable output?

Is there a (simple) recipe for producing LaTeX code requiring exactly n compilations? (That is, I'm looking for an algorithm/function f(n) with domain {1, 2, 3, ...} and LaTeX code as its range.) If ...
Lover of Structure's user avatar
7 votes
1 answer

LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right

Why I am getting undefined references? The class abntex2 based on memoir and it is available on and CTAN. [Compiling D:\test2.tex] Basic Builder: running pdflatex......
user's user avatar
  • 4,785
13 votes
1 answer

The LaTeX runs (with varioref) never settle down to a stable final state

This is something which has happened for real in a document where I am using varioref. The LaTeX runs never end, a text chunk keeps on being moved back and forth accross a page break (naturally with ...
user avatar
12 votes
1 answer

Avoid infinite compiler passes with biblatex ibid citation styles?

I've run into a problem when using both gb4e and the authoryear-icomp style of biblatex. [I mistakenly thought gb4e had something to do with this, so this question was originally named Avoid clash of ...
mach's user avatar
  • 923
9 votes
1 answer

Limit pdflatex execution time

Is there any way to limit pdflatex execution time ? It would be nice if the value could be added to the texmf file.
pmagunia's user avatar
  • 263
5 votes
1 answer

Number of Compilations

I know when I have a .bib file I need to do the following compilation order: Latex compiler biber Latex compiler Latex copmiler But what about when I'm not using a .bib file? How many times do I ...
Nukesub's user avatar
  • 617
6 votes
1 answer

Determine required number of pdflatex runs to generate complete document [closed]

Background Looking to generate a PDF using latexmk. The LaTeX document, which is automatically generated from a web-based application, will include many large images, Tikz graphics, table of contents,...
Dave Jarvis's user avatar
1 vote
1 answer

Avoiding widows while keeping text height even across two-page spread

In The Elements of Typographical Style, the author notes (§2.4.8) that widows—single lines occurring at the top of a page—should be avoided. Yet the text height of two facing pages should be the same, ...
Micah Walter's user avatar