Commit 9231c8f1 authored by Guido van Rossum's avatar Guido van Rossum

Made a start with api.tex, the Python-C API Reference Manual.

Removed extref.tex (which provided the starting point).
Also removed qua.tex, which is out of date and no longer needed.
parent d0c87ee6
......@@ -7,6 +7,7 @@
# tut -- Tutorial (file tut.tex)
# lib -- Library Reference (file lib.tex, inputs lib*.tex)
# ext -- Extending and Embedding (file ext.tex)
# api -- Python-C API Reference
#
# The Reference Manual is now maintained as a FrameMaker document.
# See the subdirectory ref; PostScript is included as ref/ref.ps.
......@@ -18,9 +19,6 @@
# four. You can also do "make lib" (etc.) to process individual
# documents.
#
# There's also:
# qua -- Paper published in the CWI Quarterly (file qua.tex)
#
# There's one local style file: myformat.sty. This defines a number
# of macros that are similar in name and intent as macros in Texinfo
# (e.g. \code{...} and \emph{...}), as well as a number of
......@@ -31,7 +29,6 @@
# latex
# makeindex
# dvips
# bibtex (only for formatting qua.tex)
#
# There's a problem with generating the index which has been solved by
# a sed command applied to the index file. The shell script fix_hack
......@@ -43,7 +40,7 @@
# Additional targets attempt to convert selected LaTeX sources to
# various other formats. These are generally site specific because
# the tools used are all but universal. These targets are:
# l2h -- convert tut, lib, ext from LaTeX to HTML
# l2h -- convert tut, lib, ext, api from LaTeX to HTML
# See the README file for more info on these targets.
# Customizations -- you *may* have to edit these
......@@ -67,19 +64,17 @@ DOCDESTDIR= $LIBDEST/doc
# Main target
all: all-ps
all-dvi: tut.dvi lib.dvi ext.dvi
all-ps: tut.ps lib.ps ext.ps
all-dvi: tut.dvi lib.dvi ext.dvi api.dvi
all-ps: tut.ps lib.ps ext.ps api.ps
# Individual document fake targets
tut: tut.ps
lib: lib.ps
ext: ext.ps
# CWI Quarterly document fake target
qua: qua.ps
api: api.ps
# Dependencies
tut.dvi lib.dvi ext.dvi: myformat.sty fix_hack
tut.dvi lib.dvi ext.dvi api.dvi: myformat.sty fix_hack
# Tutorial document
tut.dvi: tut.tex
......@@ -129,7 +124,7 @@ lib.ps: lib.dvi
$(DVIPS) lib >lib.ps
# Extensions document
ext.dvi: ext.tex extref.tex
ext.dvi: ext.tex
touch ext.ind
$(LATEX) ext
./fix_hack ext.idx
......@@ -139,15 +134,16 @@ ext.dvi: ext.tex extref.tex
ext.ps: ext.dvi
$(DVIPS) ext >ext.ps
# Quarterly document
qua.dvi: qua.tex quabib.bib
$(LATEX) qua
$(BIBTEX) qua
$(LATEX) qua
$(BIBTEX) qua
# Python-C API document
api.dvi: api.tex
touch api.ind
$(LATEX) api
./fix_hack api.idx
$(MAKEINDEX) api.idx
$(LATEX) api
qua.ps: qua.dvi
$(DVIPS) qua >qua.ps
api.ps: api.dvi
$(DVIPS) api >api.ps
# The remaining part of the Makefile is concerned with various
......@@ -168,7 +164,7 @@ qua.ps: qua.dvi
# of; the prominent location makes it worth the extra step. This affects the
# title pages!
l2h: l2htut l2hext l2hlib
l2h: l2htut l2hext l2hlib l2htut
l2htut: tut.dvi myformat.perl
$(L2H) $(L2HARGS) tut.tex
......@@ -199,15 +195,24 @@ l2hlib: lib.dvi myformat.perl
@rm -rf python-lib
mv lib python-lib
l2hapi: api.dvi myformat.perl
$(L2H) $(L2HARGS) api.tex
@rm -rf python-api
sed 's/^<P CLASS=ABSTRACT>,/<P CLASS=ABSTRACT>/' \
<api/api.html >api/xxx
ln -s api.html api/index.html
mv api/xxx api/api.html
mv api python-api
# Housekeeping targets
# Remove temporary files
# Remove temporary files; all except the following:
# - sources: .tex, .bib, .sty
# - useful results: .dvi, .ps, .texi, .info
clean:
rm -f @* *~ *.aux *.idx *.ilg *.ind *.log *.toc *.blg *.bbl *.pyc
rm -f *.bak *.orig
# Sources: .tex, .bib, .sty
# Useful results: .dvi, .ps, .texi, .info
# Remove temporaries as well as final products
clobber: clean
......
This diff is collapsed.
This diff is collapsed.
......@@ -1366,7 +1366,7 @@ whitespace-separated absolute pathnames of libraries (\samp{.a}
files). No \samp{-l} options can be used.
\input{extref}
%\input{extref}
\input{ext.ind}
......
......@@ -1366,7 +1366,7 @@ whitespace-separated absolute pathnames of libraries (\samp{.a}
files). No \samp{-l} options can be used.
\input{extref}
%\input{extref}
\input{ext.ind}
......
This diff is collapsed.
......@@ -161,6 +161,7 @@
\newcommand{\Cpp}{C\protect\raisebox{.18ex}{++}}
\newcommand{\C}{C}
\newcommand{\EOF}{{\sc eof}}
\newcommand{\NULL}{\code{NULL}}
% code is the most difficult one...
\newcommand{\code}[1]{{\@vobeyspaces\@noligs\def\{{\char`\{}\def\}{\char`\}}\def\~{\char`\~}\def\^{\char`\^}\def\e{\char`\\}\def\${\char`\$}\def\#{\char`\#}\def\&{\char`\&}\def\%{\char`\%}%
......
This diff is collapsed.
@inproceedings{bult:usenix91,
title = "A Structure for Transportable, Dynamic Multimedia Documents",
author = "Dick C.A. Bulterman
and Guido van Rossum
and Robert van Liere",
booktitle = "Proceedings of the 1991 Summer USENIX Conference",
publisher = "The USENIX Association",
year = "1991",
}
@techreport{bult:gogh90,
title = "The {CWI} van {G}ogh Multimedia Research Project: Goals
and Objectives",
author = "Dick C.A. Bulterman",
institution = "CWI",
year = "1990",
number = "CST-90.1004",
}
@article{Amoeba:IEEE,
title = "{A}moeba: A Distributed Operating System for the 1990s",
author = "S.J. Mullender
and G. van Rossum
and A.S. Tanenbaum
and R. van Renesse
and J.M. van Staveren",
journal = "IEEE Computer Magazine",
volume = "23",
number = "5",
month = "May",
year = "1990",
pages = "44-53",
}
@article{Amoeba:CACM,
title = "Experiences with the {A}moeba Distributed Operating System",
author = "A.S. Tanenbaum
and R. van Renesse
and J.M. van Staveren
and G.J. Sharp
and S.J. Mullender
and A.J. Jansen
and G. van Rossum",
journal = "Communications of the ACM",
volume = "33",
number = "12",
month = "December",
year ="1990",
pages = "46-63",
}
@inproceedings{AIL,
title = "{AIL} --- A Class-Oriented Stub Generator for {A}moeba",
author = "G. van Rossum",
editor = {E W. Schr\"{o}der-Preikschat
and E. W. Zimmer},
booktitle = "Workshop on Progress in Distributed Operating Systems and Distributed Systems Management",
publisher = "Springer Verlag",
series = "Lecture Notes in Computer Science",
volume = "433",
year = "1990",
pages = "13-21",
}
@techreport{STDWIN,
title = "{STDWIN} --- A Standard Window System Interface",
author = "G. van Rossum",
number = "CS-R8817",
institution = "CWI",
address = "Amsterdam",
month = "April",
year = "1988",
}
@book{ABC,
title = "{ABC} Programmer's Handbook",
author = "Leo Geurts
and Lambert Meertens
and Steven Pemberton",
publisher = "Prentice-Hall",
address = "London",
year = "1990",
note = "ISBN 0-13-000027-2",
}
@manual{Flume,
title = "{F}lume --- Remote Procedure Call Stub Generator for {M}odula-2+",
author = "A.D. Birrell
and E.D. Lazowska
and E. Wobber",
organization = "DEC SRC",
address = "Palo Alto, CA",
year = "1987",
note = "(Topaz manual page)",
}
@techreport{Evolving,
title = "Evolving the {UNIX} System Interface to Support Multithreaded Programs",
author = "P.R. McJones
and G.F. Swart",
number = "21",
institution = "DEC SRC",
address = "Palo Alto, CA",
month = "September",
year = "1987",
}
@inproceedings{Tcl,
title = "{T}cl: an Embeddable Command Language",
author = "John K. Ousterhout",
booktitle = "Proceedings of the Winter 1990 USENIX Conference",
publisher = "USENIX Association",
address = "Washington, DC",
month = "January",
year = "1990",
pages = "133-146",
}
@article{RPC,
title = "Implementing Remote Procedure Calls",
author = "A. D. Birrell
and B. J. Nelson",
journal = "ACM Transactions on Computer Systems",
volume = "2",
number = "1",
month = "February",
year = "1984",
pages = "39-59",
}
@techreport{Modula-3,
title = "{M}odula-3 Report (revised)",
author = "Luca Cardelli et al.",
number = "52",
institution = "DEC SRC",
address = "Palo Alto, CA",
month = "November",
year = "1989",
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment