Revert all changes unrelated to the new *client_CA* functionality.
diff --git a/doc/tools/texinputs/howto.cls b/doc/tools/texinputs/howto.cls
index fd74133..899b4ae 100644
--- a/doc/tools/texinputs/howto.cls
+++ b/doc/tools/texinputs/howto.cls
@@ -6,7 +6,6 @@
 \ProvidesClass{howto}
              [1998/02/25 Document class (Python HOWTO)]
 
-\RequirePackage{ifpdf}
 \RequirePackage{pypaper}
 
 % Change the options here to get a different set of basic options,  This
@@ -24,7 +23,7 @@
 % distribution.
 %
 % The "fancyhdr" package makes nicer page footers reasonable to
-% implement, and is used to put the chapter and section information in
+% implement, and is used to put the chapter and section information in 
 % the footers.
 %
 \RequirePackage{fancyhdr}\typeout{Using fancier footers than usual.}
@@ -50,8 +49,7 @@
 %
 \renewcommand{\maketitle}{
   \py@doHorizontalRule
-  \ifpdf
-    \begingroup
+  \@ifundefined{pdfinfo}{}{{
     % 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.
@@ -60,8 +58,7 @@
       /Author (\@author)
       /Title (\@title)
     }
-    \endgroup
-  \fi
+  }}
   \begin{flushright}
     {\rm\Huge\py@HeaderFamily \@title} \par
     {\em\large\py@HeaderFamily \py@release} \par
@@ -87,7 +84,7 @@
   \py@doHorizontalRule
   \vspace{12pt}
   \py@doing@page@targetstrue
-}
+}  
 
 % Fix the theindex environment to add an entry to the Table of
 % Contents; this is much nicer than just having to jump to the end of
diff --git a/doc/tools/texinputs/manual.cls b/doc/tools/texinputs/manual.cls
index 942cb49..789cae1 100644
--- a/doc/tools/texinputs/manual.cls
+++ b/doc/tools/texinputs/manual.cls
@@ -6,7 +6,6 @@
 \ProvidesClass{manual}
              [1998/03/03 Document class (Python manual)]
 
-\RequirePackage{ifpdf}
 \RequirePackage{pypaper}
 
 % Change the options here to get a different set of basic options, but only
@@ -24,7 +23,7 @@
 % distribution.
 %
 % The "fancyhdr" package makes nicer page footers reasonable to
-% implement, and is used to put the chapter and section information in
+% implement, and is used to put the chapter and section information in 
 % the footers.
 %
 \RequirePackage{fancyhdr}\typeout{Using fancier footers than usual.}
@@ -64,8 +63,7 @@
     \let\footnotesize\small
     \let\footnoterule\relax
     \py@doHorizontalRule%
-    \ifpdf
-      \begingroup
+    \@ifundefined{pdfinfo}{}{{
       % 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.
@@ -74,8 +72,7 @@
         /Author (\@author)
         /Title (\@title)
       }
-      \endgroup
-    \fi
+    }}
     \begin{flushright}%
       {\rm\Huge\py@HeaderFamily \@title \par}%
       {\em\LARGE\py@HeaderFamily \py@release \par}