Link to the actual PDF: <a href="https://corkami.googlecode.com/svn-history/r1907/trunk/src/pdf/quine.pdf" rel="nofollow">https://corkami.googlecode.com/svn-history/r1907/trunk/src/p...</a>
So this is kind of like a quine ? (i.e. <a href="http://en.wikipedia.org/wiki/Quine_%28computing%29" rel="nofollow">http://en.wikipedia.org/wiki/Quine_%28computing%29</a> )
i.e. since PDFs are based on Postscript, they are effectively a program that produces certain visual effects in a PDF viewer. The source code in PDF is generated from TeX code which also has itself in the output of the program.
(I'm the author)
it's a polyglot PDF/TeX, and you can generate the PDF by directly running PDFLaTeX on it (so you distribute the source with the viewable result)<p>the 2 tricks:
- include the source unmodified in the PDF itself
- modify the PDF so that it's parsed by PDFLaTeX itself.