sdiehl / write-you-a-haskell

Building a modern functional compiler from first principles. (http://dev.stephendiehl.com/fun/)
MIT License
3.34k stars 256 forks source link

Improve build process #23

Closed mpickering closed 9 years ago

mpickering commented 9 years ago

It is now possible to build a pdf file as well as the html files. You might want to fiddle around with the names a bit so that links don't break in the HTML version.

sdiehl commented 9 years ago

Hi Matthew,

This looks like great, I've been intending to get the PDF version working but I hadn't gotten to it. It seems your Pandoc-fu is stronger than mine.

I'll pull the branch and try it out on my local. Does this have a specific pandoc version requirement now? I'm using 1.11 which is a bit old and it seems to be missing the --filter functionality. I think this is fine but I'll just have to add a lower version bound to the contributing.md file.

Just ignore the CI build, I'm still experimenting.

sdiehl commented 9 years ago

Tested it out and works great. Merging ... many thanks for your effort.