okfn / opendatahandbook-old

Open Data Handbook
http://opendatahandbook.org/
68 stars 39 forks source link

Generate PDF version of the manual #53

Closed ddie closed 11 years ago

ddie commented 12 years ago

Generate PDF version of the manual

rufuspollock commented 12 years ago

sphinx supports this pretty much out of the box via latex.

sphinx-build -b latex

Build LaTeX sources that can be compiled to a PDF document using pdflatex.

And even simpler route (no latex) is to use report lab rst2pdf:

Note that a direct PDF builder using ReportLab is available in rst2pdf version 0.12 or greater. You need to add 'rst2pdf.pdfbuilder' to your extensions to enable it, its name is pdf. Refer to the rst2pdf manual for details. (From http://sphinx.pocoo.org/builders.html#sphinx.builders.latex.LaTeXBuilder)

lauranewman commented 11 years ago

CIS (Centre for Internet & Society) were asking for a pdf of the Handbook. I think it would be pretty valuable out here (and elsewhere). Can we bump this up the priority list?

rufuspollock commented 11 years ago

Note I ended up doing the latex route as could not get rst2pdf working.