Live data from Hacker News

Ask HN: How to create textbook-like PDFs?

news.ycombinator.com

1–7 of 7 posts

Re: Ask HN: How to create textbook-like PDFs?

#3
That reminds me of using Docbook to write the book, then using the various transformation engines to turn the docbook into PDF. I setup some docbook documentation that just used xsltproc to generate HTML and PDF from the same source. http://stackoverflow.com/questions/2615002/how-to-generate-p... has some notes about the process.

For my part, I enjoyed the semantic markup it gave for something as big as a book, with auto-generating index and glossary as well. It's a lot of work, but the output reflects it. Looking at the HTML in the first chapter there, the spans with "term" and "menuitem" make me think something like docbook is going on behind this too.

Re: Ask HN: How to create textbook-like PDFs?

#7
post #3

That reminds me of using Docbook to write the book, then using the various transformation engines to turn the docbook into PDF. I setup some docbook documentation that just used xsltproc to generate HTML and PDF from the same source. http://stackoverflow.com/questions/2615002/how-to-generate-p... has some notes about the process. For my part, I enjoyed the semantic markup it gave for something as big as a book, with…

The docbook tool chain is a nightmare to setup though.