# HG changeset patch # User Brian Neal # Date 1323132633 21600 # Node ID d0f34c9c8a763ca3c18a374eb0d34c91c0d04026 # Parent 3547bba86af26f68c652e77636dc3d00a8ea6a10 Added a makefile rule to build a pdf. Added a config file for pdf building. Ignore .pdf files. diff -r 3547bba86af2 -r d0f34c9c8a76 .hgignore --- a/.hgignore Wed Nov 30 18:46:32 2011 -0600 +++ b/.hgignore Mon Dec 05 18:50:33 2011 -0600 @@ -1,3 +1,4 @@ syntax: glob *.pyc *.swp +*.pdf diff -r 3547bba86af2 -r d0f34c9c8a76 Makefile --- a/Makefile Wed Nov 30 18:46:32 2011 -0600 +++ b/Makefile Mon Dec 05 18:50:33 2011 -0600 @@ -4,6 +4,9 @@ slides.html: slides.rst slides.css slides.cfg landslide slides.cfg +slides.pdf: slides.rst slides.css slides_pdf.cfg + landslide slides_pdf.cfg + .PHONY: clean clean: - rm slides.html + rm slides.html slides.pdf diff -r 3547bba86af2 -r d0f34c9c8a76 slides_pdf.cfg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slides_pdf.cfg Mon Dec 05 18:50:33 2011 -0600 @@ -0,0 +1,7 @@ +[landslide] +source = slides.rst +destination = slides.pdf +css = slides.css +relative = True +linenos = inline +theme = ./my_theme