Bugs item #1238210, was opened at 2005-07-14 08:43 Message generated for change (Settings changed) made by rhettinger You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1238210&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Documentation Group: None Status: Open Resolution: None Priority: 5 Submitted By: Michael Schindler (m-schindler) >Assigned to: Fred L. Drake, Jr. (fdrake) Summary: manual.cls contains an invalid pdf-inquiry Initial Comment: I tried to compile the documentation for Python 2.4.1 (download today) but it fails with the message: pdfTeX error (ext1): \pdfinfo used while \pdfoutput is not set. This is caused by the \pdfinfo call in manual.cls on line 72. I am using teTeX 3.0 where the LaTeX format is based on pdftex. Therefore, the inquiry for pdf, done in manual.cls with [EMAIL PROTECTED] always returns true, for both pdf and dvi output. A better choice woud be using \ifpdf defined in python.sty Thanks, anyway for the great program! Michael Schindler ---------------------------------------------------------------------- Comment By: Reinhold Birkenfeld (birkenfeld) Date: 2005-07-14 12:00 Message: Logged In: YES user_id=1188172 This is the fix from the old bug. --- manual.cls.orig 2005-05-30 10:02:28.000000000 +0200 +++ manual.cls 2005-05-30 11:16:58.000000000 +0200 @@ -6,9 +6,17 @@ \ProvidesClass{manual} [1998/03/03 Document class (Python manual)] +\RequirePackage{ifpdf} [EMAIL PROTECTED] + \ifpdf + [EMAIL PROTECTED] + \else + [EMAIL PROTECTED] + \fi +} + \RequirePackage{pypaper} \RequirePackage{fancybox} - % Change the options here to get a different set of basic options, but only % if you have to. Paper and font size should be adjusted in pypaper.sty. % @@ -64,7 +72,7 @@ \let\footnotesize\small \let\footnoterule\relax [EMAIL PROTECTED] - [EMAIL PROTECTED] + [EMAIL PROTECTED] % This \def is required to deal with multi-line authors; it % changes \ to ', ' (comma-space), making it pass muster for % generating document info in the PDF file. ---------------------------------------------------------------------- Comment By: Reinhold Birkenfeld (birkenfeld) Date: 2005-07-14 11:57 Message: Logged In: YES user_id=1188172 Seems to be also in howto.cls. Closed bug #1071094 as duplicate of this. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1238210&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com