38 | | There are several '''dependencies''': |
39 | | |
40 | | * [http://www.xhtml2pdf.com/ xhtml2pdf] and [pypi:pisa PISA]: The Python library used to convert HTML to PDF. You can install it with ''easy_install pisa''. The version supported by this plugin is 3.0.32. Others might work (3.0.29 is known to have a bug in TOC creation). |
41 | | * [http://www.reportlab.org/ ReportLab version 2.2]: This is a dependency of xhtml2pdf. If using easy_install, it should be automatically installed. |
42 | | * [http://code.google.com/p/html5lib/ HTML5lib]: Same as previous. |
43 | | * [http://pybrary.net/pyPdf/ pyPDF]: Same as previous. |
44 | | * [http://www.pythonware.com/products/pil/ PIL] (Python Imaging Library): I'm not sure if this is a dependency of xhtml2pdf, but anyways, ''easy_install PIL'' should do the work. |
45 | | * [http://pygments.org/ Pygments]: Python syntax highlighter. You need this for syntax highlighting in Trac too. |
46 | | |
47 | | To install dependencies (PIL/!ReportLab/HTML5Lib/Pygments/pyPDF): |
48 | | |
49 | | * On Debian/Ubuntu: |
50 | | * `aptitude install python-imaging python-reportlab python-html5lib python-pygments python-pypdf` |
51 | | * On Fedora/Redhat: |
52 | | * `yum install python-imaging python-reportlab python-html5lib python-pygments pyPdf` |
| 38 | There are some '''dependencies''': |
| 39 | |
| 40 | * The beta version of [http://www.xhtml2pdf.com/ xhtml2pdf] seems to be required: |
| 41 | {{{#!sh |
| 42 | $ pip install -U xhtml2pdf==0.2b1 |
| 43 | }}} |
| 44 | * [http://www.pythonware.com/products/pil/ PIL] (Python Imaging Library): I'm not sure if this is a dependency of xhtml2pdf, but anyways, ''easy_install PIL'' should do the work. |
| 45 | * [http://pygments.org/ Pygments]: Python syntax highlighter. You need this for syntax highlighting in Trac too. |