mscroggs.co.uk
mscroggs.co.uk
Click here to win prizes by solving the mscroggs.co.uk puzzle Advent calendar.
Click here to win prizes by solving the mscroggs.co.uk puzzle Advent calendar.

subscribe

Blog

A non-converging LaTeX document

 2019-09-15 
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

realhats
Christmas card 2019
Christmas (2019) is coming!
TMiP 2019 treasure punt

Comments

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 "q" then "u" then "o" then "t" then "i" then "e" then "n" then "t" in the box below (case sensitive):

Archive

Show me a random blog post
 2019 

Dec 2019

Christmas card 2019

Nov 2019

Christmas (2019) is coming!

Sep 2019

A non-converging LaTeX document
TMiP 2019 treasure punt

Jul 2019

Big Internet Math-Off stickers 2019

Jun 2019

Proving a conjecture

Apr 2019

Harriss and other spirals

Mar 2019

realhats

Jan 2019

Christmas (2018) is over
 2018 
▼ show ▼
 2017 
▼ show ▼
 2016 
▼ show ▼
 2015 
▼ show ▼
 2014 
▼ show ▼
 2013 
▼ show ▼
 2012 
▼ show ▼

Tags

reddit news go game of life oeis video games craft tennis christmas card flexagons national lottery martin gardner coins statistics python probability golden spiral mathsjam reuleaux polygons map projections sound royal baby estimation world cup folding tube maps mathsteroids binary nine men's morris manchester science festival chebyshev inline code advent calendar latex javascript countdown matt parker cross stitch stickers weather station rhombicuboctahedron golden ratio manchester cambridge dataset games propositional calculus chess pac-man big internet math-off noughts and crosses tmip pythagoras wool asteroids the aperiodical machine learning christmas ternary hats rugby php dragon curves accuracy talking maths in public frobel final fantasy light platonic solids bodmas misleading statistics plastic ratio realhats dates london underground people maths programming sorting braiding captain scarlet triangles logic folding paper graph theory books bubble bobble menace gerry anderson hexapawn twitter a gamut of games approximation game show probability fractals polynomials radio 4 football london european cup curvature draughts puzzles trigonometry geometry pizza cutting palindromes raspberry pi mathslogicbot arithmetic interpolation speed electromagnetic field error bars sport harriss spiral data chalkdust magazine

Archive

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