Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1f8449a

Browse files
committed
Revise prologue and frontmatter to use latex2e (not in 2.09 compatibility
mode) and take advantage of changes in myformat.sty.
1 parent 031ad4b commit 1f8449a

6 files changed

Lines changed: 22 additions & 52 deletions

File tree

Doc/api.tex

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
\documentstyle[twoside,11pt,myformat]{report}
1+
\documentclass[twoside]{report}
2+
\usepackage{myformat}
23

34
\title{Python/C API Reference Manual}
45

@@ -9,6 +10,7 @@
910

1011
\begin{document}
1112

13+
\pagestyle{empty}
1214
\pagenumbering{roman}
1315

1416
\maketitle
@@ -31,14 +33,7 @@
3133

3234
\end{abstract}
3335

34-
\pagebreak
35-
36-
{
37-
\parskip = 0mm
38-
\tableofcontents
39-
}
40-
41-
\pagebreak
36+
\mytableofcontents
4237

4338
\pagenumbering{arabic}
4439

Doc/api/api.tex

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
\documentstyle[twoside,11pt,myformat]{report}
1+
\documentclass[twoside]{report}
2+
\usepackage{myformat}
23

34
\title{Python/C API Reference Manual}
45

@@ -9,6 +10,7 @@
910

1011
\begin{document}
1112

13+
\pagestyle{empty}
1214
\pagenumbering{roman}
1315

1416
\maketitle
@@ -31,14 +33,7 @@
3133

3234
\end{abstract}
3335

34-
\pagebreak
35-
36-
{
37-
\parskip = 0mm
38-
\tableofcontents
39-
}
40-
41-
\pagebreak
36+
\mytableofcontents
4237

4338
\pagenumbering{arabic}
4439

Doc/lib.tex

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
\documentstyle[twoside,myformat]{report}
1+
\documentclass[twoside]{report}
2+
\usepackage{myformat}
23

34
% NOTE: this file controls which chapters/sections of the library
45
% manual are actually printed. It is easy to customize your manual
@@ -13,6 +14,7 @@
1314

1415
\begin{document}
1516

17+
\pagestyle{empty}
1618
\pagenumbering{roman}
1719

1820
\maketitle
@@ -54,14 +56,7 @@
5456

5557
\end{abstract}
5658

57-
\pagebreak
58-
59-
{
60-
\parskip = 0mm
61-
\tableofcontents
62-
}
63-
64-
\pagebreak
59+
\mytableofcontents
6560

6661
\pagenumbering{arabic}
6762

Doc/lib/lib.tex

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
\documentstyle[twoside,myformat]{report}
1+
\documentclass[twoside]{report}
2+
\usepackage{myformat}
23

34
% NOTE: this file controls which chapters/sections of the library
45
% manual are actually printed. It is easy to customize your manual
@@ -13,6 +14,7 @@
1314

1415
\begin{document}
1516

17+
\pagestyle{empty}
1618
\pagenumbering{roman}
1719

1820
\maketitle
@@ -54,14 +56,7 @@
5456

5557
\end{abstract}
5658

57-
\pagebreak
58-
59-
{
60-
\parskip = 0mm
61-
\tableofcontents
62-
}
63-
64-
\pagebreak
59+
\mytableofcontents
6560

6661
\pagenumbering{arabic}
6762

Doc/tut.tex

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
\documentstyle[twoside,11pt,myformat]{report}
1+
\documentclass[twoside]{report}
2+
\usepackage{myformat}
23

34
% Things to do:
45
% Add a section on file I/O
@@ -62,13 +63,7 @@
6263

6364
\end{abstract}
6465

65-
\pagebreak
66-
{
67-
\parskip = 0mm
68-
\tableofcontents
69-
}
70-
71-
\pagebreak
66+
\mytableofcontents
7267

7368
\pagenumbering{arabic}
7469

Doc/tut/tut.tex

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
\documentstyle[twoside,11pt,myformat]{report}
1+
\documentclass[twoside]{report}
2+
\usepackage{myformat}
23

34
% Things to do:
45
% Add a section on file I/O
@@ -62,13 +63,7 @@
6263

6364
\end{abstract}
6465

65-
\pagebreak
66-
{
67-
\parskip = 0mm
68-
\tableofcontents
69-
}
70-
71-
\pagebreak
66+
\mytableofcontents
7267

7368
\pagenumbering{arabic}
7469

0 commit comments

Comments
 (0)