diff options
| author | Georg Brandl <georg@python.org> | 2010-02-20 01:13:23 +0100 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2010-02-20 01:13:23 +0100 |
| commit | 69af046cfcbadba827d8301a7bfaa2c4f1e5d3a8 (patch) | |
| tree | 4cb0f9cd3897bf61524e76eb51f3d313f0157f0e /sphinx/util | |
| parent | 71a29487ac88b6b48ae62cbad1c97de561cabe06 (diff) | |
| download | sphinx-69af046cfcbadba827d8301a7bfaa2c4f1e5d3a8.tar.gz | |
Make the concept of "module index" generalized to domains. As a side-effect, the latex modindex is no longer generated by LaTeX.
Diffstat (limited to 'sphinx/util')
| -rw-r--r-- | sphinx/util/texescape.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sphinx/util/texescape.py b/sphinx/util/texescape.py index 73790829..4cabd9b2 100644 --- a/sphinx/util/texescape.py +++ b/sphinx/util/texescape.py @@ -99,6 +99,7 @@ tex_replacements = [ ] tex_escape_map = {} +tex_replace_map = {} tex_hl_escape_map_old = {} # replacement map for Pygments <= 1.1 tex_hl_escape_map_new = {} # replacement map for Pygments >= 1.2 _old_cmd_chars = {ord(u'\\'): u'@', ord(u'{'): u'[', ord(u'}'): u']'} @@ -106,6 +107,7 @@ _old_cmd_chars = {ord(u'\\'): u'@', ord(u'{'): u'[', ord(u'}'): u']'} def init(): for a, b in tex_replacements: tex_escape_map[ord(a)] = b + tex_replace_map[ord(a)] = u'_' for a, b in tex_replacements: if a in u'[]{}\\': continue |
