[cl-debian] Bug#390629: parenscript: Script to produce documentation produces buggy LaTeX code

Package: parenscript Severity: minor Tags: patch Hi Luca, I just found that docs/pbook.py produces buggy LaTeX code, a faulty check for PDF output. It doesn't show up if you only try to create PDF. But if you want to go the traditional route and produce dvi files (and from that PostScript and maybe finally again PDF), this will fail and still produce PDF. The script itself doesn't do that (or rather, it does that in fact but ignores the output in this first run), but it's still an uglyness. Moreover, it's completely useless, because the only package that uses the information, graphicx, will detect the output format itself (and in a proper way). Therefore, the patch is simple: --- parenscript-20060513/docs/pbook.py.orig 2006-10-02 10:52:24.000000000 +0200 +++ parenscript-20060513/docs/pbook.py 2006-10-02 10:52:45.000000000 +0200 @@ -66,10 +66,7 @@ def beginning(self): return '\n\\documentclass[notitlepage,a4paper,makeidx]{' + self.style + '}\n' + \ '\\usepackage{fancyvrb,color,palatino,makeidx}\n' + \ - "\\newif\\ifpdf\n\\ifx\\pdfoutput\\undefined\n\\pdffalse\n" + \ - "\\else\n\\pdfoutput=1\n\\pdftrue\n\\fi\n" + \ - "\\ifpdf\n\\usepackage[pdftex]{graphicx}\n" + \ - "\\else\n\\usepackage{graphicx}\n\\fi\n" + \ + "\\usepackage{graphicx}\n" + \ '\\definecolor{gray}{gray}{0.6}\n' + \ '\\title{' + TexFile.escapeString(self.title) + '}\n' + \ (self.author and ('\\author{' + self.author + '}\n') or '') + \ Regards, Frank -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (99, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.16-2-686 Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15) -- Frank Küster Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich Debian Developer (teTeX/TeXLive)

Your message dated Mon, 02 Oct 2006 12:29:56 +0200 with message-id <87bqovhuxn.fsf@gismo.pca.it> has caused the Debian Bug report #390629, regarding parenscript: Script to produce documentation produces buggy LaTeX code to be marked as having been forwarded to the upstream software author(s) ML BESE-devel <bese-devel@common-lisp.net>. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database)

Your message dated Tue, 03 Oct 2006 20:47:11 -0700 with message-id <E1GUxix-0008Tp-7Z@spohr.debian.org> and subject line Bug#390629: fixed in parenscript 1:20061003-1 has caused the attached Bug report to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database)
participants (2)
-
Frank Küster
-
owner@bugs.debian.org