diff options
| author | Fred Drake <fdrake@acm.org> | 1998-07-23 17:36:14 +0000 | 
|---|---|---|
| committer | Fred Drake <fdrake@acm.org> | 1998-07-23 17:36:14 +0000 | 
| commit | 1cc6d53f6512c0aadda7458dfc27b6382e81ac8e (patch) | |
| tree | 5d811930dcc8be9882582b76cfed1f8bc855c72b | |
| parent | c31cc38106266484a819af41cbd35d1b81aad0bb (diff) | |
| download | cpython-git-1cc6d53f6512c0aadda7458dfc27b6382e81ac8e.tar.gz | |
\py@ModSynopsisFilename:  New macro; gives names of the "current" .syn file.
\chapter:  Extended, ensures that a pending module synopsis is written out
	and then closes the .syn file for the preceeding chapter.
| -rw-r--r-- | Doc/texinputs/manual.cls | 9 | 
1 files changed, 9 insertions, 0 deletions
| diff --git a/Doc/texinputs/manual.cls b/Doc/texinputs/manual.cls index 786002df10..fe7e3efb4f 100644 --- a/Doc/texinputs/manual.cls +++ b/Doc/texinputs/manual.cls @@ -44,6 +44,15 @@  %  \RequirePackage{python} +% support for module synopsis sections: +\newcommand{\py@ModSynopsisFilename}{\jobname\thechapter.syn} +\let\py@OldChapter=\chapter +\renewcommand{\chapter}{ +  \py@ProcessModSynopsis +  \py@closeModSynopsisFile +  \py@OldChapter +} +  % Change the title page to look a bit better, and fit in with the  % fncychap ``Bjarne'' style a bit better. | 
