forked from vstinner/unicode_book
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
40 lines (26 loc) · 940 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
About
-----
"Programming with Unicode" is a book written by Victor Stinner.
Dependencies
------------
* Sphinx 1.0 or more recent: sudo pip install sphinx
http://sphinx.pocoo.org/
* make html:
* sudo apt-get install dvipng (for pngmath)
* make pdf:
* edit conf.py to enable rst2pdf.pdfbuilder extension: edit extensions line
* sudo apt-get install rst2pdf
* sudo apt-get install python-matplotlib
* make pdf
* make latex:
* Debian: sudo apt-get install texlive-latex-base texlive-lang-cyrillic
* Fedora: sudo yum install texlive-latex
* texlive-lang-cyrillic: Cyrillic (mojibake section)
* For make LaTeX ./build_latex.py
LaTeX
-----
Exception occurred:
File "/usr/lib/python2.7/site-packages/sphinx/writers/latex.py", line 194, in __init__
lang = babel.get_language(babel.language_code)
AttributeError: 'ExtBabel' object has no attribute 'language_code'
=> lang = babel.get_language()