Commit graph

26075 commits

Author SHA1 Message Date
Fred Drake
888dfa90f3 Change quoting of the "echo" commands yet again.... why can't shells agree?
Derive the name of the modules .idx from the jobname.
1998-02-25 15:30:47 +00:00
Fred Drake
9cf4bbd630 Make this work better with a4 paper.
Make the table of contents "hot" for PDF output.  No additional packages are
needed.

Move code for \b@code, \e@code into the macros for the verbatim environment
directly since they're not used elsewhere.

Derive the name of the modules .idx from the jobname.

Some clean ups.
1998-02-25 15:29:43 +00:00
Fred Drake
d10d0faaa5 Logical markup. 1998-02-24 21:43:05 +00:00
Fred Drake
eb9b83104a Add support for hyperref package. This builds the PDF outline, makes the ToC
and index "hot", etc.

Updated a comment about fncychap.

Removed unused minitoc support; I'm not going to use it.  Something that makes
more sense with the Python lib ref can be done with reasonable effort, and can
wait a little while.
1998-02-23 21:37:27 +00:00
Fred Drake
4d3b2a2717 clean: Remove *.out (hyperref's internal files for building outlines for PDF). 1998-02-23 21:34:26 +00:00
Fred Drake
f6dabaa57d Ignore hyperref's *.out files (used in building outlines for PDF). 1998-02-23 21:33:43 +00:00
Fred Drake
906f7ea429 Change quoting a little bit to avoid problems building it at CNRI. 1998-02-23 21:32:18 +00:00
Fred Drake
78f6aac73e Clean up some stuff in the {seealso} at the end. This avoids a little nit
(which causes processing to fail) when using the LaTeX hyperref package.
1998-02-23 21:31:24 +00:00
Fred Drake
a705da7aa0 Marked the unmarked AttributeError. (AMK)
"Protect the class instance" --> "Protect the object"  It works for anything
with attributes to look up!  (AMK)

Logical markup.
1998-02-23 14:42:00 +00:00
Fred Drake
71f894ad56 "streans" --> "streams" (AMK) 1998-02-23 14:37:40 +00:00
Fred Drake
eb72a275b4 Add a period to "Written by James Roskind" 1998-02-22 20:42:11 +00:00
Fred Drake
5ad78f39e7 Changed way *.ind are forced to exist; the files are now reset to contain
an empty index instead of touched.  Note that for modindex.ind, this also
includes "\label{modindex}" so that the modindex.py script doesn't change
the set of labels in the document.

Be more consistent in use of $* in commands.
1998-02-22 19:47:13 +00:00
Guido van Rossum
d028ca989a Fixed and extended the example; the original example contained some
bogus code.
1998-02-22 04:41:51 +00:00
Guido van Rossum
3ffb715032 Added two subsections with extra hints and details, even for
extensions and embedding programs.
1998-02-22 04:23:51 +00:00
Fred Drake
1ee492e5d4 The list of module descriptions should be a {description} environment, not
{itemize}!
1998-02-21 06:30:17 +00:00
Fred Drake
ed3515d541 Removed two items, correct one spelling error. 1998-02-20 21:55:10 +00:00
Fred Drake
5c19c7bade Tell TeX about a pathological hyphenation case (BaseHTTPRequestHandler). 1998-02-20 06:08:07 +00:00
Fred Drake
2c8aa650a8 Added \label{}s for logical addressing.
Logical markup.
1998-02-20 06:03:52 +00:00
Fred Drake
d67e12e65c Added \label{}s for logical addressing. 1998-02-20 05:49:37 +00:00
Fred Drake
7baf3d4ea7 Fixed typo reported by Vladimir Marangozov <Vladimir.Marangozov@imag.fr>. 1998-02-20 00:45:52 +00:00
Fred Drake
f7f2e70fd4 Don't ignore makeinfo errors. 1998-02-19 21:40:51 +00:00
Fred Drake
9c7c6bec98 Clean up name->name conversion a little, *make sure it happens in all the
right places*!
1998-02-19 21:40:22 +00:00
Guido van Rossum
505d80b39d Jeff Kunce writes (and he is right):
Also, I just ran across a [possible] minor glitch
in the library documentation for site.py. It says:

"For example, suppose sys.prefix and
sys.exec_prefix are set to `/usr/local'. The
Python 1.5 library is then installed in
`/usr/local/lib/python1.5'. Suppose this has a
subdirectory `/usr/local/python1.5/site-packages'
with three subsubdirectories, `foo', `bar' and
`spam'..."

I think it should be:
"...Suppose this has a subdirectory
`/usr/local/lib/python1.5/site-packages' with..."
          ^^^^
1998-02-19 21:02:32 +00:00
Fred Drake
ef146222db Revise comment about the {fulllineitems} environment to be accurate. 1998-02-19 21:02:26 +00:00
Fred Drake
6eb1f6b251 Improve support for logical node names. 1998-02-19 21:00:41 +00:00
Fred Drake
0cf0cfbaa9 Adjusted \label{} for *consistent* logical addressing.
Logical markup.
1998-02-19 20:59:19 +00:00
Fred Drake
c83db33781 Added \label{} for logical addressing. 1998-02-19 20:50:52 +00:00
Fred Drake
9168328572 Add missing files to $(LIBFILES).
Run node2label.pl on the HTML versions of all the LaTeX manuals.
1998-02-19 20:46:47 +00:00
Fred Drake
c3e4549012 Added \label{} for logical addressing. 1998-02-19 20:22:13 +00:00
Fred Drake
83efb54562 Added \label{} for logical addressing. 1998-02-19 20:07:39 +00:00
Fred Drake
af9b6e6607 Added itemized list of Macintosh modules, similar to the other chapters. 1998-02-19 19:45:19 +00:00
Fred Drake
cea0e7350d Added \label{} for logical addressing. 1998-02-19 19:40:17 +00:00
Fred Drake
83c1a39c4b Separate chapter and section. 1998-02-19 18:59:48 +00:00
Fred Drake
baa04a1c77 Make sure the general index and about nodes get labels assigned, so they get
real names instead of node#.html names.
1998-02-19 18:51:39 +00:00
Fred Drake
1aabe5e4d1 Separate binhex and binuu documentation from binascii. Support better
module addressing in HTML.
1998-02-19 18:29:18 +00:00
Fred Drake
05ce570e8b Remove debugging print.
Support {classdesc} and {fulllineitems} environments.

Support most recent logical markup.
1998-02-19 17:26:48 +00:00
Fred Drake
1f0fdde4fb Bring date into line with the last documentation release. 1998-02-19 16:18:19 +00:00
Fred Drake
526ebb4d97 Work on a temporary file, not the input file. 1998-02-19 16:01:41 +00:00
Fred Drake
a799835460 Revised some targets to make better use of make "special" variables, to avoid
repeating file names.

Change lib.texi target to not overwrite the input file; work on a copy.
1998-02-19 16:01:04 +00:00
Fred Drake
ef058037a5 Support environments {fulllineitems} and {classdesc}, more of the new logical
markup.

The info generation now works, yet again.
1998-02-19 15:20:30 +00:00
Fred Drake
c92740708d Adjust grouping for the "b(reak)" command syntax description. This is
required to get the info generation back in operation, yet again.
1998-02-19 15:18:02 +00:00
Fred Drake
20e01966f5 Logical markup.
Several uses of "\^" could be simplified; this fixes part of the info
generation process.
1998-02-19 15:09:35 +00:00
Fred Drake
ea8006a865 \nodename{} must immediately follow \chapter{} to be handled correctly;
adding the \label{} broke that.
1998-02-19 14:00:22 +00:00
Fred Drake
75bfb0f7bb {fulllineitems} is now an environment; use it as such. 1998-02-19 06:32:06 +00:00
Fred Drake
802a202d0d Logical markup.
Changed {funcdesc} to {classdesc}.  This is a test case for {classdesc}.
1998-02-19 06:26:35 +00:00
Fred Drake
fb5e54d497 Mostly LaTeX style cleanup.
Use \newenvironment{envname} instead of \newcommand{\foo} &
\newcommand{\endfoo} (or \let\endfoo=...!) wherever reasonable.

Where {*desc} environment helper functions are not needed outside a
single environment definition, inline them.

Ensure that \seemodule{} and \seetext{} are only available within the
{seealso} environment.

Added "()" to the index entries for {funcdesc} and {cfuncdesc} environments.

Added {classdesc} environment which looks like the {funcdesc} environment
but doesn't add the parens in the index entry.
1998-02-19 06:23:06 +00:00
Fred Drake
c02fbe52b2 breakable_re: Fix the RE so that module definition entries don't prevent
combining.
1998-02-19 06:05:29 +00:00
Guido van Rossum
a73033fcc2 Feature added by Bill van Melle: when no timezone is present, assume
local time -- that's better than failure.
1998-02-19 00:28:58 +00:00
Fred Drake
ce0e175554 &do_cmd_url,
&do_cmd_email:  Adjust to use a font similar to that used in the printed
	representation.

&my_module_index_helper:  Change to be only used for defining markup.  Don't
	prepend an <A NAME=...> to the result; use the containing page as
	the module target for the index.

&ref_module_index_helper:  New function.  Used only for references to modules
	described elsewhere.  Generate the right target.

&init_myformat:  Set the anchor_mark to an empty string; this avoids junky
	"&#160;"'s in the text, which could really screw up vertical spacing
	when that's all that's in a paragraph.

&do_cmd_seemodule:  Insert markup to jump right to the referred-to module.
1998-02-18 22:45:53 +00:00
Guido van Rossum
026d9626df Consistent spelling: "time zone" -> "timezone".
Clarify that the sign of the timezone offset returned by
parsedate_tz() is the opposite of time.timezone.
1998-02-18 21:47:29 +00:00