~ubuntu-branches/ubuntu/maverick/sphinx/maverick

« back to all changes in this revision

Viewing changes to sphinx/util/texescape.py

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2009-04-01 21:49:50 UTC
  • mfrom: (5.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090401214950-7cgccot2ouoi9452
Tags: 0.5.2-1ubuntu1
* Merge from debian unstable (LP: #353422):
  - debian/rules: instead of adding --install-layout=deb to setup.py install:
    + Include /usr/share/python/python.mk.
    + Add py_setup_install_args to setup.py install.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 
6
6
    TeX escaping helper.
7
7
 
8
 
    :copyright: 2008 by Georg Brandl.
9
 
    :license: BSD.
 
8
    :copyright: Copyright 2007-2009 by the Sphinx team, see AUTHORS.
 
9
    :license: BSD, see LICENSE for details.
10
10
"""
11
11
 
12
12
tex_replacements = [
40
40
    (u'─', ur'-'),
41
41
    (u'⎽', ur'\_'),
42
42
    (u'╲', ur'\textbackslash{}'),
43
 
    (u'│', ur'|'),
 
43
    (u'|', ur'\textbar{}'),
 
44
    (u'│', ur'\textbar{}'),
44
45
    (u'ℯ', ur'e'),
45
46
    (u'ⅈ', ur'i'),
46
47
    (u'₁', ur'1'),