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

Skip to content

Commit 60961c5

Browse files
committed
Python HOWTO document that replaces the old Mac section from the reference
manual.
1 parent b51429a commit 60961c5

2 files changed

Lines changed: 134 additions & 0 deletions

File tree

Doc/mac.tex

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
\documentclass{howto}
2+
3+
\title{Macintosh Library Modules}
4+
5+
\input{boilerplate}
6+
7+
\makeindex % tell \index to actually write the
8+
% .idx file
9+
\makemodindex % ... and the module index as well.
10+
11+
12+
\begin{document}
13+
14+
\maketitle
15+
16+
\input{copyright}
17+
18+
\begin{abstract}
19+
20+
\noindent
21+
This library reference manual documents Python's extensions for the
22+
Macintosh. It should be used in conjunction with the \emph{Python
23+
Library Reference}, which documents the standard library and built-in
24+
types.
25+
26+
This manual assumes basic knowledge about the Python language. For an
27+
informal introduction to Python, see the \emph{Python Tutorial}; the
28+
\emph{Python Reference Manual} remains the highest authority on
29+
syntactic and semantic questions. Finally, the manual entitled
30+
\emph{Extending and Embedding the Python Interpreter} describes how to
31+
add new extensions to Python and how to embed it in other applications.
32+
33+
\end{abstract}
34+
35+
\tableofcontents
36+
37+
\input{libmac} % MACINTOSH ONLY
38+
\input{libctb}
39+
\input{libmacconsole}
40+
\input{libmacdnr}
41+
\input{libmacfs}
42+
\input{libmacic}
43+
\input{libmacos}
44+
\input{libmacostools}
45+
\input{libmactcp}
46+
\input{libmacspeech}
47+
\input{libmacui}
48+
\input{libframework}
49+
\input{libminiae}
50+
51+
%
52+
% The ugly "%begin{latexonly}" pseudo-environments are really just to
53+
% keep LaTeX2HTML quiet during the \renewcommand{} macros; they're
54+
% not really valuable.
55+
%
56+
57+
%begin{latexonly}
58+
\renewcommand{\indexname}{Module Index}
59+
%end{latexonly}
60+
\input{modmac.ind} % Module Index
61+
62+
%begin{latexonly}
63+
\renewcommand{\indexname}{Index}
64+
%end{latexonly}
65+
\input{mac.ind} % Index
66+
67+
\end{document}

Doc/mac/mac.tex

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
\documentclass{howto}
2+
3+
\title{Macintosh Library Modules}
4+
5+
\input{boilerplate}
6+
7+
\makeindex % tell \index to actually write the
8+
% .idx file
9+
\makemodindex % ... and the module index as well.
10+
11+
12+
\begin{document}
13+
14+
\maketitle
15+
16+
\input{copyright}
17+
18+
\begin{abstract}
19+
20+
\noindent
21+
This library reference manual documents Python's extensions for the
22+
Macintosh. It should be used in conjunction with the \emph{Python
23+
Library Reference}, which documents the standard library and built-in
24+
types.
25+
26+
This manual assumes basic knowledge about the Python language. For an
27+
informal introduction to Python, see the \emph{Python Tutorial}; the
28+
\emph{Python Reference Manual} remains the highest authority on
29+
syntactic and semantic questions. Finally, the manual entitled
30+
\emph{Extending and Embedding the Python Interpreter} describes how to
31+
add new extensions to Python and how to embed it in other applications.
32+
33+
\end{abstract}
34+
35+
\tableofcontents
36+
37+
\input{libmac} % MACINTOSH ONLY
38+
\input{libctb}
39+
\input{libmacconsole}
40+
\input{libmacdnr}
41+
\input{libmacfs}
42+
\input{libmacic}
43+
\input{libmacos}
44+
\input{libmacostools}
45+
\input{libmactcp}
46+
\input{libmacspeech}
47+
\input{libmacui}
48+
\input{libframework}
49+
\input{libminiae}
50+
51+
%
52+
% The ugly "%begin{latexonly}" pseudo-environments are really just to
53+
% keep LaTeX2HTML quiet during the \renewcommand{} macros; they're
54+
% not really valuable.
55+
%
56+
57+
%begin{latexonly}
58+
\renewcommand{\indexname}{Module Index}
59+
%end{latexonly}
60+
\input{modmac.ind} % Module Index
61+
62+
%begin{latexonly}
63+
\renewcommand{\indexname}{Index}
64+
%end{latexonly}
65+
\input{mac.ind} % Index
66+
67+
\end{document}

0 commit comments

Comments
 (0)