[Python-modules-team] Bug#486781: rst2newlatex: output upsets texlive when section title contains SECTION SIGN (§) character

Trent W. Buck trentbuck at gmail.com
Wed Jun 18 05:06:32 UTC 2008


Package: python-docutils
Severity: normal

$ cat >x <<EOF
=====================================
 Has SECTION SIGN in a section title
=====================================

Foo Implementation (See Requirements §2.3)
==========================================

Foo

Bar Implementation (See Requirements §12)
==========================================

Bar
EOF
$ cat >y <<EOF
=====================================
 Has SECTION SIGN in a section title
=====================================

Foo Implementation (See Requirements 2.3)
==========================================

Foo

Bar Implementation (See Requirements 12)
==========================================

Bar
EOF
$ rst2newlatex --output-encoding=utf8:strict x x.tex && rubber --inplace --pdf x
compiling x.tex...
compiling x.tex...
$ rst2newlatex --output-encoding=utf8:strict x x.tex && rubber --inplace --pdf y
compiling y.tex...
y.tex:142: Missing \endcsname inserted.
y.tex:142: leading text:     }
y.tex:142: Missing \endcsname inserted.
y.tex:142: leading text:     }
y.tex:161: Missing \endcsname inserted.
y.tex:161: leading text:     }
y.tex:161: Missing \endcsname inserted.
y.tex:161: leading text:     }
y.tex:176: Extra \endcsname.
y.tex:176: leading text: \Ddepartdocument
$ echo $?
1





More information about the Python-modules-team mailing list