comparison Doc/texinputs/python.sty @ 7561:cc7e126f009d legacy-trunk

Move the change to ending the abstract from python.sty to manual.cls; it is not appropriate for the howto document class.
author Fred Drake <fdrake@acm.org>
date Thu, 05 Mar 1998 16:41:42 +0000
parents 69860821ca1d
children 2ef0aca96f2d
comparison
equal deleted inserted replaced
7560:a447b268c773 7561:cc7e126f009d
513 \cleardoublepage 513 \cleardoublepage
514 \OldTheindex 514 \OldTheindex
515 \addcontentsline{toc}{chapter}{\indexname} 515 \addcontentsline{toc}{chapter}{\indexname}
516 } 516 }
517 517
518 % Use a similar trick to catch the end of the {abstract} environment,
519 % but here make sure the abstract is followed by a blank page if the
520 % 'openright' option is used.
521 %
522 \let\OldEndAbstract=\endabstract
523 \renewcommand{\endabstract}{
524 \if@openright
525 \ifodd\value{page}
526 \typeout{Adding blank page after the abstract.}
527 \vfil\pagebreak
528 \fi
529 \fi
530 \OldEndAbstract
531 }
532
533 % Allow the release number to be specified independently of the 518 % Allow the release number to be specified independently of the
534 % \date{}. This allows the date to reflect the document's date and 519 % \date{}. This allows the date to reflect the document's date and
535 % release to specify the Python release that is documented. 520 % release to specify the Python release that is documented.
536 % 521 %
537 \newcommand{\@release}{} 522 \newcommand{\@release}{}