A non-converging LaTeX document

Today, I wrote this LaTeΧ document. It only uses default LaTeΧ functionality, and uses no packages.
If you compile it (twice so that cross references are not ??s), you will get a four page document (pages numbered i to iv), that repeatedly says: "This document ends on page v."
This document ends on page iv and says: "This document ends on page v."
If you then recompile it, you will get a five page document (pages numbered i to v), that repeatedly says: "This document ends on page iv."
This document ends on page v and says: "This document ends on page iv."
Repeatedly compiling it will alternately give these two results, and so the process of compiling this LaTeX document does not converge.
Tags: latex

Similar posts

Happy 3√3+e-√2-5 Approximation Day!
A surprising fact about quadrilaterals
Interesting tautologies


Comments in green were written by me. Comments in blue were not written by me.
 Add a Comment 

I will only use your email address to reply to your comment (if a reply is needed).

Allowed HTML tags: <br> <a> <small> <b> <i> <s> <sup> <sub> <u> <spoiler> <ul> <ol> <li>
To prove you are not a spam bot, please type "uncountable" in the box below (case sensitive):


Show me a random blog post

Jul 2020

Happy 3√3+e-√2-5 Approximation Day!

May 2020

A surprising fact about quadrilaterals
Interesting tautologies

Mar 2020

Log-scaled axes

Feb 2020

PhD thesis, chapter ∞
PhD thesis, chapter 5
PhD thesis, chapter 4
PhD thesis, chapter 3
Inverting a matrix
PhD thesis, chapter 2

Jan 2020

PhD thesis, chapter 1
Gaussian elimination
Matrix multiplication
Christmas (2019) is over
▼ show ▼
▼ show ▼
▼ show ▼
▼ show ▼
▼ show ▼
▼ show ▼
▼ show ▼
▼ show ▼


royal baby wave scattering football data visualisation frobel reddit realhats the aperiodical electromagnetic field geometry binary mathsteroids london underground european cup pac-man books trigonometry harriss spiral folding tube maps simultaneous equations sound misleading statistics advent calendar game of life logs plastic ratio people maths bempp matt parker dates reuleaux polygons royal institution draughts preconditioning platonic solids arithmetic nine men's morris tennis javascript sorting countdown boundary element methods convergence matrix of cofactors news ternary big internet math-off computational complexity pizza cutting logic error bars polynomials national lottery mathsjam coins exponential growth bodmas matrix multiplication bubble bobble palindromes machine learning python programming speed noughts and crosses braiding golden ratio matrices talking maths in public statistics rhombicuboctahedron games sobolev spaces sport determinants chalkdust magazine data mathslogicbot signorini conditions christmas cambridge captain scarlet cross stitch pythagoras flexagons matrix of minors curvature christmas card world cup wool chess ucl oeis asteroids martin gardner pi approximation day stickers raspberry pi final fantasy gaussian elimination tmip weak imposition gerry anderson approximation estimation phd light menace manchester science festival go manchester folding paper pi inline code interpolation hannah fry weather station dragon curves latex rugby golden spiral probability quadrilaterals numerical analysis fractals puzzles twitter a gamut of games propositional calculus inverse matrices chebyshev graphs geogebra squares craft video games accuracy finite element method hexapawn hats php map projections game show probability graph theory london triangles dataset radio 4


Show me a random blog post
▼ show ▼
© Matthew Scroggs 2012–2020