Community mailing list archives

community@mail.odoo.com

Generate a pdf file from Odoo repository doc folder

by
Hieu Nguyen
- 08/23/2015 01:00:30
Hi everyone,

I would like to print out all the Odoo documentation for self-study. Printing from the web takes a lot of manual work, so I decided make a pdf file from the odoo `doc` folder. Here is what I got so far:

# Installing dependencies (I'm using Ubuntu 15.04)
$ sudo apt-get install texlive-fonts-recommended
$ sudo apt-get install texlive-latex-extra
$ sudo pip install --upgrade sphinx

$ git clone https://github.com/odoo/odoo.git
$ cd odoo/doc
$ make latexpdf
...
<use styles.jpg> <functionalities.jpg, id=57, 853.1875pt x 853.1875pt>
<use functionalities.jpg> <use functionalities.jpg>
(/usr/share/texlive/texmf-dist/tex/latex/psnfss/t1pcr.fd)

! Package inputenc Error: Unicode char \u8:  not set up for use with LaTeX.

See the inputenc package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                             
                                                 
l.291 ...n+nt}{\PYGZlt{}data}\PYG{n+nt}{\PYGZgt{}}
                                                 
?

I got stuck there. Does anyone know how to fix this?

Regards,
Hieu