summaryrefslogtreecommitdiff
path: root/Doc/perl/python.perl
AgeCommit message (Collapse)AuthorLines
2001-08-20New \grammartoken markup, similar to \token but allowed everywhere.Fred Drake-0/+4
2001-08-16fix_font(): Instead of using a long if/elsif cluster, use a bloodyFred Drake-23/+16
dictionary. Added some entries to the dictionary to fix part of SF bug #451556.
2001-08-03Define the \mailheader macro and document conventions for using it.Fred Drake-0/+2
2001-07-17Define new markup for 5-column tables.Fred Drake-7/+72
2001-07-06Add support for \ulink and hyperlink grammars.Fred Drake-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.
2001-06-23Added support for our new \infinity and \plusminus macros, and theFred Drake-1/+4
standard \textbar macro (not supported in many versions of LaTeX2HTML). Added newline to error message.
2001-06-20Added support for new \setreleaseinfo macro.Fred Drake-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.
2001-06-15Implement the \verbatiminput LaTeX macro; this contains more magic thanFred Drake-0/+46
it should, but only enough that LaTeX2HTML doesn't bite us.
2001-05-11Define a new environment, classdesc*, which can be used to document aFred Drake-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.
2001-04-21The (fairly recent) \textasciicircum is not supported by LaTeX2HTML; addFred Drake-0/+1
support for it here.
2001-04-18Added support for optional explanation parameter to the \versionaddedFred Drake-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.
2001-04-12When forming the <A> tag for a \seepep or \seerfc, make sure we stripFred Drake-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.
2001-04-10Add corresponding support for the alltt environment to the HTML generator.Fred Drake-0/+46
2001-03-29Remove the spurious space of uncertain origin from the output for function,Fred Drake-10/+10
method and constructor signatures. Suggested by Peter Funk on the Doc-SIG mailing list.
2001-03-02Label classes and exceptions explicitly in the documentation (for theirFred Drake-2/+4
*desc environments).
2001-01-22Fix \seepep handling -- correct URL to the online PEP repository on SF isFred Drake-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.
2000-12-14For the title page, insert the package version number before the date.Fred Drake-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.
2000-11-30A few small refinements to the table building code.Fred Drake-7/+10
2000-10-30define_module(): Change the "index sub-item" for definitions at moduleFred Drake-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.
2000-10-26Normalize the HTML generated for table headers.Fred Drake-7/+10
2000-10-25Rename $PYTHON_VERSION to $PACKAGE_VERSION; this is the version number forFred Drake-5/+8
whatever is being documented, not necessarily Python. (These tools are also used for the How-To documents, etc.)
2000-10-03$OFF_SITE_LINK_ICON: Don't define here; simply defining it overrides aFred Drake-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.
2000-10-02make_icon_filename(): Convenience function to turn a partial filenameFred Drake-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.
2000-09-22use_sans_serif(),Fred Drake-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.
2000-09-21Add new environments: longtableii, longtableiii, and longtableiv, toFred Drake-0/+12
support long tables which might break across page boundaries. Otherwise identical to tableii, tableiii, and tableiv.
2000-09-14do_cmd_shortversion(),Fred Drake-11/+32
do_cmd_setshortversion(): Implementation for new markup. convert_args(): New helper function. do_cmd_optional(): Modified to understand when it is called from within a convert_args() invocation. do_env_funcdesc(), do_env_funcdescni(), do_cmd_funcline(), do_cmd_funclineni(), handle_classlike_descriptor(), do_env_methoddesc(), do_end_methoddescni(), do_cmd_methodline(), do_cmd_methodlineni(): Modified to use helper convert_args(). The convert_args() helper and related changes fix the generation of HTML for the \optional markup, so that bogus </var>...<var> is not generated. This closes SourceForge bug #113800.
2000-09-12\seetitle: New macro for building reference list content.Fred Drake-0/+19
2000-09-09Add support for new \pep, \seepep, excclassdesc markup.Fred Drake-9/+68
Update processing of module synopsis tables (found at the beginning of most chapters of the library reference) to reflect changes in the processing pattern of recent versions LaTeX2HMTL. Requires most recent change to SynopsisTable.pm. This does not fix the module index problem.
2000-08-31Push some table header formatting to the style sheet; this also helpsFred Drake-15/+97
separate some of the ties between l2hinit.perl and python.perl. Revamp the "title page" construction to allow more flexibility.
2000-08-11do_env_cfuncdesc(): Push as much of the generated HTML into one placeFred Drake-8/+8
as possible for better readability. Revise a comment.
2000-08-09fix_font(): Handle one more case for the magical first column of tables.Fred Drake-0/+3
2000-08-03do_cmd_moreargs(),Fred Drake-4/+8
do_cmd_unspecified(): New functions to reflect previously unused markup. do_cmd_file(): Simplified generated markup to only make use of the existing stylesheet. do_cmd_makevar(): Make the markup more stylesheet-friendly.
2000-06-28Support constant as a font name for the first column of a table using theFred Drake-0/+3
tableii & friends markup family.
2000-06-15do_cmd_textasciitilde(): New function.Fred Drake-0/+5
2000-05-09do_cmd_seeurl(): New function.Fred Drake-0/+11
2000-05-02do_cmd_versionchanged():Fred Drake-1/+6
Added support for optional parameter explaining the change that was made in the specified version.
2000-04-26ref_module_index_helper(): Use "my" instead of "local".Fred Drake-5/+22
get_rfc_url(): New function; returns the URL for a numbered IETF RFC. do_cmd_rfc(): Use get_rfc_url() instead of hard-coding in the HTML formatting. do_cmd_seerfc(): New function. do_env_definitions(): Small change to avoid "local".
2000-04-11do_cmd_longprogramopt(): New function.Fred Drake-0/+3
2000-04-10load_refcounts(),Fred Drake-1/+5
do_env_cfuncdesc(): Support the "null" value for the refcounts field in refcounts.dat.
2000-04-10do_cmd_datalineni(): New function, to implement the non-indexing formFred Drake-0/+6
of \dataline.
2000-04-03Merged changes from the 1.5.2p2 release.Fred Drake-128/+229
1999-11-09do_cmd_programopt(): New function, similar to do_cmd_program().Fred Drake-0/+19
do_cmd_citetitle(): New function. Extracts one optional and one required parameter. If the optional one is provided, it is used a URL (or relative URL) and the text of the required parameter is turned into a hyperlink.
1999-09-23Remove some <SPAN> elements that were used only to carry a CLASSFred Drake-4/+4
attribute; stick the CLASS on an existing element.
1999-09-22do_cmd_rfc(): Simplify the generated markup.Fred Drake-2/+2
1999-07-12do_cmd_funclineni(): New function; non-indexing form of \funcline.Fred Drake-0/+9
1999-05-17define_module(): Check the module type for validity before using.Fred Drake-0/+6
This reflects the changes made in ../texinputs/python.sty.
1999-05-13make_index_entry(): Remove. Not only did this override theFred Drake-88/+111
l2hinit.perl version of the function (which overrode a version in latex2html), but do_cmd_index() was overridden. Since do_cmd_index() was the only caller, we can trash this. define_indexing_macro(): New function used during setup to support more dynamic dispatch for indexing. process_index_macros(): New function; implement dynamic dispatching of indexing support functions, allowing many targets used in indexing to be shared by multiple index entries. I.e., something like \index{foo}\bifuncindex{bar} can now share a single target anchor. These indexing changes reduce the amount of clutter in the generated HTML files. In the reference manual, this cuts the number of targets by 44%. Targets are less affected when generated by environments rather than macros.
1999-05-11Change the look of \seemodule output to fit in better.Fred Drake-4/+8
1999-04-28setup_column_alignments(): Adding valign=baseline to the <td> tagFred Drake-1/+2
makes the alignment work on Navigator as well as IE. Uglier HTML, but it looks right.
1999-04-28Control the layout of output tables a little better so they're easierFred Drake-43/+67
to debug. Small code cleanup around tables.