Fred Drake
86bc7b01b5
General comments on what's here and how to try it out. Note
...
dependence on the XML package.
1998-12-02 17:21:35 +00:00
Barry Warsaw
6d26f4b188
Moved NotImplementedError into alphabetical order, and reword
...
description.
1998-12-01 19:48:04 +00:00
Barry Warsaw
1e151322fb
Added documentation for NotImplementedError. Fred (I'm sure) will
...
sanitize for your protection :-)
1998-12-01 19:19:21 +00:00
Fred Drake
3695b1212c
Support conversions to both SGML and XML; SGML is the "default".
...
Add dependency on esistools.py for the ESIS intermediate files.
1998-12-01 19:05:56 +00:00
Fred Drake
aeea9810cd
Use esistools.
...
Lots of changes to the conversion table.
1998-12-01 19:04:12 +00:00
Fred Drake
4db5b4636c
Use esistools.
...
Generate ESIS data instead of XML.
Misc. changes to some transforms.
1998-12-01 19:03:01 +00:00
Fred Drake
f077b9d61f
Use esistools, getopt.
1998-12-01 19:01:53 +00:00
Fred Drake
3843bae969
Utility functions and misc. classes used in handling ESIS data.
1998-12-01 19:00:58 +00:00
Fred Drake
2f8592cbea
Ignore the byproducts of SGML/XML conversions for now.
1998-12-01 18:58:28 +00:00
Fred Drake
eabfab1048
Nits to support conversions.
1998-12-01 18:37:59 +00:00
Fred Drake
1e270f0e03
Nits to support conversions.
1998-11-30 22:58:12 +00:00
Fred Drake
f954b6516e
Remove $(CUTCRUFT) garbage; now in fixgenents.sh.
...
Separate ESIS generation from XML generation. This will evolve a bit
more in a couple of days.
1998-11-30 22:31:45 +00:00
Fred Drake
3d5e2c032d
Move nasty cruft from make.rules' $(CUTCRUFT) here, mostly to clean up
...
make.rules.
1998-11-30 22:30:29 +00:00
Fred Drake
50b804dc88
Fix minor nit with respect to conversion.
...
Update some logical markup.
1998-11-30 22:14:58 +00:00
Fred Drake
caa3379c4f
Remove {\rm ...} constructs.
1998-11-30 21:53:47 +00:00
Fred Drake
84538cd076
Remove some remaining {\rm ...} constructs.
...
Update logical markup in a few spots.
1998-11-30 21:51:25 +00:00
Fred Drake
f790b16d00
Change "for" explanation slightly based on comment passed along by
...
Blake Winton <BlakeW@pcdocs.com>.
1998-11-30 20:37:24 +00:00
Fred Drake
ca6d6355d7
l2hoption: Do the "right thing" to quote the right-hand-side of Perl
...
assignments. This allows '"', '$', and '@' to be included in
the values passed to parameters like --address.
1998-11-30 20:30:26 +00:00
Fred Drake
a8ba364700
Add a --address parameter to the mkhowto command line to direct
...
documentation comments appropriately. In response to comment from
Martijn Faassen <faassen@vet.uu.nl>.
Add dependency to about.dat.
1998-11-30 20:28:35 +00:00
Fred Drake
7777e36c21
Add a -address parameter to the LaTeX2HTML command line to direct
...
documentation comments appropriately. In response to comment from
Martijn Faassen <faassen@vet.uu.nl>.
1998-11-30 20:27:31 +00:00
Fred Drake
1ea5848b7b
Oops, remove LaTeX2HTML version number. Could become wrong and isn't
...
needed, since it's always added to the comments in the page header
anyway.
1998-11-30 19:29:34 +00:00
Fred Drake
15796f791a
do_cmd_textohtmlinfopage(): Rip out most of the boilerplate and move
...
it to the about.dat file. Only what really needs to be
generated is, and the remainder is easier to maintain than
Perl code.
1998-11-30 19:25:47 +00:00
Fred Drake
d83c8bd95f
New file. Contains boilerplate text for the "About this document..."
...
section of LaTeX2HTML-generated documents.
Includes credit to Christopher Petrilli for the navigation icons.
1998-11-30 19:24:13 +00:00
Fred Drake
1776556f8f
Markup nit to ease conversions.
1998-11-30 19:00:16 +00:00
Fred Drake
3d29955a6e
Markup improvements to help with conversions.
1998-11-30 18:59:44 +00:00
Fred Drake
01d5d94020
Remove cruft from the old Texinfo conversion. This simplifies some of
...
the newer processing.
1998-11-30 17:33:38 +00:00
Fred Drake
5208823158
Remove bogus \@.
1998-11-30 16:27:37 +00:00
Fred Drake
d61975e179
Minor markup nit to ease conversion processing.
1998-11-30 16:26:50 +00:00
Fred Drake
f6c59e8fff
Do all the right imports. Problem reported by Martijn Faassen
...
<faassen@vet.uu.nl>.
1998-11-30 15:07:26 +00:00
Fred Drake
42f5298ab5
Several small adjustments.
1998-11-30 14:45:24 +00:00
Fred Drake
fa1cceb91f
Make \var work correctly in math mode.
1998-11-30 14:42:59 +00:00
Fred Drake
87dfd3cfbf
Handle output of \geq and \leq.
1998-11-30 14:36:26 +00:00
Fred Drake
4471f20ed4
Logical markup.
...
Fix a few things for the conversion to structured markup.
Removed texinfo special cases, since there's likely a new info
process.
1998-11-25 22:38:24 +00:00
Fred Drake
f65e323101
Fix remaining {\rm ...} construct.
1998-11-25 20:55:03 +00:00
Fred Drake
af2590a991
Remove some optional parameters that are unnecessary in context.
1998-11-25 20:15:52 +00:00
Fred Drake
72554e476f
Remove bogus \@.
1998-11-25 20:07:35 +00:00
Fred Drake
b6d45c6ad1
Remove bogus \@.
1998-11-25 19:55:47 +00:00
Fred Drake
4c5e533693
Do the right stuff to convert what was originally \e, \ldots, and ---
...
in the LaTeX sources.
1998-11-25 19:28:02 +00:00
Fred Drake
d03268feaa
Remove two remaining {\tt ...} constructs.
1998-11-25 19:23:33 +00:00
Fred Drake
78eebfdbf4
Remove two remaining {\tt ...} constructs.
1998-11-25 19:09:24 +00:00
Guido van Rossum
5eabf3823b
Clarify that min and max also take multiple arguments.
1998-11-25 18:53:05 +00:00
Fred Drake
1e42d8aaab
Massive change to just about every construct that impacts the index.
...
Blame it on Just. ;-)
1998-11-25 17:58:50 +00:00
Fred Drake
ea81edf059
Markup nits.
...
Fixed an index entry, added three more.
1998-11-25 17:51:15 +00:00
Fred Drake
1475e88a35
Minor fixups to some index entries.
1998-11-25 17:48:10 +00:00
Fred Drake
2b3730e284
Minor adjustments to a few index entries.
1998-11-25 17:40:00 +00:00
Fred Drake
1cbd196f96
Minor nit that fixes a bunch of indexing: the way the classdesc
...
environment saves the name of the last class described, method and
member descriptions were not picking it up correctly. Thus, many
index entries were described as "( method)" instead of "(FooClass
method)". Multiple entries were collapsed in the index when
methods/members from multiple classes share the same name.
1998-11-25 17:13:28 +00:00
Fred Drake
e839199014
Fix indexing of func_code attribute; this is on a function, not a code
...
object.
Add "()" to method names indexed using \ttindex{}.
1998-11-25 17:09:19 +00:00
Fred Drake
d8faf85d40
Supplemental rules to convert a .tex file to a .xml file. Both XML and
...
SGML will be supported soon, probably using an ESIS representation saved
in a temp file.
1998-11-24 17:40:33 +00:00
Fred Drake
6942e57f87
Script to convert things like <C/> and <Cpp/> to &C; and &Cpp;. This is
...
something that con't be done with the DOM as far as I can tell.
1998-11-24 17:38:49 +00:00
Fred Drake
e743fd01ac
Rationalize a word-space markup to not break in the LaTeX->*ML
...
conversion tools currently being constructed.
Add a chapter from Jim Fulton on using Misc/Makefile.pre.in. Still
preliminary. The "Dynamic Loading" chapter needs to be updated (and
possibly removed, since it's no longer an issue for most (any?)
users.
1998-11-24 17:07:29 +00:00
Fred Drake
1cb330c383
The & character is also escaped using \.
1998-11-23 23:11:12 +00:00
Fred Drake
1ff6db484f
Add some additional cleanup transformations.
1998-11-23 23:10:35 +00:00
Fred Drake
5701482ea7
Fix comment regex so we don't screw up structured comments with
...
different internal indentation levels.
1998-11-23 18:21:54 +00:00
Guido van Rossum
04307ce789
Rewrote the section on sys.exit(), documenting other argument types
...
than integers and recommending sys.exit("message").
(I see this as Python's answer to Perls ``die "message";''.)
1998-11-23 17:49:53 +00:00
Fred Drake
0320473a29
Script to squirrel around with the DOM tree of document fragments from the
...
LaTeX-based ESIS streams to be a little better structured, and generally
perform clean-up.
Preliminary.
1998-11-23 17:02:03 +00:00
Fred Drake
30a68c7a2b
Moved into tools/sgmlconv/.
1998-11-23 16:59:39 +00:00
Fred Drake
63de8f6d55
Moving to sgmlconv/ subdir.
1998-11-23 16:58:48 +00:00
Fred Drake
bbd7509dbe
Fix up the extraction of optional parameters a little.
...
Be more informative in an exception message.
1998-11-23 16:30:18 +00:00
Fred Drake
c16149b17b
Some cleanup.
...
Don't duplicate the information on what's empty; rely on the input
data for that. (This means that the DOM may need more work.)
1998-11-23 15:14:18 +00:00
Fred Drake
96b07a9453
Fix some minor problems.
...
Make the table of attribute information contain only one kind of
entry. Simplifies some stuff in subconvert().
1998-11-23 15:12:00 +00:00
Fred Drake
99ff8c4361
First cut at a script to generate SGML/XML from an ESIS event stream,
...
probably only usable for the Python docs. But also probably more
useful than latex2esis.py.
1998-11-18 23:28:24 +00:00
Fred Drake
95f4f92b47
First cut at a script to generate ESIS events from LaTeX source,
...
probably only usable for the Python docs.
1998-11-18 23:27:24 +00:00
Fred Drake
db70d06464
Eliminate remaining \verb/.../ constructs; there's no need for them.
1998-11-17 21:59:04 +00:00
Guido van Rossum
da30f4ca6b
Fix typo in doc for handle(): client_request should be client_address.
...
Noted by Stefan Witzel.
1998-11-16 19:07:04 +00:00
Fred Drake
5e8aa549d1
Update the example in "Calling Python Functions from C" to use
...
METH_VARARGS conventions and PyArg_ParseTuple(), and document the flag
and where to look for PyArg_ParseTuple() info.
Response to comment from Don Bashford <bashford@scripps.edu>.
1998-11-16 18:34:07 +00:00
Fred Drake
c46973c89b
Document the user and password parameters to the NNTP constructor.
1998-11-16 17:11:30 +00:00
Fred Drake
2510d22048
Clarify the default buffering for open(). (Comment from Andrew Dalke
...
<dalke@bioreason.com>).
1998-11-02 18:57:34 +00:00
Fred Drake
cab91efd34
Fix Barry's markup.
1998-11-02 17:23:25 +00:00
Guido van Rossum
a096a2e6a2
Warn that AddModule doesn't import the module.
1998-11-02 17:02:42 +00:00
Fred Drake
9ed1a0afb9
Moved zmod and poly descriptions to the Obsolete section.
1998-11-02 15:46:21 +00:00
Barry Warsaw
4a1cdd7f22
Document the new features of this module
1998-10-31 23:19:00 +00:00
Fred Drake
130072d663
Don't describe something as "below"; that won't make sense for the
...
HTML version. Give a reference to the actual section to allow a
hyperlink to be built.
1998-10-28 20:08:35 +00:00
Fred Drake
c024c99faf
Fix typo reported by Gerry Weiner <gerry@ucar.edu>.
1998-10-28 18:19:16 +00:00
Andrew M. Kuchling
c1cea208bc
Added URL to HOWTO page, with reference to Regex HOWTO.
...
Corrected error: {,5} is not equivalent to {0,5}.
1998-10-28 15:44:14 +00:00
Fred Drake
566b6d5b59
Support the use of bibtex. This is transparent to the user.
...
Switch from bash to ksh, in the hope that more systems support it (one
report of a site without an available bash).
1998-10-27 21:59:03 +00:00
Guido van Rossum
04101960e6
Indicate that os.environ may not be a real dictionary.
1998-10-24 20:16:56 +00:00
Guido van Rossum
c62cf36e76
The last two example functions in the section about default argument
...
values (4.7.1) should return l, not a. Reported by Axel Boldt.
1998-10-24 13:15:28 +00:00
Fred Drake
803b340888
Update the date.
1998-10-21 14:50:52 +00:00
Fred Drake
a76b63c4f4
Bump the release to 1.5.2a2.
1998-10-21 14:49:48 +00:00
Fred Drake
d29cf379b9
Added --tools option, to package only the framework (no documents).
1998-10-21 14:26:26 +00:00
Fred Drake
9beee80fd7
Remove a couple of unnecessary "%" characters that cause problems with
...
the latest latex2html beta.
1998-10-21 00:44:49 +00:00
Fred Drake
dad11321eb
Remove a bunch of unnecessary "%" characters that cause problems with
...
the latest latex2html beta.
1998-10-21 00:26:56 +00:00
Fred Drake
3041b0715b
Remove an unnecessary "%" character that seems to cause a minor glitch
...
with the latest latex2html.
1998-10-21 00:25:32 +00:00
Fred Drake
28e7b4cce1
add_link(): Fix to use $section_info instead of $toc_section_info,
...
based on email from Ross Moore <ross@mpce.mq.edu.au>.
Set $HTML_VERSION to 4.0, since that's what we really generate (well,
4.0 "transitional").
1998-10-20 18:14:20 +00:00
Fred Drake
fbddddee49
Reflect new name of index style file.
1998-10-19 21:48:05 +00:00
Fred Drake
7f77db9530
Renamed myindex.ist to something more reasonable.
1998-10-19 21:45:52 +00:00
Fred Drake
9dcc9f7764
No longer needed since we have nice, contributed navigation buttons.
1998-10-19 21:40:45 +00:00
Fred Drake
a5de730d2d
If building HTML and the icons should be served from the same
...
directory as the HTML (--iconserver .), copy the icons into place.
Clarify that lynx is needed for --text in the usage message.
Fix a typo in a comment.
1998-10-19 19:14:42 +00:00
Fred Drake
649e8c1f7f
ArabictoRoman(): Removed, since it wasn't used anywhere.
1998-10-19 16:33:06 +00:00
Guido van Rossum
18fa7d2800
Typo: JIFF -> JFIF.
1998-10-19 13:30:01 +00:00
Guido van Rossum
0a0f11b6d4
PyMapping_SetItemString() returns int, not an object.
1998-10-16 17:43:53 +00:00
Fred Drake
b521095952
In build_html(), strip off leading "./" from filename, added by
...
kpsewhich. This caused a problem with the latest latex2html beta.
1998-10-16 17:34:34 +00:00
Guido van Rossum
f35b884c91
Clarify that close() of a stream opened by popen() returns None if the
...
exit status is zero.
1998-10-15 13:28:29 +00:00
Guido van Rossum
7d447aabbf
Moved search and match around so that search is documented first.
1998-10-13 16:03:52 +00:00
Barry Warsaw
afd974c2ab
Document the new list.extend() method. Interesting enough, the
...
canonical definition of extend() is very similar to append() except
that the former doesn't list-ify the argument!
1998-10-09 16:39:58 +00:00
Fred Drake
2e23c3125a
Make the dependencies really work for the HTML version.
1998-10-07 22:03:45 +00:00
Fred Drake
437ff8600a
Change the default split level to not split on marked \paragraph and
...
\subparagraph sections. Indicate the default in the --help message.
1998-10-07 16:46:54 +00:00
Fred Drake
b0b1900198
If --debug was used, don't delete the temporary .perl file used to
...
pass options to latex2html.
1998-10-07 16:41:40 +00:00
Fred Drake
8c1e114d1a
Don't attempt to add paragraph and subparagraph sections to the PDF
...
outline.
Work around font-long bogosity caused by ' in docstring.
1998-10-07 14:12:20 +00:00
Fred Drake
09b295754f
Remove extra } at end of method description parameters.
1998-10-01 20:43:13 +00:00
Fred Drake
c456d36bde
Fix encoding of \ in some string literals in the discussion of "raw"
...
strings. Reported by Lorenzo M. Catucci <lorenzo@argon.roma2.infn.it>.
1998-10-01 20:41:57 +00:00
Fred Drake
82385872e9
Fix some confusion in the __repr__() and __str__() descriptions.
...
Reported by Lorenzo M. Catucci <lorenzo@argon.roma2.infn.it>.
1998-10-01 20:40:43 +00:00
Fred Drake
d4c3352288
Fix encoding of \n in a couple of places (reported by Lorenzo
...
M. Catucci <lorenzo@argon.roma2.infn.it>).
1998-10-01 20:39:47 +00:00
Barry Warsaw
b2031f72d3
Document that apply() can now take any sequence in argument 2.
1998-10-01 15:35:43 +00:00
Guido van Rossum
9814a943a5
Add warning that on Windows it only works on sockets.
1998-09-28 14:28:38 +00:00
Guido van Rossum
954b9adcd2
Document new urllib features by Eric Raymond.
1998-09-28 14:08:29 +00:00
Fred Drake
f4cbb9c7fa
Added realclean and distclean targets to match ../Makefile.
1998-09-23 17:37:14 +00:00
Guido van Rossum
5fb2631ff9
Explicitly document the fact that the search method returns a MatchObject.
...
(Reported by Gary Herron.)
1998-09-21 19:26:16 +00:00
Guido van Rossum
6ac06b39b3
Patch by Greg Stein to document the 'P' flag.
1998-09-21 14:44:34 +00:00
Fred Drake
10a7985565
re.findall(): Mark as added in 1.5.2.
1998-09-18 17:11:49 +00:00
Guido van Rossum
43b655c0ab
Get rid of 'ppp' that accidentally crept in.
1998-09-17 17:07:15 +00:00
Guido van Rossum
6442116029
Richard Wolff's changes, documenting his changes to pdb.py.
1998-09-17 15:11:51 +00:00
Fred Drake
b7833d3c0c
Add a \label to the section "Fancier Output Formatting" (it's referenced from
...
the KOE docs).
Some markup nits.
1998-09-11 16:21:55 +00:00
Fred Drake
d16d4981d1
Markup nits.
1998-09-10 20:21:00 +00:00
Fred Drake
d64a40dbc0
do_cmd_methodlineni(): New function, needed because the ref. manual now
...
actually uses this markup.
1998-09-10 18:59:13 +00:00
Fred Drake
9b134bf716
Added comment about support for rational numbers, and pointer to
...
Demos/classes/Rat.py.
1998-09-10 18:42:55 +00:00
Fred Drake
7a2f0668e4
Markup nits.
...
Fixes/index improvements from Michael Ernst <mernst@cs.washington.edu>.
1998-09-10 18:25:58 +00:00
Fred Drake
3494e4a31f
Fix typo in URL; reported by Michael Ernst <mernst@cs.washington.edu>.
1998-09-10 17:55:32 +00:00
Fred Drake
f9acc59c55
\itembreak,
...
\itemjoin: Remove obsolete macros.
\itemnewline: Rename to \py@itemnewline, since it's only used internally.
1998-09-09 15:27:43 +00:00
Fred Drake
525d7024ab
Ignore the generated README file.
1998-08-28 21:34:50 +00:00
Fred Drake
2335a305e5
When building the tarball of the PostScript files, also generate & include a
...
little README giving the page count of each file when printed.
1998-08-28 21:17:58 +00:00
Fred Drake
7c86c594ea
Target to generate a little README file with the page counts of the PostScript
...
files.
1998-08-28 21:17:07 +00:00
Fred Drake
47f69067d5
Script to generate page counts of the PostScript files.
1998-08-28 21:16:28 +00:00
Fred Drake
e1feb8f2dc
Support long options that take arguments of the form --option=value as well
...
as --option value.
Minor nits cleaned up.
1998-08-28 20:21:04 +00:00
Fred Drake
d82575d5bf
Markup changes in the section on disciplines to match method descriptions
...
a little better, and produce better HTML.
Add some index entries.
1998-08-28 20:03:12 +00:00
Guido van Rossum
f5a80a4a88
Describe what happens when ``raise C, x'' is called where C is a class
...
and x is not an instance of C (nor of a class derived of C).
1998-08-25 14:45:41 +00:00
Guido van Rossum
dbf7956e52
Clarify Y2K behavior when a tuple with a 2-digit date is passed to
...
mktime() and such.
1998-08-25 14:44:49 +00:00
Fred Drake
607f802886
round(): Mark the second (optional) parameter as optional, since it's
...
described that way.
setattr(): Clarify that the attribute doesn't need to exist to be set.
1998-08-24 20:30:07 +00:00
Fred Drake
c859350fa6
Added some cross-references to the end.
1998-08-24 18:46:14 +00:00
Fred Drake
d0421dd448
spoking --> speaking
...
object whose method this is --> object on which the method operates
1998-08-24 17:57:20 +00:00
Fred Drake
637af13dca
There is no <ISINPUT> element, just <ISINDEX>. ;-)
1998-08-21 20:02:06 +00:00
Andrew M. Kuchling
42db27fedc
Added an example that uses signal.alarm() to time out an os.open() that
...
takes too long. This example relies on the fact that raising an
exception in a signal handler causes the exception to be re-raised
when the main line of the program resumes execution. Is this guaranteed
in CPython, or is this something that just happens to work by accident?
Also fixed a typo.
1998-08-18 19:38:54 +00:00
Fred Drake
664dcd5b5e
Clean up the HTML a bit; update the version number.
1998-08-17 14:11:00 +00:00
Fred Drake
e7210dad6c
Fix arguments for renames(); bug spotted by Oliver Andrich
...
<oli@rhein-zeitung.de>.
1998-08-17 13:29:06 +00:00
Fred Drake
a5aefbad5a
Fix markup where C include files get named in <...> form; bug reported by
...
Lorenzo M. Catucci <lorenzo@argon.roma2.infn.it>.
1998-08-14 17:05:17 +00:00
Fred Drake
a0e4b78233
img_tag(): For \n to be interpreted as a newline, the string must use double
...
quote, not single quotes. Ugh.
1998-08-14 15:03:48 +00:00
Andrew M. Kuchling
d22e25002a
Clarify wording in the description of re.split
...
Simplify the patterns in the examples for re.split
1998-08-14 14:49:20 +00:00
Fred Drake
7cfca6de2b
Don't need these anymore....
1998-08-13 22:05:09 +00:00
Fred Drake
062bc6e598
Do the magic to use the new buttons (with shorter names!) instead of the old
...
ones. Get the <IMG> width & height right. New design for the navigation
bars, including the document title as well as the navigation links/buttons.
1998-08-13 22:03:46 +00:00
Fred Drake
54c52052ce
Add l2hinit.perl to COMMONPERL.
1998-08-13 19:03:19 +00:00
Fred Drake
564e444a7c
New icons from Christopher Petrilli <petrilli@dworkin.amber.org>.
...
Cool!
1998-08-13 18:32:35 +00:00
Guido van Rossum
3a5a02f3da
Second definition of popen2 should be popen3.
1998-08-13 01:27:01 +00:00
Fred Drake
9f6f0da084
Improved some error messages for command line processing.
...
Added --all to produce all formats at once.
1998-08-12 18:07:51 +00:00
Fred Drake
00c468b0c5
Added more informaton about the mkhowto.sh script.
1998-08-12 17:53:46 +00:00
Fred Drake
78b8c3d0d6
Oops, the --text option wasn't documented!
1998-08-12 17:52:16 +00:00
Fred Drake
c794c38187
Added a comment about not using a symbolic link to access the script.
1998-08-12 17:50:07 +00:00
Fred Drake
697c1c7325
Some minor updates.
1998-08-12 17:13:28 +00:00
Fred Drake
eb7fe4f5a1
Massive cleanup: Use Makefiles in subdirs properly, move most of the
...
detailed build rules to the subdirs. Allow pretty much every useful target
to be built directly from the top dir (no change in output location).
1998-08-12 17:08:37 +00:00
Fred Drake
07b12f2497
Re-written to actually perform the conversion instead of using a sub-make
...
with the parent Makefile. Will also force the auxillary files to be
created if they need to be.
1998-08-12 17:06:03 +00:00
Fred Drake
3069c976cf
Update date & version number for release 1.5.2a1.
1998-08-12 17:02:50 +00:00