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



_______________________________________________
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/python-modules-team

Reply via email to