summaryrefslogtreecommitdiffstats
path: root/Doc/perl
Commit message (Collapse)AuthorAgeFilesLines
* Don't assume the name of the table of contents will be contents.html;Fred Drake2003-06-271-2/+4
| | | | | | | | | that won't be right when mkhowto is called with --numeric (as it is for the Python Tutorial). Save the actual name we use when we build the table of contents, then use that in the page head metadata. The node2label.pl script will munge this properly when --numeric isn't given, so this works in both cases. Closes SF bug #761830.
* Add \funcline, \funclineni, and \methodlineni to the list of functionsFred Drake2002-11-131-0/+3
| | | | | that are processed before their arguments. Closes SF bug #637807.
* Back-port part of 1.128 from the trunk:Fred Drake2002-10-071-0/+1
| | | | | \productioncont: Replace leading spaces with   so that it's possible to control the indentation of continuation lines.
* Update the PEP URL format to point to python.org.Fred Drake2002-04-031-1/+1
|
* Fix broken HTML in the head; this was reported by a user as causing Opera 6.01Fred Drake2002-03-221-1/+1
| | | | | to crash. The user has reported the problem to Opera, but we still should generate something that passes for HTML.
* Revise the markup related to the grammar productions to increase theFred Drake2002-03-151-0/+13
| | | | | | level of predictability. This is not really "good" markup, but is arguably better than we had before. This closes SF bug #523117.
* Change the way \textasciitilde is implemented so it works more consistentlyFred Drake2002-03-131-1/+1
| | | | | (dropping tildes into data that still goes through LaTeX-like processing is a bad idea).
* Add a new environment for whole-paragraph (or longer) notes & warnings.Fred Drake2001-12-141-2/+21
|
* The valign attribute to control the vertical alignment of a table cell shouldFred Drake2001-12-141-3/+3
| | | | | be on the <tr> element, not the <table> element. Partially fixes SF bug #493243.
* Remove crufty whitespace in a block of index entries.Fred Drake2001-12-111-0/+1
| | | | | Minor, but generates slightly smaller HTML & makes it easier to see what's happening when debugging the HTML.
* Fix SF bug #479967: Appearantly I broke something that made the indexFred Drake2001-12-041-2/+10
| | | | | | insertion work. This fix makes things at least somewhat more explicit, and adds a little sanity checking (and verbosity!) to add_bbl_and_idx_dummy_commands().
* Add a new environment in the Python docs markup: seealso*. This is similarFred Drake2001-11-301-0/+6
| | | | | | | | to seealso, but does not add the "See also:" header or put the content in a box in the HTML version. Updated the description of \seeurl to better indicate when it should be used; the old description was written before we had \seetitle.
* Clean up the tables of child links generated by stock LaTeX2HTML so we getFred Drake2001-10-261-0/+8
| | | | | | consistent (lack of) vertical space between sections, and remove some of the unnecessary cruft that was added in (finally we get to *remove* something that got generated!).
* Add yet more markup that let's a stylesheet pick out a small bit of theFred Drake2001-10-261-3/+11
| | | | | presentation. This is acceptable since it only occurs in the formatted output and does not affect the document markup.
* Add better support for Mozilla's use of <link> elements.Fred Drake2001-10-221-10/+41
|
* Support for the iSilo conversion.Fred Drake2001-10-191-0/+12
|
* New markup: \note{...} and \warning{...}Fred Drake2001-10-091-0/+10
|
* Move the styling for the HTML version of \mailheader into the CSS file.Fred Drake2001-09-261-1/+1
| | | | | | In both the HTML and typeset versions of the documentation, add a colon after the name of a mail header so that it is more easily distinguished from other text.
* New \grammartoken markup, similar to \token but allowed everywhere.Fred Drake2001-08-201-0/+4
|
* Make sure that ampersand escaping is still performed on the contents ofFred Drake2001-08-171-0/+2
| | | | | | | | | local module tables (the lists of modules documented within a chapter, inserted at the beginning of the chapter). If this is not done here, the text is not part of the resulting documents when latex2html does the processing normally. This fixes a little bit more of SF bug #451556.
* fix_font(): Instead of using a long if/elsif cluster, use a bloodyFred Drake2001-08-161-23/+16
| | | | | dictionary. Added some entries to the dictionary to fix part of SF bug #451556.
* Remove the use of the "cat" program. This improves portability to non-UnixFred Drake2001-08-101-1/+5
| | | | | | platforms. This is part the response to SF patch #429611.
* Define the \mailheader macro and document conventions for using it.Fred Drake2001-08-031-0/+2
|
* Define new markup for 5-column tables.Fred Drake2001-07-171-7/+72
|
* Add support for \ulink and hyperlink grammars.Fred Drake2001-07-061-2/+151
| | | | | | | do_cmd_verbatiminput(): Write out a text file containing the content of the input file with a .txt extension, and add a link to it at the bottom of the presentation. This easier retrieval of example source code for copy & paste use.
* Added support for our new \infinity and \plusminus macros, and theFred Drake2001-06-231-1/+4
| | | | | | standard \textbar macro (not supported in many versions of LaTeX2HTML). Added newline to error message.
* Update to use the newly separated values $PACKAGE_VERSION and $RELEASE_INFO.Fred Drake2001-06-201-5/+5
| | | | | Normalize all HTML attributes to be written as name="value" instead of name='value'.
* Added support for new \setreleaseinfo macro.Fred Drake2001-06-201-65/+76
| | | | | | | Normalize all generated HTML so that attribute names come out as name="value" instead of name='value'. Changed the target of RFC links to point to the hypertext RFCs at www.faqs.org instead of the plain text RFCs at www.ietf.org.
* Implement the \verbatiminput LaTeX macro; this contains more magic thanFred Drake2001-06-151-0/+46
| | | | it should, but only enough that LaTeX2HTML doesn't bite us.
* Define a new environment, classdesc*, which can be used to document aFred Drake2001-05-111-0/+11
| | | | | | 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.
* Minor adjustments to HTML for the module synopsis tables.Fred Drake2001-05-091-2/+6
|
* The (fairly recent) \textasciicircum is not supported by LaTeX2HTML; addFred Drake2001-04-211-0/+1
| | | | support for it here.
* Added support for optional explanation parameter to the \versionaddedFred Drake2001-04-181-13/+14
| | | | | | | | macro. Refactored do_cmd_versionadded() and do_cmd_versionchanged() to do most of the work in a helper function, with the do_cmd_*() wrappers just supplying a portion of the replacement text.
* When forming the <A> tag for a \seepep or \seerfc, make sure we stripFred Drake2001-04-121-1/+10
| | | | | | HTML markup from the string used as the title in the TITLE attribute. This fixes formatting in the "What's New in Python 2.1" document.
* Add corresponding support for the alltt environment to the HTML generator.Fred Drake2001-04-103-2/+48
|
* Remove the spurious space of uncertain origin from the output for function,Fred Drake2001-03-291-10/+10
| | | | | method and constructor signatures. Suggested by Peter Funk on the Doc-SIG mailing list.
* Label classes and exceptions explicitly in the documentation (for theirFred Drake2001-03-021-2/+4
| | | | *desc environments).
* Fix \seepep handling -- correct URL to the online PEP repository on SF isFred Drake2001-01-221-27/+39
| | | | | | | | | | | | now generated. (SF bug #129692.) Patch from Anthon van der Neut <anthon@mnt.org>: Work around the removal of content-less paired tags used for name anchors in some places. (SF bug #116008.) Move some class attributes from an artificial SPAN element to otherwise "useful" elements that are being generated anyway. Added the class "versionnote", used for \deprecated, \versionadded, \versionchanged.
* Added a --global-module-index option to specify a (possibly relative) URLFred Drake2001-01-091-0/+10
| | | | | | | | | to the Global Module Index for a set of documents. This is used to include a reference to the global index from the per-document module indexes, so that it is just a little easier to find. (Someone suggested this, but I do not remember who. Please let me know if it was you -- thanks!)
* Fix the bugfix for SF bug #127151 -- make sure we map "previous_page" toFred Drake2001-01-041-0/+7
| | | | "previous" and "next_page" to "next". This way the proper icons are found.
* Do not cache <img> tags for navigation icons as agressively; this fixesFred Drake2001-01-021-31/+36
| | | | bug #127151.
* For the title page, insert the package version number before the date.Fred Drake2000-12-141-3/+3
| | | | | This makes the title area more like the title are of the top-level index, and puts the information more people are interested in first.
* A few small refinements to the table building code.Fred Drake2000-11-301-7/+10
|
* define_module(): Change the "index sub-item" for definitions at moduleFred Drake2000-10-301-1/+1
| | | | | | | scope to be " (in module <name>)" instead of " (in <name>)" to be consistent with \withsubitem usage throughout the documentation. This achieves consistency in indexing throughout the documentation.
* Normalize the HTML generated for table headers.Fred Drake2000-10-261-7/+10
|
* Rename $PYTHON_VERSION to $PACKAGE_VERSION; this is the version number forFred Drake2000-10-251-7/+27
| | | | | | | | | | | | whatever is being documented, not necessarily Python. (These tools are also used for the How-To documents, etc.) get_version_text(): New function. Returns HTML fragment describing the software version and documentation date. bot_navigation_panel(): Include the result of get_version_text() at the end, so the information is available on every page.
* Rename $PYTHON_VERSION to $PACKAGE_VERSION; this is the version number forFred Drake2000-10-251-5/+8
| | | | | whatever is being documented, not necessarily Python. (These tools are also used for the How-To documents, etc.)
* $OFF_SITE_LINK_ICON: Don't define here; simply defining it overrides aFred Drake2000-10-031-7/+11
| | | | | | | | | | | | | | | | | | | definition provided by previously loaded configuration code, and testing whether it's defined isn't needed since the default was false anyway. get_link_icon(): Add support for $OFF_SITE_LINK_ICON_HEIGHT and $OFF_SITE_LINK_ICON_WIDTH, giving the dimensions of the icon being used. This can make for faster page display. Both are optional. make_my_titlegraphic(): Fix insertion of the off-site icon link. do_env_funcdesc(): Remove debugging print. handle_rfclike_reference(): Remove trailing colon from first line; it doesn't really make sense and looks bad if we add an icon to mark off-site links.
* make_icon_filename(): Convenience function to turn a partial filenameFred Drake2000-10-021-20/+45
| | | | | | | | | | | into a usable filename using $ICONSERVER and $IMAGE_TYPE as needed. get_link_icon(): Function to examine a URL and return the string to use to insert an icon if the link points off-site, if needed and $OFF_SITE_LINK_ICON is set. Adjusted appropriate places to use these new functions.
* use_sans_serif(),Fred Drake2000-09-221-10/+7
| | | | | | | | | | | | use_italics(): Remove both functions, inlining use_italics() at its only call site. init_myformat(): Uncomment line so that some internal markup does not get generated, since it is not properly removed later. (Fix on aspect of SourceForge bug #114749.) Modified call to process_commands_wrap_deferred(), removing \code from the list since it had a bad interaction with other changes in some contexts.