summaryrefslogtreecommitdiffstats
path: root/Doc/perl/python.perl
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Add new environments: longtableii, longtableiii, and longtableiv, toFred Drake2000-09-211-0/+12
| | | | | support long tables which might break across page boundaries. Otherwise identical to tableii, tableiii, and tableiv.
* do_cmd_shortversion(),Fred Drake2000-09-141-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.
* \seetitle: New macro for building reference list content.Fred Drake2000-09-121-0/+19
|
* Add support for new \pep, \seepep, excclassdesc markup.Fred Drake2000-09-091-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.
* Push some table header formatting to the style sheet; this also helpsFred Drake2000-08-311-15/+97
| | | | | | separate some of the ties between l2hinit.perl and python.perl. Revamp the "title page" construction to allow more flexibility.
* do_env_cfuncdesc(): Push as much of the generated HTML into one placeFred Drake2000-08-111-8/+8
| | | | as possible for better readability. Revise a comment.
* fix_font(): Handle one more case for the magical first column of tables.Fred Drake2000-08-091-0/+3
|
* do_cmd_moreargs(),Fred Drake2000-08-031-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.
* Support constant as a font name for the first column of a table using theFred Drake2000-06-281-0/+3
| | | | tableii & friends markup family.
* do_cmd_textasciitilde(): New function.Fred Drake2000-06-151-0/+5
|
* do_cmd_seeurl(): New function.Fred Drake2000-05-091-0/+11
|
* do_cmd_versionchanged():Fred Drake2000-05-021-1/+6
| | | | | Added support for optional parameter explaining the change that was made in the specified version.
* ref_module_index_helper(): Use "my" instead of "local".Fred Drake2000-04-261-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".
* do_cmd_longprogramopt(): New function.Fred Drake2000-04-111-0/+3
|
* load_refcounts(),Fred Drake2000-04-101-1/+5
| | | | | do_env_cfuncdesc(): Support the "null" value for the refcounts field in refcounts.dat.
* do_cmd_datalineni(): New function, to implement the non-indexing formFred Drake2000-04-101-0/+6
| | | | of \dataline.
* Merged changes from the 1.5.2p2 release.Fred Drake2000-04-031-128/+229
|
* do_cmd_programopt(): New function, similar to do_cmd_program().Fred Drake1999-11-091-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.
* Remove some <SPAN> elements that were used only to carry a CLASSFred Drake1999-09-231-4/+4
| | | | attribute; stick the CLASS on an existing element.
* do_cmd_rfc(): Simplify the generated markup.Fred Drake1999-09-221-2/+2
|
* do_cmd_funclineni(): New function; non-indexing form of \funcline.Fred Drake1999-07-121-0/+9
|
* define_module(): Check the module type for validity before using.Fred Drake1999-05-171-0/+6
| | | | | This reflects the changes made in ../texinputs/python.sty.
* make_index_entry(): Remove. Not only did this override theFred Drake1999-05-131-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.
* Change the look of \seemodule output to fit in better.Fred Drake1999-05-111-4/+8
|
* setup_column_alignments(): Adding valign=baseline to the <td> tagFred Drake1999-04-281-1/+2
| | | | | | makes the alignment work on Navigator as well as IE. Uglier HTML, but it looks right.
* Control the layout of output tables a little better so they're easierFred Drake1999-04-281-43/+67
| | | | to debug. Small code cleanup around tables.
* do_cmd_seetext(): Clean up so we get proper nesting of <div>s. ThisFred Drake1999-04-281-17/+29
| | | | | | | | | | | | | | | fixes a rendering problem on IE5. General adjustments to the table* environments, including using <thead> and <tbody>. Attempt to adjust the vertical alignment of the table cells so that the baseline of the first cell matches the baseline of the remaining cells: When the first cell is small and the second cell of the same row is multi-line, the first cell was vertically centered by default. Specifying valign=baseline fixes the problem on IE, but Netscape seems to ignore both valign=top and valign=baseline (even though valign is NS's fault!). Make the horizontal alignment of 'p' columns left instead of center (for the headings).
* do_cmd_funcline(): Remove some bogus generated stuff from the outputFred Drake1999-04-211-4/+5
| | | | (some text was only intended for the index).
* Fix some remaining index & consistency nits. (Many data memberFred Drake1999-04-211-8/+8
| | | | references were being omitted from the general index.)
* Fix problem of LaTeX leakage in the module synopsis tables at theFred Drake1999-04-131-1/+1
| | | | | beginning of chapters. Known problem reported by Barry Scott <barry@scottb.demon.co.uk>.
* Remove \platformof support, since it's been removed from the LaTeXFred Drake1999-03-251-24/+9
| | | | | | style sheet. Small nits.
* swallow_newline(): Removed function; not really needed. Modified all callFred Drake1999-03-021-16/+47
| | | | | | | | | | | | | | | | sites. do_cmd_ignorePlatformAnnotation(), do_cmd_platform(), do_cmd_platformof(): New functions to support platform dependency information. process_all_platformofs(): New function to post-process \platformof macros using information collected during the initial pass. process_python_state(): New function. Call all post-processing functions defined in this file to avoid having to have too much knowledge of the internals for this stuff in l2hinit.perl.
* Become more stylesheet-friendly.Fred Drake1999-02-161-66/+99
|
* Minor fix that helps out with the index.Fred Drake1999-02-121-0/+1
|
* Make table headers the same color as the navigation bars so they standFred Drake1999-02-121-12/+17
| | | | | | | | out a little better. Make sure the boxes for the last column of tables always get drawn; these are often left empty of content when used as a "Notes" column. They look a little better this way.
* Fix up some routines to coordinate the "indexsubitem" stuff so thatFred Drake1999-02-101-4/+11
| | | | | | | | the subitem text is updated correctly when each module section is processed. Print [<modulename>] when we start on \declaremodule so we can more easily track progress during the library reference.
* do_cmd_maketitle(): Small nit in creating the "title page".Fred Drake1999-02-091-2/+3
|
* Back out some of the fine tuning; something in all that interactedFred Drake1999-02-091-19/+3
| | | | | | badly in practice and botched the whole thing. Wasn't obvious when looking at the local effects (which worked), but completely broke entire pages. ;-(
* More magic to tighten up a little of the formatting.Fred Drake1999-02-051-7/+26
|
* Make \versionadded and \versionchanged less prominant -- neither boldFred Drake1999-02-021-2/+2
| | | | nor a separate paragraph.
* do_cmd_refmodule(): New function to support new \refmodule macro.Fred Drake1999-01-131-0/+10
|
* do_cmd_methodline(): Fixed reference to method name when generatingFred Drake1999-01-121-3/+3
| | | | the output HTML.
* write_idxfile(): New function. Isolate format of the external indexFred Drake1999-01-051-95/+82
| | | | | | | | | | | | | | | | data file used by buildindex.py. next_argument_id(): Removed; no longer used. next_argument(): Doesn't use next_argument_id(), just does the work. gen_target(), gen_target_name(): Removed, no longer used. The only place that used them now does the (trivial) work directly. Lots of little changes so we never have to pass around $br_id values all over the place. The only places they're used now new IDs are generated as needed.
* do_cmd_methodline(): New function, implements indexing version ofFred Drake1999-01-051-6/+30
| | | | | | | \methodline. Fixed up support for \withsubitem, hopefully improving the fidelity of the index a bit.
* Fix many of the specific targets in links from the index.Fred Drake1998-12-221-7/+7
| | | | | In a number of places, I called next_argument() instead of next_argument_id() when the ID was also needed. (7 places)
* do_cmd_rfc(): Make the "RFC ###" a hyperlink to the master RFCFred Drake1998-12-221-4/+7
| | | | repository.
* ArabictoRoman(): Removed, since it wasn't used anywhere.Fred Drake1998-10-191-23/+0
|
* do_cmd_methodlineni(): New function, needed because the ref. manual nowFred Drake1998-09-101-0/+9
| | | | actually uses this markup.
* do_cmd_moduleauthor(),Fred Drake1998-08-101-156/+180
| | | | do_cmd_sectionauthor(): Parallel the new macros.