Linked Questions

4
votes
1answer
82 views

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 ...
1
vote
0answers
69 views

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....
63
votes
9answers
29k views

Need *.aux file in separate folder

When compiling with pdflatex we need the *.aux files in a separate folder.
77
votes
2answers
54k views

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 ...
5
votes
1answer
2k views

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 ...
6
votes
1answer
4k views

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 https://github.com/abntex/abntex2 and CTAN. [Compiling D:\test2.tex] Basic Builder: running pdflatex......
10
votes
1answer
335 views

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 ...
6
votes
2answers
250 views

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 ...
13
votes
1answer
294 views

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 ...
9
votes
1answer
265 views

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.
5
votes
1answer
448 views

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,...
1
vote
1answer
145 views

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, ...