[Python-checkins] python/dist/src/Doc/texinputs howto.cls, 1.15, 1.15.4.1 manual.cls, 1.19, 1.19.4.1
doko@users.sourceforge.net
doko at users.sourceforge.net
Sun Sep 4 18:20:42 CEST 2005
Update of /cvsroot/python/python/dist/src/Doc/texinputs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4155/Doc/texinputs
Modified Files:
Tag: release24-maint
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.15.4.1
diff -u -d -r1.15 -r1.15.4.1
--- howto.cls 31 Mar 2004 08:08:34 -0000 1.15
+++ howto.cls 4 Sep 2005 16:20:30 -0000 1.15.4.1
@@ -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.19.4.1
diff -u -d -r1.19 -r1.19.4.1
--- manual.cls 31 Mar 2004 08:08:34 -0000 1.19
+++ manual.cls 4 Sep 2005 16:20:30 -0000 1.19.4.1
@@ -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