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 "hparg" 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

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

Archive

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