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 "emirp" backwards 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

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

Archive

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