Skip to content

Commit

Permalink
Merge pull request #12 from dveeden/master
Browse files Browse the repository at this point in the history
Formatting of README
  • Loading branch information
vstinner committed Jan 7, 2016
2 parents 2cd2721 + c738d76 commit 9f18412
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 40 deletions.
40 changes: 0 additions & 40 deletions README

This file was deleted.

44 changes: 44 additions & 0 deletions README.rst
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()

0 comments on commit 9f18412

Please sign in to comment.