Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
aa54e2db
Commit
aa54e2db
authored
Mar 05, 1998
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move the change to ending the abstract from python.sty to manual.cls; it
is not appropriate for the howto document class.
parent
e61d7af4
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
30 deletions
+28
-30
Doc/manual.cls
Doc/manual.cls
+14
-0
Doc/python.sty
Doc/python.sty
+0
-15
Doc/texinputs/manual.cls
Doc/texinputs/manual.cls
+14
-0
Doc/texinputs/python.sty
Doc/texinputs/python.sty
+0
-15
No files found.
Doc/manual.cls
View file @
aa54e2db
...
...
@@ -75,6 +75,20 @@
}
% 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
...
...
Doc/python.sty
View file @
aa54e2db
...
...
@@ -515,21 +515,6 @@
\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.
...
...
Doc/texinputs/manual.cls
View file @
aa54e2db
...
...
@@ -75,6 +75,20 @@
}
% 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
...
...
Doc/texinputs/python.sty
View file @
aa54e2db
...
...
@@ -515,21 +515,6 @@
\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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment