mscroggs.co.uk
mscroggs.co.uk

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 TMiP 2019 treasure punt Big Internet Math-Off stickers 2019 Proving a conjecture

Comments in green were written by me. Comments in blue were not written by me.