[Python-checkins] python/dist/src/Doc/texinputs howto.cls, 1.15, 1.16 manual.cls, 1.19, 1.20
fdrake@users.sourceforge.net
fdrake at users.sourceforge.net
Fri Jul 29 19:17:22 CEST 2005
Update of /cvsroot/python/python/dist/src/Doc/texinputs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12501/texinputs
Modified Files:
howto.cls manual.cls
Log Message:
use a test for PDF support that is more portable across teTeX major versions
(closes SF bug #1238210)
Index: howto.cls
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/texinputs/howto.cls,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- howto.cls 31 Mar 2004 08:08:34 -0000 1.15
+++ howto.cls 29 Jul 2005 17:17:19 -0000 1.16
@@ -50,7 +50,8 @@
%
\renewcommand{\maketitle}{
\py at doHorizontalRule
- \@ifundefined{pdfinfo}{}{{
+ \ifpdf
+ \begingroup
% 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.
@@ -59,7 +60,8 @@
/Author (\@author)
/Title (\@title)
}
- }}
+ \endgroup
+ \fi
\begin{flushright}
{\rm\Huge\py at HeaderFamily \@title} \par
{\em\large\py at HeaderFamily \py at release\releaseinfo} \par
Index: manual.cls
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/texinputs/manual.cls,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- manual.cls 31 Mar 2004 08:08:34 -0000 1.19
+++ manual.cls 29 Jul 2005 17:17:19 -0000 1.20
@@ -64,7 +64,8 @@
\let\footnotesize\small
\let\footnoterule\relax
\py at doHorizontalRule%
- \@ifundefined{pdfinfo}{}{{
+ \ifpdf
+ \begingroup
% 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.
@@ -73,7 +74,8 @@
/Author (\@author)
/Title (\@title)
}
- }}
+ \endgroup
+ \fi
\begin{flushright}%
{\rm\Huge\py at HeaderFamily \@title \par}%
{\em\LARGE\py at HeaderFamily \py at release\releaseinfo \par}
More information about the Python-checkins
mailing list