summaryrefslogtreecommitdiffstats
path: root/Doc/texinputs/python.sty
Commit message (Collapse)AuthorAgeFilesLines
...
* \declaremodule: Typo.Fred Drake1999-05-171-1/+1
|
* \declaremodule: Make this more robust. Only attempt to add an indexFred Drake1999-05-171-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.
* Change the look of \seemodule output to fit in better.Fred Drake1999-05-111-10/+16
|
* \filenq: Like \file, but don't use single-quotes; this looks betterFred Drake1999-04-281-0/+1
| | | | in tables.
* Use more recent option to \pdfdest to not change the zoom factor.Fred Drake1999-03-241-1/+1
| | | | This is in response to a comment from Wes Rishel <wes@rishel.com>.
* Add some (commented out) macros to change the page size to the size ofFred Drake1999-03-181-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.
* Added support for \platform, \platformof, and \ignorePlatformAnnotation.Fred Drake1999-03-021-10/+47
|
* Make \versionadded and \versionchanged less prominant -- neither boldFred Drake1999-02-021-3/+3
| | | | nor a separate paragraph.
* \py@linkToName: New macro to consolidate support for most internalFred Drake1999-01-271-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.
* \py@modindex: Format the index entry for the module index more likeFred Drake1999-01-261-1/+1
| | | | | that used in the "normal" index. No visual difference, but more easily processed by helper scripts.
* \seemodule: Fix so that each \seemodule entry gets its own paragraph,Fred Drake1999-01-131-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.
* Make \var work correctly in math mode.Fred Drake1998-11-301-2/+8
|
* Minor nit that fixes a bunch of indexing: the way the classdescFred Drake1998-11-251-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.
* \itembreak,Fred Drake1998-09-091-20/+7
| | | | | | \itemjoin: Remove obsolete macros. \itemnewline: Rename to \py@itemnewline, since it's only used internally.
* \moduleauthor,Fred Drake1998-08-101-0/+6
| | | | \sectionauthor: New macros to record attributions; no output.
* Define stuff to allow simple HTML-only selection using TeX's \if<foo>...\fiFred Drake1998-07-281-0/+5
| | | | stuff. \ifhtml ...\fi for HTML only.
* \versionadded,Fred Drake1998-07-271-2/+17
| | | | \versionchanged: New macros.
* {tableiv} environment: Four-column table.Fred Drake1998-07-241-0/+10
| | | | \lineiv: Row for {tableiv}.
* \textunderscore: Re-define with a width that's more appropriate for theFred Drake1998-07-231-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.)
* Lots of new stuff for "module synopsis support." Public interface consistsFred Drake1998-07-231-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.
* Fix the \kbd definition so it didn't leave the courier face on.Fred Drake1998-07-011-1/+1
|
* Added {definitions} environment, which has \term to define indivual terms.Fred Drake1998-05-201-0/+11
| | | | Similar to {description}.
* Added definitions for \developer, \developers, \developersaddress.Fred Drake1998-05-141-0/+3
| | | | Ask Guido if you really want to know why. ;-)
* Set the right page size in the PDF output.Fred Drake1998-05-111-7/+5
|
* \itembreak,Fred Drake1998-05-061-0/+14
| | | | | \itemjoin, \kwindex: Revived definitions to support the Python Reference Manual.
* Fixed \code so word wrapping is allowed.Fred Drake1998-04-281-142/+141
| | | | | | Removed some old stuff. Do better hiding of internal names.
* Shift (re-)definition of \theindex to the document classes so that it doesn'tFred Drake1998-04-171-11/+0
| | | | break HOWTO documents.
* Hide \varvars from "public" interface.Fred Drake1998-04-171-5/+5
|
* Fix the broken PDF links, really this time!Fred Drake1998-04-151-22/+36
| | | | | | | | "." cannot be part of the target names either. Appending a junk char to the end doesn't quite do it, or doesn't seem to at any rate. Instead, pad the page numbers to always be 3 charaters wide, with leading zeros.
* Change the form of the name given to each page of the PDF from "page.%d" toFred Drake1998-04-151-1/+1
| | | | | "page.%dx"; this works around an acroread bug that causes targets not to be recognized if their name is a prefix of another target in the file.
* Lighten up tables.Fred Drake1998-04-111-4/+2
|
* Data attributes of objects should not be indexed with trailing parentheses!Fred Drake1998-04-071-2/+2
|
* Increase space between the end of a regexp and the little right floor symbolFred Drake1998-04-031-1/+1
| | | | used as a closing quote. At AMK's request.
* Removed an obsolete hack that's been commented out for a long time.Fred Drake1998-04-021-10/+10
| | | | Added comments to various sections.
* \bifuncindex: Fix so entries combine correctly with those of the built-inFred Drake1998-04-021-1/+1
| | | | functions section.
* Fix one remaining internal use of \code{} that could use the simpler form.Fred Drake1998-04-021-1/+2
|
* Added some comments.Fred Drake1998-04-011-0/+7
|
* Add comments about several of the environments.Fred Drake1998-03-271-57/+137
| | | | | | | | | | Cleaned up some problems that caused minor warnings. Added environments for object methods and members, with non-indexing variants. This includes reduced use of the indexsubitem setting, allowing more robust index generation. Removed some unused definitions.
* Don't use the fncychap package for HOWTO documents; appendices break. StillFred Drake1998-03-251-21/+14
| | | | use them for manuals.
* Change uses of \pdfinfo and \pdfcatalog to use the new syntax from theFred Drake1998-03-251-11/+9
| | | | | latest pdftex. (Which we have here at CNRI.) This makes the PDF targets work again.
* Reverting some of the index stuff to work with LaTeX2HTML better.Fred Drake1998-03-171-3/+0
|
* {classdesc} environment: Index as "Foo (class in foolib)" instead ofFred Drake1998-03-161-1/+1
| | | | "Foo (in module foolib)". Is now independent of indexsubitem.
* \regexp{}: Rewritten to look like Freidl's book. Too rip-off?Fred Drake1998-03-121-4/+9
| | | | \envvar{}: Bow to font-lock-mode a few times...!
* \withsubitem{}: New macro. Change indexsubitem temporarily for anotherFred Drake1998-03-121-12/+29
| | | | | | | | | | | | | | | | | | | | | | macro. Intended usage: \withsubitem{(in module foo)}{\ttindex{myfunc()}} This allows indexing functions from other modules/class/whatnot without being dependent on the exact expansions of several macros internal to python.sty. It's also easier to read in the source! Some new "logical" macros that seem to be useful: \regexp{}: For regular expressions. To make it easier to keep the appearance consistent. \mimetype{}: Don't use \code{}! \envvar{}: Environment variable. This does some indexing as well. \character{}: Just a character we want to talk about in the text, but not a Python constant.
* Adjust the index support a bit to make it easier to deal with module index.Fred Drake1998-03-091-23/+38
| | | | | | | | Don't generate the mod???.idx file if it wasn't requested with the new command \makemodindex. Change the format of mod???.idx to match that of "normal" .idx files. This lets us use makeindex for it and not need a special script.
* Never, NEVER try to recover a screwed up file by carving a chunk out of anFred Drake1998-03-071-70/+70
| | | | | | | | | | RCS ,v archive! And certainly don't check it back in without testing it. ;-( "@" becomes "@@" everywhere. This one *is* tested!
* Oops; file copy error somewhere along the way....Fred Drake1998-03-061-86/+71
|
* Revise some of the PDF support to get at least preliminary outline support.Fred Drake1998-03-061-6/+51
| | | | | Rewrite \seemodule (again) to allow an optional argument to support modules which include an underscore in the names. See example in comments.
* Move the change to ending the abstract from python.sty to manual.cls; itFred Drake1998-03-051-15/+0
| | | | is not appropriate for the howto document class.
* Create the module index only if a conditional is true.Fred Drake1998-03-041-3/+7
|