Package: python-epydoc
Version: 3.0.1-8
Severity: minor

The following patch allows usage of special latex entities, in my case I 
received this error (when using ,,»'' and ,,«'' in 
python __doc__ strings):

<quote>
  Error: latex failed: Command \guillemotright unavailable in encoding OT1.

         See the LaTeX manual or LaTeX Companion for explanation.
         Type  H <return>  for immediate help.
          ...                                              
                                                           
         l.48       user) config file(s) »
                                           settings«
         ?
</quote>


mike@minobo:/usr/share/pyshared/epydoc/docwriter$ diff -ur latex.py.orig 
latex.py
--- latex.py.orig       2011-02-22 11:57:33.000000000 +0100
+++ latex.py    2011-02-22 11:55:00.000000000 +0100
@@ -29,6 +29,7 @@
         "\\documentclass{article}",
         "\\usepackage{alltt, parskip, fancyhdr, boxedminipage}",
         "\\usepackage{makeidx, multirow, longtable, tocbibind, amssymb}",
+        "\\usepackage[T1]{fontenc}",
         "\\usepackage{fullpage}",
         "\\usepackage[usenames]{color}",
         # Fix the heading position -- without this, the headings generated



-- System Information:
Debian Release: 6.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-epydoc depends on:
ii  python                  2.6.6-3+squeeze5 interactive high-level object-
orie
ii  python-support          1.0.10           automated rebuilding support for 
P

Versions of packages python-epydoc recommends:
ii  ghostscript [gs-common]     8.71~dfsg2-9 The GPL Ghostscript 
PostScript/PDF
ii  graphviz                    2.26.3-5     rich set of graph drawing tools
ii  python-docutils             0.7-2        utilities for the documentation 
of
ii  python-tk                   2.6.6-1      Tkinter - Writing Tk applications 
ii  texlive-fonts-recommended   2009-11      TeX Live: Recommended fonts
ii  texlive-latex-base          2009-11      TeX Live: Basic LaTeX packages
ii  texlive-latex-extra         2009-10      TeX Live: LaTeX supplementary 
pack
ii  texlive-latex-recommended   2009-11      TeX Live: LaTeX recommended 
packag

Versions of packages python-epydoc suggests:
pn  epydoc-doc                    <none>     (no description available)
pn  python-profiler               <none>     (no description available)

-- no debconf information

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to