PDF version of the Yesod book

August 1, 2011

Michael Snoyman

The PDF is available for immediate download. It has an ugly styling, hasn't been checked much, and probably has a bunch of other problems, but it's there.

For those interested in the mechanics behind this: the book is written in an XML format called DITA. This site stores the book as DITA as well. I just added a feature to export the book contents into a ZIP file, which allows me to use existing DITA solutions for PDF creation.

Next step: write some nice Haskell-based DITA tools and try to get some automatic PDF generation in place.

Comments

comments powered by Disqus

Archives
{"cc_re__cc_re__cc_by_4_0": ["a]},{cN:\"regexp\",b:\"([a-z\\\\-]+\\\\.)+\\\\*\",c:[hljs.BE,c,b,a]},{cN:\"number\",b:\"\\\\b\\\\d{1,3}\\\\.\\\\d{1,3}\\\\.\\\\d{1,3}\\\\.\\\\d{1,3}\\\\b\"},{cN:\"number\",b:\"\\\\s\\\\d+[kKmMgGdshdwy]*\\\\b\",r:0},c,b,a]}]}]}}}();$(function(){\n    $(\"#archive li\").has(\"ul\").click(function(event){\n        if (event.target.id == $(this).attr(\"id\")) $(this).toggleClass(\"open\");\n    });\n});\nhljs.initHighlightingOnLoad();\n</script><footer id=\"license\" style=\"text-align:center;font-size:0.8em\">All content on this site is available under the\n<a href=\"http://creativecommons.org/licenses/by/4.0/\">Creative Commons Attribution 4.0 International License</a>.\n<br>\nContent outside the book section is available under\n<a href=\"https://raw.github.com/yesodweb/yesodweb.com/master/LICENSE\">the MIT license</a>\nas well.</footer>\n</div></div><script>window._gaq = [['_setAccount','UA-1434510-13'],['_trackPageview'],['_trackPageLoadTime']];(function() {var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl"]}