mainmatter/playbook

Implement PDF conversion

Closed this issue · 2 comments

We are using a combination of HTML/CSS and Prince for the PDF conversion. That allows us to use regular CSS styling that we're very familiar with to style the document and Prince does the PDF conversion from a styled HTML document.

The goal is to have an automated build that does the PDF conversion while still using the markdown files that we have now to manage the contents.

Resources

@ghislaineguerin this is currently blocked on design – I need:

  • styles for links (we should keep all links working in the PDF of course but I guess we'll want relatively subtle styling?)
  • links for headers levels 1 to 6
  • better photos for the book title page and the chapter titles (I think the ones we currently have are ok but they look relatively dark and I'll need higher resolution versions of the cutouts)
  • styles for the table of contents with multiple levels (same levels as headings I suppose?)

The illustrations, diagrams etc. are missing as well but I could even add those in a second step.

@marcoow I will work on this next