1997-10-24 Nelson H. F. Beebe Version 1.06 [24-Oct-1997] * man2html.awk: Add <> to excluded character set in URL_PATTERN to avoid incorrect translation of "\fChttp://www/\fP", which looks like "http://www/" when anchor() gets it. * man2html.awk: In cmd_TP(), do not output List_Name[List_Level] unless Item_Count[List_Level] is zero. This removes a never-before-seen bug where a spurious
was issued in distill.html (my manual page for Adobe Acrobat Distiller). * man2html.awk: In initialize(), add new variables E_MAIL_PATTERN, E_MAIL_OFFSET, E_MAIL_PREFIX, and E_MAIL_SAVE_LABEL, and in strtohtml(), use them to add anchors to e-mail addresses. * man2html.awk: Declare a few overlooked local variables, and spell all global variables with initial capital letters. * man2html.awk: In strtohtml(), add additional translation for quotation mark, which has only a numeric entity representation in the HTML 3.2 grammar because """ was stupidly dropped. * man2html.awk: Move functions cmd_RE(), cmd_RS(), and cmd_unknown() to preserve alphabetical function order. * man2html.awk: Revise functions cmd_RE() and cmd_RS() to track the .RS ... .RE indentation level as RSE_Level, and revise cmd_SH_SS() to issue end_RS() and end_TP() calls to bring the RSE_Level and List_Level values back to zero. This should now permit any combination of .TP and .RS ... .RE nesting. * man2html.man: Document the """ omission from the HTML 3.2 grammar. * man2html.man: Correct the discussion of the
...
translation: it applies only to grammar level 3.2, not 3.2 and above. * man2html.man: Add new e-mail addresses, and set them, and the WWW URL, in a fixed-width font instead of a roman font. * man2html.man: Document the fact that the program can handle multiple .man files. * man2html.man: Change sample SGML text to fixed-width font, and use typewriter quotation marks ("...") instead of typeset quotation marks ``...''. * man2html.man: Correct two small typos in the text: HTML=2 instead of HTML=3, and eliminate spurious backslash from . * man2html.man: Make a few minor changes in wordings to enhance clarity. Sat Sep 20 09:58:40 1997 Nelson H. F. Beebe Version 1.05 [20-Sep-1997] * Add support for .IX index entry command, and update author addresses. Mon Jul 1 15:31:28 1996 Nelson H. F. Beebe Version 1.04 [14-Dec-1996] {First public release} * Add support for HTML 3.2 grammar: new DOCTYPE declaration and
...
translation of .ce nnn. The default is still HTML 2.0, which is supported by all current Web browsers. * Translate .ce nnn as nnn lines, each followed by
to force a line break, instead of just ignoring the .ce directive as in earlier versions. * Translate -- in comments to __ instead of "- -", thereby preserving the comment length. The HTML 3.2 documentation at http://www.w3.org/pub/WWW/TR/PR-html32-961105 has a clear description of what the comment syntax really is. * Correct translation of .RS ... .RE, by incrementing the list_level. Previously, although ordinary text inside .RS ... .RE was handled correctly, a list there resulted in incorrect HTML output. * Update Makefile for public installation and distribution. * Update man2html.sh to support command-line options. Version 1.03 [03-Oct-1996] * Add support for generation of table of contents. * Add HTML=level option for grammar control. * Delete thin space instead of translating it to a space, by analogy with nroff. * Handle troff literal spaces. * Add support for troff .ad, .ce, .hw, .na, .ne, and .sp commands. * Add support for tbl, by invoking "tbl | nroff" to produce a formatted table which is displayed in
...
preformatted mode in HTML. * Add support for troff \{...\} blocks. Version 1.02 [01-Jul-1996] * Makefile: new file * man2html.awk: add new function anchor() (borrowed, with small changes, from my bibtex-to-html.awk program). Add initializations for URL_xxx variables in initialize() (also from bibtex-to-html.awk). In strtohtml(), add call to anchor() to add hypertext links for URLs in man page text. * man2html.awk: Add VERSION_NUMBER and VERSION_DATE initializations in initialize(), and print them in the header generated by print_header(). * man2html.awk: Move explicit initializations from BEGIN action into initialize(). Version 1.01 [25-Apr-1996] * man2html.awk: add support for font pair commands, .BR, .BI, .IB, .IR, .RB, and .RI. * man2html.awk: add new functions protect_quoted_args() and unprotect_quoted_arg() to handle quoted arguments Version 1.00 [17-Mar-1996] * Original version.