summaryrefslogtreecommitdiff
path: root/Doc/texinputs/python.sty
AgeCommit message (Collapse)AuthorLines
2001-08-20New \grammartoken markup, similar to \token but allowed everywhere.Fred Drake-0/+2
2001-08-03Define the \mailheader macro and document conventions for using it.Fred Drake-0/+1
2001-07-17Define new markup for 5-column tables.Fred Drake-0/+21
2001-07-06Add \ulink, grammar production markup.Fred Drake-0/+15
2001-06-23\infinity,Fred Drake-0/+2
\plusminus: New macros to allow us to avoid math mode for these symbols.
2001-06-20Add a little more support for describing version information. ThisFred Drake-0/+3
is not pretty, but does what is needed.
2001-05-11Define a new environment, classdesc*, which can be used to document aFred Drake-0/+12
class without providing any information about the constructor. This should be used for classes which only exist to act as containers rather than as factories for instances.
2001-04-18\versionadded: Add support for including an explanatory note along withFred Drake-2/+7
the versioning information, similar to \versionchanged.
2001-04-10Import the alltt package and wrap that environment in a similar way toFred Drake-0/+21
the way we handle verbatim, so that it picks up the same indentation and minipage behavior.
2001-03-02Label classes and exceptions explicitly in the documentation (for theirFred Drake-15/+15
*desc environments).
2001-01-22Remove the dollar sign from the formatting of environment variables --Fred Drake-3/+3
too Unix-specific, and not really needed. (Already fixed the HTML formatting, but forgot to mention it in the checkin for python.perl 1.94.)
2000-10-30Fix \withsubitem so that it actually works if the only indexing macro inFred Drake-10/+5
the content body is the \ttindex macro, which seems to match actual usage. Adjust \funcline to restore the "index sub-item" for functions to be " (in module <name>)" instead of " (in <name>)". This is need to match uses of \withsubitem throughout the documentation. (Not ideal, but gets achieves consistency.)
2000-10-29Avoid using \withsubitem and \ttindex internally; they have not provenFred Drake-20/+26
to be very robust. Using \index directly fixes a lot of entries in the index that had to be specifically read to determine that they had the wrong parenthesized description.
2000-10-24Remove second horizontal line below table headers; it is just tooFred Drake-6/+6
distracting.
2000-09-21Add new environments: longtableii, longtableiii, and longtableiv, toFred Drake-3/+36
support long tables which might break across page boundaries. Otherwise identical to tableii, tableiii, and tableiv.
2000-09-14\shortversion,Fred Drake-0/+3
\setshortversion: New markup to help deal with Python having a "real" version number and an abbreviated version number used to create pathnames to the library installation.
2000-09-12\seetitle: New macro for building reference list content.Fred Drake-0/+13
2000-09-09excclassdesc: New environment. For use in documenting class-basedFred Drake-0/+19
exceptions which have interesting constructor signatures. \pep, \seepep: New macros. Equivalent to \rfc and \seerfc, but referring to the PEP series instead of the Internet RFC series of documents.
2000-08-17\citetitle: Format the title, not the optional URL!Fred Drake-1/+1
2000-08-03\py@varvars: Merge the various definitions to be the simplist one thatFred Drake-5/+2
does everything needed, and discard the older stuff that is not being used.
2000-06-30Try to make sure \code always uses roman (non-italic) text.Fred Drake-2/+2
Change a 1.6 version number used in a an example in a comment to 2.0.
2000-05-09Define \seeurl in the seealso environment. Two parameters: url, why.Fred Drake-0/+9
2000-05-02\versionchanged: Added optional parameter for explanation of change.Fred Drake-2/+8
2000-04-26Define \seerfc within the seealso environment.Fred Drake-0/+9
2000-04-11\longprogramopt: New macro.Fred Drake-0/+2
2000-04-10cfuncdesc environment:Fred Drake-1/+1
When processing the optional parameter, don't append any text; let the pre-processor supply all of it.
2000-04-03Merged changes from the 1.5.2p2 release.Fred Drake-12/+58
1999-11-09\programopt: New macro, used to mark command-line parameters in theFred Drake-0/+5
text. Looks like \program. \citetitle: New macro, used to mark titles of cited works (like the names of the Python manuals). Accepts & discards an optional parameter that is only used by the HTML formatter. Looks like \emph.
1999-06-29Move the setting for secnumdepth to the document classes; make the numberingFred Drake-1/+0
for the manual class go one deeper than it previously did (\subsection entries will now be numbered); no change for howto documents. This makes it easier to refer precisely to smaller sections using \ref.
1999-05-17\declaremodule: Typo.Fred Drake-1/+1
1999-05-17\declaremodule: Make this more robust. Only attempt to add an indexFred Drake-1/+6
entry based on the module type if the type is known. Otherwise, spit out a warning the the module type parameter was bad and generate a "plain" index entry. Without this, the bad module type was emitted as text. Problem noticed by processing Michael Hudson's docs for bytecodehacks.
1999-05-11Change the look of \seemodule output to fit in better.Fred Drake-10/+16
1999-04-28\filenq: Like \file, but don't use single-quotes; this looks betterFred Drake-0/+1
in tables.
1999-03-24Use more recent option to \pdfdest to not change the zoom factor.Fred Drake-1/+1
This is in response to a comment from Wes Rishel <wes@rishel.com>.
1999-03-18Add some (commented out) macros to change the page size to the size ofFred Drake-41/+35
typical published manuals, so people can more easily see what they're really asking for. ;-) Revise the verbatim environment: simple implementation, but more compatible if a document also add \usepackage{verbatim} at the beginning. Declare \modindex, \bimodindex, \exmodindex, and \stmodindex obsolete. These still work just fine, but \declaremodule should be used instead. The obsolete macros will print a warning on standard out.
1999-03-02Added support for \platform, \platformof, and \ignorePlatformAnnotation.Fred Drake-10/+47
1999-02-02Make \versionadded and \versionchanged less prominant -- neither boldFred Drake-3/+3
nor a separate paragraph.
1999-01-27\py@linkToName: New macro to consolidate support for most internalFred Drake-18/+18
hyperlinking in the PDF version. This also allows many of the macros that do this stuff to be a good bit more readable. Takes the target name and link content as parameters. Use \py@linkToName for all internal links.
1999-01-26\py@modindex: Format the index entry for the module index more likeFred Drake-1/+1
that used in the "normal" index. No visual difference, but more easily processed by helper scripts.
1999-01-13\seemodule: Fix so that each \seemodule entry gets its own paragraph,Fred Drake-0/+15
so they don't get run together when there's no blank line between them in the source. The HTML conversion already did the right thing. \refmodule: Refer to a module, using a hyperlink in the PDF version. Visually the same as \module.
1998-11-30Make \var work correctly in math mode.Fred Drake-2/+8
1998-11-25Minor nit that fixes a bunch of indexing: the way the classdescFred Drake-1/+2
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-09-09\itembreak,Fred Drake-20/+7
\itemjoin: Remove obsolete macros. \itemnewline: Rename to \py@itemnewline, since it's only used internally.
1998-08-10\moduleauthor,Fred Drake-0/+6
\sectionauthor: New macros to record attributions; no output.
1998-07-28Define stuff to allow simple HTML-only selection using TeX's \if<foo>...\fiFred Drake-0/+5
stuff. \ifhtml ...\fi for HTML only.
1998-07-27\versionadded,Fred Drake-2/+17
\versionchanged: New macros.
1998-07-24{tableiv} environment: Four-column table.Fred Drake-0/+10
\lineiv: Row for {tableiv}.
1998-07-23\textunderscore: Re-define with a width that's more appropriate for theFred Drake-0/+6
courier font used in Python code. This still isn't *good*, but makes the width about right in most cases. (Exception: it's now a little wide in \var words.)
1998-07-23Lots of new stuff for "module synopsis support." Public interface consistsFred Drake-51/+151
of three macros, one which replaces some of the current conventions used in the module sections: \declaremodule: Requires two parameters: module type (standard, builtin, extension), and the module name. An optional parameter should be given as the basis for the module's "key" used for linking to or referencing the section. The "key" should only be given if the module's name contains underscores, and should be the name with the underscore's stripped. This should be the first thing after the \section used to introduce the module. \modulesynopsis: Requires a single parameter: a short, one-liner description of the module that can be used as part of the chapter introduction. This should probably be placed just after the \declaremodule, but may be placed anywhere in the same section. \localmoduletable: No parameters. If a .syn file exists for the current chapter (or for the entire document in howto docs), a synopsistable is created with the contents loaded from the .syn file. Some re-organization due to module synopsis support. Some \def's changed to \newcommand's.
1998-07-01Fix the \kbd definition so it didn't leave the courier face on.Fred Drake-1/+1