]> granicus.if.org Git - python/commitdiff
Move the change to ending the abstract from python.sty to manual.cls; it
authorFred Drake <fdrake@acm.org>
Thu, 5 Mar 1998 16:41:42 +0000 (16:41 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 5 Mar 1998 16:41:42 +0000 (16:41 +0000)
is not appropriate for the howto document class.

Doc/manual.cls
Doc/python.sty
Doc/texinputs/manual.cls
Doc/texinputs/python.sty

index 51d7bafd7a4c52c447171792edb5d179231e9ab7..2e7f40ec0b6b42a56620a366bee4ca202343eff8 100644 (file)
 }
 
 
+% Catch the end of the {abstract} environment, but here make sure the
+% abstract is followed by a blank page if the 'openright' option is used.
+%
+\let\OldEndAbstract=\endabstract
+\renewcommand{\endabstract}{
+  \if@openright
+    \ifodd\value{page}
+      \typeout{Adding blank page after the abstract.}
+      \vfil\pagebreak
+    \fi
+  \fi
+  \OldEndAbstract
+}
+
 % This wraps the \tableofcontents macro with all the magic to get the
 % spacing right and have the right number of pages if the 'openright'
 % option has been used.  This eliminates a fair amount of crud in the
index 01d16c9f05875c831926226dd0372c2b7e85268e..509fe6dce8057c9e35bdbf2078b73f08eebd36a9 100644 (file)
   \addcontentsline{toc}{chapter}{\indexname}
 }
 
-%  Use a similar trick to catch the end of the {abstract} environment,
-%  but here make sure the abstract is followed by a blank page if the
-% 'openright' option is used.
-%
-\let\OldEndAbstract=\endabstract
-\renewcommand{\endabstract}{
-  \if@openright
-    \ifodd\value{page}
-      \typeout{Adding blank page after the abstract.}
-      \vfil\pagebreak
-    \fi
-  \fi
-  \OldEndAbstract
-}
-
 % Allow the release number to be specified independently of the
 % \date{}.  This allows the date to reflect the document's date and
 % release to specify the Python release that is documented.
index 51d7bafd7a4c52c447171792edb5d179231e9ab7..2e7f40ec0b6b42a56620a366bee4ca202343eff8 100644 (file)
 }
 
 
+% Catch the end of the {abstract} environment, but here make sure the
+% abstract is followed by a blank page if the 'openright' option is used.
+%
+\let\OldEndAbstract=\endabstract
+\renewcommand{\endabstract}{
+  \if@openright
+    \ifodd\value{page}
+      \typeout{Adding blank page after the abstract.}
+      \vfil\pagebreak
+    \fi
+  \fi
+  \OldEndAbstract
+}
+
 % This wraps the \tableofcontents macro with all the magic to get the
 % spacing right and have the right number of pages if the 'openright'
 % option has been used.  This eliminates a fair amount of crud in the
index 01d16c9f05875c831926226dd0372c2b7e85268e..509fe6dce8057c9e35bdbf2078b73f08eebd36a9 100644 (file)
   \addcontentsline{toc}{chapter}{\indexname}
 }
 
-%  Use a similar trick to catch the end of the {abstract} environment,
-%  but here make sure the abstract is followed by a blank page if the
-% 'openright' option is used.
-%
-\let\OldEndAbstract=\endabstract
-\renewcommand{\endabstract}{
-  \if@openright
-    \ifodd\value{page}
-      \typeout{Adding blank page after the abstract.}
-      \vfil\pagebreak
-    \fi
-  \fi
-  \OldEndAbstract
-}
-
 % Allow the release number to be specified independently of the
 % \date{}.  This allows the date to reflect the document's date and
 % release to specify the Python release that is documented.