90 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 ...
72 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....
9k views

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 ...
35k views

Need *.aux file in separate folder

When compiling with pdflatex we need the *.aux files in a separate folder.
63k 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 ...
1k views

Why doesn't LaTeX implement single pass references?

Example: \documentclass{article} \begin{document} \section{Power series}\label{ps} $$\label{eq} \sum_{i=0}^\infty a_i x^i.$$ The equation \ref{eq} is a typical power ...
3k 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 ...
7k 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......
375 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 ...
428 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 ...
280 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 ...
299 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.
545 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,...