-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from dveeden/master
Formatting of README
- Loading branch information
Showing
2 changed files
with
44 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
About | ||
----- | ||
|
||
"Programming with Unicode" is a book written by Victor Stinner. | ||
|
||
The HTML version is available on read-the-docs: | ||
https://unicodebook.readthedocs.org | ||
|
||
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 | ||
----- | ||
|
||
.. code-block:: | ||
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() |