2009-01-05 Derek Price * NEWS: Transform a few of Patrice's ChangeLog entries into what are hopefully accurate NEWS entries for the 1.82 release. * configure.ac: Update version # for 1.82 release. * INSTALL, config.guess, config.sub, install-sh, missing, mkinstalldirs, mdate-sh, doc/mdate-sh, doc/texinfo.tex: Updated from versions in Automake 1.10. 2009-01-05 Patrice Dumas * texi2html.pl: don't duplicate the state for menu entry formatting, use the main state. 2009-01-04 Patrice Dumas * texi2html.pl: add a hook at for the end of special regions processing. 2009-01-04 Derek Price * NEWS: Note more robust tests. * test/run_test.sh, test/many_input_files/tex_l2h.sh, test/many_input_files/tex_t4ht.sh: Pass a default temporary directory to `mktemp'. 2009-01-01 Derek Price * configure.ac: Update version # for post 1.80 development. * NEWS: Add section for 1.82 release information. * test/encodings/Makefile.am (EXTRA_DIST), test/formatting/Makefile.am (EXTRA_DIST): Remove references to unversioned files. * configure.ac: Update version # for 1.80 release. * NEWS: Add date for 1.80 release. 2009-01-01 Patrice Dumas * texi2html.init: remove space in front of @quotation argument. * texi2html.pl: add a key in duplicated state. Return the remaining line after a kept misc command. Go through normal_text for empty lines in preformatted. Open paragraph after unkown command. Call begin_format_texi after closing stuff. 2008-12-24 Patrice Dumas * texi2html.pl: add new hooks for user functions, for simple @-commands, and at the beginning of special regions. * T2h_i18n.pm, texi2html.pl, texi2html.init, examples/*: use main state in translation string only when needed. 2008-12-23 Patrice Dumas * texi2html.pl: correct transliteration when USE_UNICODE or USE_UNIDECODE are not set. * test/encoding/*: tests for transliteration with all possibilities. 2008-12-23 Patrice Dumas * texi2html.pl: don't use unidecode on unicode characters that are known not to have a good transliteration. This corresponds with characters with an @-command that don't have a transliteration, like @exclamdown... * test/*: avoid more spurious differences in latex2html output. 2008-12-22 Derek Price * doc/.cvsignore: Ignore this... * doc/texi2html.html: ...removed file, since it is generated during build. 2008-12-16 Patrice Dumas * test/*: handle more gracefully missing latex2html or tex4ht. Try to avoid spurious differences in latex2html output. 2008-12-11 Derek Price * texi2html.pl: Set $T2H_HOME based on the path to the script when it is not found set in the environment. * test/run_test.sh: Use mktemp more portably. 2008-11-28 Patrice Dumas * texi2html.pl: in format_line_number, use @ in front of a macro name, suggestion from Werner LEMBERG. 2008-11-26 Patrice Dumas * texi2html.pl, texi2html.init: add hooks for user functions at @-command beginning for commands taking arguments, at paragraph beginning and when @item or @tab appears. Use it to determine the number of paragraph in cell. * MySimple.pm: add a sentence about -- being the same as -. Report from Werner LEMBERG. 2008-11-20 Patrice Dumas * texi2html.pl: replace an empty macro by an empty string instead of breaking. report from Werner LEMBERG. 2008-11-14 Patrice Dumas * texi2html.pl: duplicate stack to keep right paragraph nesting from top to bottom. * formatting/double_style_paragraph.texi: test for double style commands enclosing 2 paragraphs. 2008-11-11 Patrice Dumas * texi2html.init: set %simple_map_texi = %ascii_simple_map. @ followed by a newline or a tab should be replaced by a space. 2008-11-10 Patrice Dumas * texi2html.init: add support for @ogonek. * texi2html.init, texi2html.pl: encode correctly texi dumped. 2008-11-08 Patrice Dumas * texi2html.init, texi2html.pl: move index splitting code back to texi2html.pl, but still in the Config namespace, to mark clearly that this code is GPL. summary_letter is also put in texi2html.pl since it share a variable at file scope. * examples/*: add copyright notices to most init files, except xml.init and book.init that should remain as an example users can copy from. 2008-11-03 Patrice Dumas * texi2html.init: remove leading spaces and trailing spaces in multitable cells. * texi2html.pl: do human-readable id for toc, and different id for stoc. * texi2html.pl, texi2html.init, examples/makeinfo.init: with OVERVIEW_LINK_TO_TOC set, overview links to toc as in makeinfo. 2008-11-01 Patrice Dumas * texi2html.init: don't do paragraphs in multitables. * texi2html.pl, texi2html.init: handle @smallquotation, change quotation_prepend_text and quotation function reference APIs. * texi2html.init: put a table line in if and only if there is a code-like environment enclosing the construct. * texi2html.pl: warn if the menu order doesn't follow the sectionning order. 2008-11-01 Patrice Dumas * texi2html.pl, texi2html.init: associate node with the right file, even if after section and split index. Handle better empty @elements_list. 2008-09-25 Patrice Dumas * texi2html.pl: associate nodes that are not already associated with the top node in case only sections are used. * texi2html.init: associate elements in split indices to the split indice added element. 2008-09-24 Patrice Dumas * texi2html.pl, texi2html.init: remove THIS_HEADER. Instead everything goes to THIS_SECTION. New function reference, element_heading, to format a node or a section heading, including navigation and label. Accordingly, print_Top and one_section don't print the element header anymore. print_element_header and print_navigation now return their result. new argument for print_misc and print_misc_header, the misc page name. labels and headings appear where the command is, instead of always appearing at the beginning of the elements. 2008-09-23 Patrice Dumas * texi2html.pl,texi2html.init: do added index pages in texi2html.init. Add an element for an index page only it begins a new file. Avoid changing directions as best as possible, while still linking to the added index element (with Following, Back and Prev). Never consider printindex as elements, but instead put them in places. 2008-09-07 Patrice Dumas * texi2html.pl: always use a distinct label for index entries, and use id, target like for other placed items. Give more informations for index entry formatting. 2008-09-06 Patrice Dumas * texi2html.pl: when node Top is considered as a @top, don't associate the following nodes to it, but rather to the next section. When there is no section and USE_NODES is not set don't split by node. Split only by node when USE_SECTIONS is not set and USE_NODES is. Default for USE_SECTIONS is 1, and default for USE_NODES is now undef. When there is no texinfo sectionning element at all or no element for texi2html (for example no section but USE_SECTIONS == 1 and USE_NODES undef). always use THIS_SECTION and THIS_HEADER such that formatting functions can modify them. * texi2html.pl, texi2html.init: progress towards index formatting simplification and handling out of the main program. 2008-09-04 Patrice Dumas * texi2html.pl: don't consider Top node is like @top when finding automatic directions for nodes. And use up node for up if element is a node, instead of relying on the section the node is within. Use toplevelnext and toplevelprev when finding node directions for sections not associated with nodes. 2008-09-03 Patrice Dumas * texi2html.pl: add prepare_state_multiple_pass function to ease formatting more than once specific texts (in index entries, prepended in @itemize, @caption formatting outside of document...) as if they were in special regions (@copying, @titlepage...). * examples/docbook: create valid docbook in @?(v|f)table taking into account the strictness of docbook. Remove title for text before first item, docbook handles right anything before the real table beginning. 2008-09-02 Patrice Dumas * texi2html.pl, texi2html.init: section names and headings cross ref are now human readable and constructed using the section name. Better index summary letters and index page labels that also ensures that there is no clash with node labels. * texi2html.init: when split at node, output navigation heading even when SECTION_NAVIGATION is true, but never output navigation footings. 2008-08-31 Patrice Dumas * texi2html.pl, texi2html.init: only one @title should appear in a document. So now, what was title before is fulltitle. Simplify fulltitle determination, now try @settitle first. @shortittle doesn't exist. Accept more than one file on the command line. Config variables are read-only after command line switches expansion. If defined, they set $Texi2HTML::THISDOC{'VAR'} and if not defined, $Texi2HTML::THISDOC{'VAR'} is autodetected. $Texi2HTML::THISDOC{'VAR'} is then used in the code. Better handling of 8byte encodings. Generate human readable index labels. Fix element_target_name return result order (report from Reinhold). * texi2html.init: Modify elements formatting functions such that they call print_foot_navigation instead of doing the formatting themselves, and also such that they never call print_navigation directly. This is more consistent with the docs. * test/many_input_files: test for more than one file on the command line. 2008-08-29 Patrice Dumas * texi2html.pl: expand macros and value in all the @-commands that need to. Also treat as normal text more @-commands. More places with code_style, as agreed on bug-texinfo. Don't normalize spaces in images. Protect text in @verb in simple_format. As said on the texinfo list in menu only the node is in code_style. Transliterate index entries in index labels. * i18n/es: new translation from Francisco Vila. 2008-08-26 Patrice Dumas * texi2html.pl, examples/makeinfo.init: put everything needed for footnote formatting in the footnote state, to be able to use it in formatting function. This allows to mimic the makeinfo formatting of footnotes. * texi2html.pl, doc/*: add function references to be able to modify target and id for elements, placed items and nodes (Reinhold suggestion). * texi2html.pl: initialize file relative foot number to 0 (report from Reinhold). Fix numbering of numbered subsections in unnumbered such that every numbered section has an increasing number. * texi2html.pl, texi2html.init: @display and @format inherit the code_style and font. * examples/book.init: better conformant ouput. 2008-08-25 Patrice Dumas * texi2html.pl, texi2html.init: modify menu preformatted handling such that the preformatted needs not be done in the formatting function. This allowed to remove simple_menu_link since now menu_link is always like simple_menu_link with detection of commands added. Now things should be right in html, and also xml, and with SIMPLE_MENU even for complicated nestings in menus. Give to formatting functions for formats like @itemize, @table, @multitable... the information that the element is before the first @item, or that only commands listed in %inter_item_commands were seen. Always call $heading when a heading is seen, even if it is not associated with the element. * texi2html.init: Keep better original code end of lines in @def* and put the anchor at the definition line beginning. 2008-08-21 Patrice Dumas * texi2html.pl: simplify handling of table and list items, get rid of table_list_stack, instead use the regular stack. Close all formats closed by end of line (center and table term) at end of line. Don't call scan_line recursively in close_stack. Keep the styles to be reopened in next paragraphs in close_paragraph and not in close_stack. Now format_style{'table'} is only for (|v|f)table. 2008-08-20 Patrice Dumas * texi2html.pl: parse correctly menu node with name. Simplify deff item opening. Handle *headingmarks, *footingmarks. 2008-08-19 Patrice Dumas * texi2html.pl: images don't start a paragraph. @* is better as a new line with remove texi. Allow to have @insertcopying simply pasted during the second pass with INLINE_INSERTCOPYING. * texi2html.pl, texi2html.init, examples/*: pass all the files found for images. * docbook.init: correct @image handling and other fixes. * test/*: adapt to cvs and regenerate. 2008-08-18 Patrice Dumas * texi2html.init: in the default case, don't complete image paths as suggested by Reinhold. It is what makeinfo does, completing paths is confusing and use case is dubious. Complete paths if $COMPLETE_IMAGE_PATHS is set. * texi2html.pl, texi2html.init: remove the possibility to have format_in_paragraph for any @-commands, but only for raw @-commands. Otherwise the nesting may be messed up, if such command is closed in the middle of a paragraph, or a paragraph is closed in the middle of such command. Give simple_text formatted output for special region formatting. * texi2html.pl: accept accent commands followed by spaces for accent command not consisting in special characters. Handle better documents without elements. Never use $_ (report from Reinhold). * l2h.init: move to ... * examples/l2h.init: comment out variables that override the command line. * examples/enable_encoding.init: new init file, should do the same than makeinfo --enable-encoding. * test/: test suite replacing the old one in Test, with better design and the same files used, + texinfo test files. 2008-08-14 Patrice Dumas * texi2html.pl: only use the basename when dumping texi. Really use what is in Texi2HTML::Config::CONF_DIRS, including during command line arguments parsing. 2008-08-13 Patrice Dumas * texi2html.pl: don't mess the relative working directory by removing most of it (report from Reinhold). If the --out argument is a directory, and not splitting, this is considered to be the out directory and the out file is the manual name. * Tests/*: enhance and correct the test suite. 2008-08-09 Patrice Dumas * texi2html.pl: use the global formatting state in definitions argument formatting. Correct the max_columns count with @columnfractions. * texi2html.pl, texi2html.init: handle @: with punctuation character. * examples/docbook.init: new backend for docbook to produce docbook like makeinfo --docbook. 2008-08-08 Patrice Dumas * texi2html.pl: use relative file names for hrefs for misc elements (patch from Reinhold Kainhofer reinhold at kainhofer dot com). And also to determine if the file has to be reopened (report from Reinhold). 2008-08-07 Patrice Dumas * texi2html.pl: move initialisations before the functions that use the global values. Treat setfilename like a normal misc command, not like titlepage commands. Set rightly (dir) as up node for Top, even if there are no automatic directions. region lines are kept to be reparsed in the last pass if in %region_formats_kept. Give also the prototypes lengths for multitables. @-commands in stop_paragraph_command close paragraphs. external nodes begin with ( (report from Reinhold). * texi2html.pl, texi2html.init: With USE_SETFILENAME, the filename is taken from @setfilename, if found, like makeinfo. With IGNORE_BEFORE_SETFILENAME, everything before @setfilename is ignored (now the default). With TOP_HEADING_AT_BEGINNING false, the top heading appears where top heading command is, not always at the beginning of the top element. Put %texi_formats_map (former %text_macros) and %no_line_commands (former %no_line_macros) in Texi2HTML::Config. New function reference, definition_index_entry to format definition index entries separately from definition categories. A new funtion reference begin_format_texi to be able to do something at a format opening. Used to set a stack for multitable to make sure that the cell is the top multitable cell. With this change, the begin_format_texi, row, table_list function reference are interdependent. Pass inforef macros to the formatting references, and also the *ref command parameters unmodified. New caption_shortcaption_command function reference that can be used when a caption is closed. New index_entry_command function reference used for @*index lines. Pass more information to def_line, cell, list_item and many others. add insertcopying for insertcopying formatting. * examples/xml.init: init file to produce xml like makeinfo --xml. 2008-08-04 Patrice Dumas * texi2html.pl, texi2html.init: parse definition lines like makeinfo does. 2008-08-01 Patrice Dumas * texi2html.pl: pass line_nr down more functions. 2008-07-31 Patrice Dumas * texi2html.pl: use simple_format for image alt text. Allow no_line_macro to be set by the user, and use cindex for all the index commands. 2008-07-30 Patrice Dumas * texi2html.pl, texi2html.init: add 3 function references to avoid using anchor for different label formatting and allows to customize the labels. Give the element in argument of more function references. Always give the name to simple_menu_link and menu_link, and a new argument tells if there was an explicit name. Node names are formatted with code_style true. Keep @*contents for misc_command processing if it should be kept. 2008-07-29 Patrice Dumas * texi2html.pl: a menu comment is started by a blank line, and not by a character at the beginning of the line. 2008-07-28 Patrice Dumas * texi2html.pl, texi2html.init: handle a menu_comment like a normal format. detailmenu isn't a misc_command anymore, but is handled like a normal format, like a menu @-command. put format opening in a separate subsection, begin_format, to be able to open a menu_comment right after a beginning of a menu, of a detailmenu, or right after the end of those commands. add command line option --error-limit. * texi2html.pl: better comment about texi2html that states more clearly that the authors are the texi2html authors (from Reinhold Kainhofer). Handle better codepoints above 0xFFFF (Reinhold Kainhofer report). Add $Texi2HTML::THISDOC{'input_file_name'} for the file given on the command line (report from Reinhold Kainhofer). 2008-07-19 Patrice Dumas * texi2html.pl, doc/*: synchronize command-line switches with makeinfo. * i18n/fr, Tests/*: revised french translation from Jean-Charles Malahieude. 2008-07-18 Patrice Dumas * texi2html.pl: get rid of m_cedilla, instead a specific function for the node parsing, scan_node_line, is used. * Tests/formatting/detailmenus.texi: new test case for detailmenu. 2008-07-16 Patrice Dumas * texi2html.pl, texi2html.init: give columnfractions and row prototypes to the multitable cell and row formatting functions. * texi2html.init: use columnfractions to determine the cell widths. 2008-06-12 Patrice Dumas * texi2html.pl, texi2html.init: dynamically determine file hrefs for misc elements. Generalize code common for all misc elements. In toc and footnotes use real filenames instead of empty filenames when not split. monolithic option is not obsolete and does something different from no split (toc, about... are in different files if set to no). Code cleanups in rearrange_elements. * Tests/*: add a test for -no-monolithic. * */Makefile.in: use autoconf 2.62 2008-05-18 Patrice Dumas * texi2html.init: complete unicode mapping for @-commands. * texi2html.pl, Tests/*, doc/*: separate id of element from what should be used to target the element. This allows to use node id as target for sections (suggestion from Karl Berry). This is done if $USE_NODE_TARGET is set (the default). 2008-05-16 Patrice Dumas * T2h_i18n.pm,i18n/*: correct the presentation of the date (report from Karl Berry). * texi2html.pl: remove an infinite loop workaround, the up for an element should never be itself. This has certainly be fixed on 2008-03-20, by treating top like any other element. 2008-05-15 Patrice Dumas * texi2html.init, Tests/*, examples/*: handle @leq and @geq. 2008-03-25 Patrice Dumas * texi2html.pl: use do_unknown and unknown in pass 0 too. * texi2html.init, examples/makeinfo.init: honor USE_ACCESSKEY even if not split at node (report from Reinhold Kainhofer). * texi2html.pl, texi2html.init, ChangeLog: correct typo in already (report from Reinhold Kainhofer). 2008-03-23 Patrice Dumas * texi2html.pl, texi2html.init, doc/*, examples/makeinfo.init: use accesskey attribute and link element if set in the init file. Add FileNext and FilePrev directions (for link, but can be used anywhere). * texi2html.pl, examples/*: change in unknown function reference API, now there is a pass argument to be able to handle unknown macros in other passes than the last. * i18n/de: update translation (Reinhold Kainhofer). * texi2html.pl, doc/*: handle frame files like other files, and document them. * texi2html.pl, doc/*: use do_unknown and unknown in pass 1 too. 2008-03-20 Patrice Dumas * texi2html.pl: treat the @top element like any section element, except that the previous chapter is still considered to be the previous element at its level. Find previous and next toplevel better. * Makefile.am,...: better handling of mediawiki tests and regenerate with automake 1.10.1. 2008-03-17 Patrice Dumas * texi2html.pl, texi2html.init: @itemize should produce bullets by default (report from Reinhold Kainhofer, and bugfix) * texi2html.init: handle @click, @clickstyle, @click, @arrow, @clicksequence * texi2html.pl: defer setting the date after all initializations are done. * texi2html.pl, texi2html.init, doc: TOC_LIST_ATTRIBUTE replaced by NO_BULLET_LIST_ATTRIBUTE, TOC_LIST_STYLE replaced by NO_BULLET_LIST_STYLE * Tests/formatting/comments.texi,formatting.texi,clean.texi: test for @click, @clickstyle, @click, @arrow, @clicksequence 2008-03-12 Patrice Dumas * texi2html.pl, texi2html.init, examples/mediawiki.init: add the program_string reference. * examples/mediawiki.init: cleanup perl warnings. * texi2html.pl: element_file_name called with doc sets docu_doc and not docu_top (Reinhold Kainhofer). * Tests/test.sh: more robust for files with spaces. * Tests/*: add tests for mediawiki output. 2007-10-07 Patrice Dumas * texi2html.pl: better handling of special regions. * Tests/*: test for more possibility regarding titlepage output or not with copying output or not. Use the actual state for titlepage generation in print_Top. rename formatting-regions to formatting_regions. 2007-10-06 Patrice Dumas * texi2html.pl, texi2html.init: handle titlepage like other special regions. Don't add the index entries in footnote within special regions. * Tests/*: test for footnote in float caption and anchor and index in that footnote. test for titlepage with most of the constructs within. 2007-10-05 Patrice Dumas * texi2html.pl: separate global variables of pass_structure and pass_texi, prefix some of those vaiables, and clean variable and function names. add more information relative to the special regions. Treat more systematically the special regions with an initialization code allowing to fill the state with relevant information. Don't output footnote lines for footnotes not part of the document. Better id generation for headings in region. Better handling of anchors in special regions. Prefix the targets in special regions with t_h. * texi2html.pl, texi2html.init: use a formatting function for documentdescription and give more arguments to copying_comment. 2007-10-04 Patrice Dumas * texi2html.pl, texi2html.init: handle headings more like normal @-commands and not like sectionning commands. Don't associate headings with the following index entries. Separate heading absolute number and heading id from section number and id. * Tests/*: add tests for headings 2007-10-03 Patrice Dumas * texi2html.pl, texi2html.init: use relative file names for frame file names (report from Graham Percival). * texi2html.init: use entities for simple quotes in normal text. 2007-10-02 Patrice Dumas * texi2html.pl, T2h_i18n.pm: keep the state in the global hash and use it in translations. * texi2html.pl, texi2html.init, examples/*, doc/*: modify the normal_text function reference API, add an input variable true if in simple text. * Tests/formatting/*: test for symbols kept in preformatted and @-commands in @*ref appearing in @example. 2007-10-02 Patrice Dumas * texi2html.init: remove trailing new line in @html block (report from Graham Percival). * Tests/formatting/block_EOL.texi: test for end of lines in raw block formatting. 2007-10-01 Patrice Dumas * texi2html.pl, texi2html.init: Handle @end commands entered as misc commands like other misc commands during pass_text. Don't add a space after an @end command, and don't remove it when there is no reason to. Handle right @end block commands followed by something else than a spacing character (report from Graham Percival). * Tests/formatting/symbol_after_block.texi: test for symbols after @end block commands. 2007-09-30 Patrice Dumas * texi2html.pl: don't have # perl on the shebang line. Report by Martin Koeppe. 2007-09-27 Patrice Dumas * texi2html.init: handle @textdegree, @hyphenation. * texi2html.pl, texi2html.init: reset the language for each appearance of @documentlanguage (except if language was set on the command line). For a language like pt_BR, try pt_BR, and, if not found, use pt. add a new function reference, print_element_header to print the beginning of an element, to be able to print it right when it is ready, and not when starting the next element. Add --css-ref and --transliterate-file-names options. @set, @clear are kept for later passes. Many @-commands are now handled equally in pass_structure and pass_text, and are reset at the beginning of the pass. * Tests/documentlanguage/multi_lang.texi: test for multiple @documentlanguage changes. * Tests/documentlanguage/unknown_language.texi: test for unknown languages. * Tests/formatting/comments.texi: test for @hyphenation, @allowcodebreaks, @fonttextsize, @frenchspacing. * Tests/navigation*: test for vertical headers, no section navigation, use of noheader.init, for all the splitting possibilities. * Tests/*, examples/html32.init: update html32.init and test for most of the formatting. Remaining invalid warnings are like: '"333" is not a character number in the document character set' even when setting charset is utf-8. 2007-09-22 Patrice Dumas * texi2html.pl: handle @alias. * texi2html.init: handle @quote*, @guillem*, @allowcodebreaks, @fonttextsize commands. use 3 dots for @enddots, like makeinfo. * Tests/*: new test file for @alias. Test @quote* and @guillem*. 2007-09-11 Patrice Dumas * examples/tex4ht.init: chdir to the out dir only once. Add the texinfo comment at a better place. 2007-09-10 Patrice Dumas * texi2html.pl, texi2html.init: avoid content elements being defined only if they are used inline and the corresponding macro never appeared. Avoid defining variables when there is no target. * Tests/*: add tests for all the DO_CONTENTS/setcontentsaftertitlepage and INLINE_CONTENTS combinations when there is no @contents in the document. 2007-09-09 Patrice Dumas * texi2html.pl, texi2html.init: handle @\ and matching { } in @math. fix simple_style to be really used (typos in texi2html.init). * examples/tex4ht.init: use httexi to handle @math, since texinfo @-commands are allowed in @math, and httex for @tex. * Tests/*: add test for simple_style with a paragraph within. more tests for @math. 2007-08-21 Patrice Dumas * texi2html.pl: handle @, command without brace like @,c. Report from Jorge Barros de Abreu. * examples/roff.init, texi2html.init: treat @, more like other accent @-commands. * Tests/*: more tests for accents and cedillas. * Makefile.am: don't write the spec file in $(srcdir). * *Makefile.in, configure: regenerate with automake 1.10, and autoconf 2.61. 2007-06-04 Derek Price * configure.ac: Update to version 1.79 for development. * Makefile.am: Use $(SHELL) explicitly. * configure.ac: Update to version 1.78 for release. 2007-06-01 Patrice Dumas * doc/texi2html.texi: update copyright years, clarify that the license in comment is the license for texi2html, not for the manual. 2007-04-07 Patrice Dumas * texi2html.init, texi2html.pl: when INLINE_CONTENTS is set, the table of contents and short table of contents are output where they are defined, except if setcontentsaftertitlepage is set. If setcontentsaftertitlepage is set the contents is associated with the title. Handle @setcontentsaftertitlepage and @setshortcontentsaftertitlepage. Don't output a navigation panel nor an about page when not SPLIT and no SECTION_NAVIGATION. * Tests/contents*: new tests for contents * examples/book.init,noheaders.init: update * doc/*: update 2007-04-06 Patrice Dumas * texi2html.init: Texi2HTML::THIS_SECTION is always defined, it is empty when it has no elements. Print table of contents when there is no top node content and no Overview. Don't add the section title to the html title when the document isn't split. * Tests/*: regenerate 2007-02-17 Derek Price * doc/texi2html.texi: Clean out some old, commented-out cruft. 2007-02-05 Patrice Dumas * texi2html.init: set default out encoding to utf8. This could help with translations. * Makefile.am, manage_i18n.pl.in: add japanese translations, from fedora. * doc/Makefile.am: call perl with -x when called directly on texi2html.pl 2007-01-08 Patrice Dumas * texi2html.pl: correctly set node filenames even if NODE_FILES isn't set. Handle right 2 @def-like commands on a line. Collect split and mono entry in htmlxref.cnf. * texi2html.init: take into account when a target is split in crossref. When there is a split and a mono entry, chose based on split. * examples/book.init: update to new use of directions. * Tests/*: new tests for htmlxref.cnf file use. New test for double @deffn on the same line. * */Makefile.in, aclocal.m4, configure: use automake 1.10 and autoconf 2.61. 2006-08-06 Patrice Dumas * texi2html.pl, texi2html.init: accept - in @-command names. ignore @allow-recursion and @quote-arg. In macro args parsing, a comma in brace is protected. Rewrite index names handling to be simpler and accept more than one prefix for an index name. The main hash has now index names as key instead of prefixes. * Tests/*: add the tar manual. add macros/quote-args.txi from the makeinfo test suite. 2006-08-05 Patrice Dumas * texi2html.pl, texi2html.init: use the same code for file name determination with NODE_FILES than with the traditional scheme. node_file_name is now used only to change the node file name, not for the determination of the html page file name anymore. With this change the top file isn't necessarily index.html, even if it is the node_file_name it is index.html only if explicitly set. * texi2html.pl: simplify index handling code. when NODE_FILES is true, use the node file name for the html files whenever possible. * Tests/*: Regenerate * NEWS, doc/*: document the api node_file_name api change 2006-08-04 Patrice Dumas * texi2html.pl: fixes for split indices. Fix detection of already present heading. Don't split top element accross pages because of split indices. Simplify the file name determination. * Tests/*: add a test case for split indices in chapter and more tests for split indices. Put index_nodes result in a directory. Regenerate. 2006-06-07 Patrice Dumas * texi2html.pl: Accept empty value set by @set (bug #16774). Don't eat the line after a macro without arg (bug #16773). * Tests/*: test for those issues. 2006-05-17 Patrice Dumas * texi2html.pl, texi2html.init: rework image formatting, more is done in the formatting functions. Redundancy between menu entry and menu description is handled in the formatting functions. * texi2html.pl: Close correctly the @-commands in pass_structure. Remove unneeded error messages for formats not matching when it cannot happen. Use the same element in menu description and menu links. Try to close paragraph when searching for the right format to close. Remove unclosed accent commands from the 'command_stack'. Indentation fixes. * T2h_l2h.pm: use the document name in the perl cache name. * Tests/*: more tests for unclosed @-commands. 2006-05-17 Patrice Dumas * texi2html.pl, texi2html.init: teletype style is set in table item formatting in texi2html.init, not in the main program. Add the formats to the 'command_stack' ('style_stack' is renamed to 'command_stack'). Clean the 'cmd_line' related code. End of lines are removed in formatting function related with 'cmd_line', not in the main program. Commands surrounding paragraphs aren't handled in the main program anymore, but using 2 'command_stack', one at the beginning of the paragraph and one at the end of the paragraph. rename 'name' of element to 'text_nonumber'. call heading_texi even for nodes. give more information to index_element_heading_texi such that it is easier to customize those headings. Handle NUMBER_SECTIONS in heading_texi and not in the main program styles considered to be simple may be customized. indentation cleanups. * texi2html.pl: handle @center like a regular format. Many fixes for @center. rename some hash keys to avoid hash keys name clashes. revert a change in merge_element_before_anything such that it is only done for the first node. more duplicate_stack when giving the state to a formatting function. This has the added benefit that it sets the command_stack at preformatted beginning to the current command_stack, which is right in thoses case (it is done by begin_paragraph in other cases). protect end of lines with @ only for deff, and in that case protect it better. remove unneeded spaces added during close_stack. use begin_paragraph_after_command to generalize reopening of paragraph after a commmand, replace automatic_preformatted. Use iso entities in titles (in simple_format). * Tests/formatting/def_cmds.texi: test file only for def stuff (excerpted from formatting.texi with additional tests). * Tests/formatting/center.texi: test file only for center (excerpted from verbatim_html.texi with addtional tests). * Tests/formatting/tables.texi: test file with tests for tables. * doc/texi2html.texi: update. 2006-04-23 Patrice Dumas * texi2html.pl, texi2html.init, T2h_l2h.pm: handle @tex, @verbatim and @verbatiminclude in @copying comments (with 'remove_texi'). Handle @float and @need at the right place. * texi2html.init: More cleanings of -- in html comments. * Tests/*: add test for @tex and @float in @copying, for @node in @copying. 2006-04-17 Patrice Dumas * texi2html.pl, texi2html.init: hanldle rightly centerchap. Footnote really appear at the foot of the file when there are different nodes in one file. * texi2html.pl, MySimple.pm: avoid Getopt::Long warning when trying obsolete options. * texi2html.pl: handle more sanely some special @-commands (@anchor, @*index) in @copying and similar regions, by associating them with top element and ignoring them during expansions that are done more than once. Set titlefont if @titlefont appears before any sectionning command. Collect the @-command associated with index entries. Collect all the index entries even the wrong ones, during pass_structure, but don't add the wrong ones to the per index hash. * Tests/*: test @centerchap. Better tests for not separated footnotes. 2006-04-10 Patrice Dumas * texi2html.pl: use nodes for refs with USE_NODES. Handle right footnotes at the end of the document and SEPARATED_FOOTNOTES false. * Tests: test for footnotes at the end of the document and SEPARATED_FOOTNOTES false. More tests. 2006-04-09 Patrice Dumas * texi2html.init: really use roman type for @r. Format @key more in line with what is done in texinfo, and makes more sense. * texi2html.pl, texi2html.init: use a function reference to define the numbered heading texinfo, and the index page headings texinfo. * texi2html.pl: don't take into account new indices with index name clashing with existing indices, or with file extensions (because texi2dvi uses the index name as file extension). 2006-04-08 Patrice Dumas * texi2html.pl: take into account the equivalent nodes (after @-commands removal) when a node isn't found. * texi2html.pl, texi2html.init: new variable $TOP_NODE_UP used for the top node up node name with automatic top node directions. Another variable $USE_MENU_DIRECTIONS. When unset the missing node directions are not set using the information given by menus. Use entities for OPEN_QUOTE_SYMBOL and CLOSE_QUOTE_SYMBOL with $USE_ISO. Use sectionprev, sectionnext and sectionup for section directions. next, prev are set more sanely. up still means the same. * texi2html.pl: Remove element_next, element_prev and element_up. They were duplicating sectionup or useless. Homogeneize and clean the coding style, remove comments. Don't reset %Texi2HTML::NAME/NO_TEXI... such that a ref to those structures is valid. * Tests/formatting/equivalent_nodes.texi: test equivalent nodes. * Tests/*: test for different quotes. Test for more directions. 2006-03-27 Patrice Dumas * texi2html.pl,texi2html.init: if $TRANSLITERATE_NODE is set transliterate the non ascii characters in node names as discussed on the texinfo list. Optionally Use Text::Unidecode to do more transliteration that what is available through the maps ($USE_UNIDECODE set). Some changes for better node targets generation. Really put more than one node in a file if needed. * configure.ac: Text::Unidecode detection. * Tests/formatting/node_*translit*: test for node names transliteration. 2006-03-27 Patrice Dumas * examples/chm.init: set the encoding conditionnaly on OUT_ENCODING being defined. * texi2html.pl,texi2html.init: add $USE_NUMERIC_ENTITY variable, set to true in the default case. Use numeric entities for accented letters if this variable is true. Use numeric entity for @l{} and @L{} instead of /l and /L. * examples/chm.init: use numerical entities instead of textual entities for @oe, @OE and @euro, some viewers have trouble with the corresponding textual entities. 2006-03-26 Patrice Dumas * texi2html.init,texi2html.pl: clean the encoding related code by adding more variables associated with the different encodings. Remove unneeded conversion code, given that the text is already in the perl internal encoding. * doc/, NEWS: document the changes. * texi2html.pl: put explicitely the ref on hashes in the main namespace such that they are usable in init files. * Tests/: new tests for the utf8.init file, tests for doubly accented characters. * examples/chm.init: don't try to output utf8 encoded files, as htmlhelp 1.x doesn't seems to be utf8 aware. * examples/utf8.init: encode characters in preformatted environments. 2006-03-25 Patrice Dumas * texi2html.init: handle @indent. Remove an empty line generated by @indent and @noindent. Add an end of line after a complex format. * texi2html.init,texi2html.pl,examples/roff.init: add an indent information to the paragraph command. * doc/, NEWS: document the changes. * T2h_l2h.pm: merge init_to_latex() into init(). 2006-01-28 Patrice Dumas * texi2html.pl,Makefile.am,buildt2h.sh: move latex2html stuff out of texi2html.pl, to T2h_l2h.pm. 2006-01-27 Patrice Dumas * texi2html.pl: don't remove spaces around @-commands in xhtml refs. add back caching of html generated by latex2html. More accurate counts and error messages for latex2html and other cleanings. Cleaner interface for debug and verbose with main namespace. * Tests/formatting/at_commands_in_refs.texi: test for @-commands in external ref. 2005-11-30 Patrice Dumas * texi2html.pl, texi2html.init, examples/tex4ht.init, doc/*: allows customization of CSS_FILES in init_handler and adding to css lines by the process handler. * Tests/singular: use png images. * i18n/,translation.pl: updated pt translations from Jorge Barros de Abreu. 2005-11-29 Patrice Dumas * texi2html.pl, texi2html.init: add a possibility to set the user and date with the USER and DATE variables. 2005-11-27 Patrice Dumas * i18n/,translation.pl,manage_i18n.pl.in: update pt and add pt_BR translation, from Jorge Barros de Abreu. 2005-11-14 Patrice Dumas * texi2html.pl: remove the @special_regions array. Special regions are parsed like raw regions but are handled especially. * texi2html.init: add a space after added before printindex, _$sec_num is appended to printindex, to keep track of the section number. images extention is taken from the @image tag if available everything which was splitted accross pass2, pass3 and pass4 is now done in pass2. in pass3 only very little cleaning is done, pass4 is removed. 2003-02-21 Patrice Dumas * texi2html.pl: added handling of overbar accent @= is transformed in = the handling of multi lines macro is done in a function, scan_line which scans a line, keeping a record of the text already ready, the macro stack and a state which for now only contains 'verb' if in @verb macro. The @verb macro is handled by this function (but since things have already been substituted, it cannot give the right result easily) 2003-02-19 Patrice Dumas * texi2html.pl, texi2html.init: T2H_DEFAULT_button_icon_img behaves better when it has some undef arguments the variables which may be redefined by the user are now global. They are grouped in texi2html.init, and also in the Declaration in texi2html.pl and sorted by class. new elements in %T2H_THISDOC for items which are global but shouldn't be redefined by the user (instead of $T2H_HOMEPAGE, $THISPROG...). t2h_Init_global has been removed and the code scattered according to the principles above other minor fixes 2003-02-18 Patrice Dumas * texi2html.pl: handle @verbatim, and @html differently. Added push_until function which shift from a lines array and push to another array until @end tag. Remove PROTECTTAG remove unneeded push of index entry for vtable or ftable which created 2 indices entry * Tests: added more tests 2003-02-13 Patrice Dumas * texi2html.pl: avoid using $_ in functions, as it is a global variable, use my variables instead * Tests/test.sh: if called with arguments, the test specified by the arguments is the only one done * Tests/*: add Makefile.in, more subdirectories, synchronise reference files with changes in the code 2003-02-12 Patrice Dumas * texi2html.pl: add prototype for the functions ; remove & in front of functions ; remove the unusefull main() and Unprotect_texi functions * Tests/Makefile.am, Tests/test.sh: add regenerate target to redo the reference files add test with tidy, remove cvs/rcs tags when doing diffs 2003-02-11 Patrice Dumas * Tests/Makefile.am, Tests/test.sh: changes to reflect change in directory name for the cvs manual from cvs to ccvs 2003-02-11 Patrice Dumas * texi2html.pl, texi2html.init: unused variables removed use_bibliography removed, lots of global variables made lexical. open renamed open_file to avoid clashing with perl builtin. remove sub init_input, the initialization is done in the script itself. add meta http-equiv="Content-Type" tag for the charset declaration. 2003-02-06 Patrice Dumas * texi2html.pl, texi2html.init: some unused variables removed use_acc not used anymore, accents are always handled Remove a lot of global variables. Use global lexical or lexically scoped variables (with my) when possible. Pass variables as arguments when the function is in texi2html.init bugfixes: frame target is the top file, and not the toc file during pass1 some lines where pushed in @lines2 instead of @lines * Tests/test.sh: ignore CVS directory when doing diffs 2003-02-03 Patrice Dumas * texi2html.pl: Remove handling of setref which is a TeX macro. The corresponding texinfo macro is anchor. Remove an unneeded protect_texi * configure.in, Makefile.am, Tests/test.sh, Tests/Makefile.am Tests/*: Files used for testing added, texinfo manuals and the html results for some of the texinfo manuals 2003-01-30 Patrice Dumas * texi2html.pl: fix nesting of multi line style macros (previously, @kbd{@code{my thing}} became my thing (or something approaching) no style substitution is done in indexes (indexes are already good html). Added %sec2index which is undef for a section name not in index, 1 if the section name is in index. the value of $docu_doc set if $T2H_OUT was set (option -o) wasn't used to define docu_doc_file, thus the output file was the basename of the texinfo file with extension appended, and not $T2H_OUT. 2003-01-28 Patrice Dumas * texi2html.pl: fixes in the handling of characters which are special in html (&, "), involving some rewriting/replacements of other functions which were bugged normalise_node now really uses protect_html new function protect_space_style used to normalise nodes without calling protect_html 2003-01-24 Patrice Dumas * texi2html.pl: fixes for @multitables: size detection, elements out of bounds are ignored @item and @tab may appear anywhere within table lines 2003-01-22 Patrice Dumas * texi2html.pl: Ref to info files are handled correctly @ref{(perl)Top} is transformed into @ref{Top,,,perl}. Any character is allowed in menu comments In menu, lines begining with * which are not menu entries are allowed and treated as comments Added a style handle for @bullet (do_bullet) such that @bullet{text} is handled Cedilla are now accepted in node names. Added protect_cedilla and unprotect_cedilla functions. * texi2html.pl, texi2html.init: Add -test option which sets $T2H_TODAY $T2H_USER $THISPROG to given values. This is in order to be able to compare with reference files for testing purproses. 2003-01-16 Patrice Dumas * texi2html.pl: @H{a} is changed in a'' and not á which was wrong, as there are 2 acute accents on @H{a}. 2003-01-09 Patrice Dumas * texi2html.pl: Suppress warnings for undefined patterns or variables when running with -w 2003-01-08 Patrice Dumas * texi2html.init: small typo in a french word corrected * texi2html.pl: @dotless macros are processed before accents constructs like @'{a} are handled, typo in variable names corrected 2002-06-25 Derek Price * texi2html.init, texi2html.pl: Miscellaneous HTML improvements, towards strictness and easier transition to XHTML later; lowercase elements and attributes, avoid using deprecated elements and attributes, always quote attribute values, avoid use of minimized attributes. Internal cleanups. (Patch from Ville Skyttä through Adrian Aichner .) 2002-06-08 Derek Price * configure: Update to a new development release number. * NEWS: Add news template for next release. * configure.in: Regenerated. * doc/stamp-vti: Ditto. * doc/version.texi: Ditto. 2002-06-08 Derek Price * configure.in: Update Texi2HTML date. * NEWS: Update for new release. * .cvsignore: Add autom4te.cache for new version of Autoconf. * Makefile.in: Regenerated. * aclocal.m4: Ditto. * configure: Ditto. * doc/Makefile.in: Ditto. * doc/stamp-vti: Ditto. * doc/version.texi: Ditto. 2001-11-27 Adrian Aichner * texi2html.pl (pass5): Improve wording to say "# writing X sections ...". * texi2html.pl (next_doc): Skip over $docu_top_file and issue warning. 2001-11-25 Adrian Aichner * texi2html.init (T2H_InitGlobals): Improve documentation. Prepend $T2H_ADDRESS, which contains nothing but the address now, with "by". * texi2html.init (T2H_DEFAULT_print_page_foot): Prepend $T2H_ADDRESS, which contains nothing but the address now, with "by". * texi2html.init (T2H_PRE_ABOUT): Ditto. * texi2html.init (T2H_AFTER_ABOUT): Make it a lexical. * texi2html.pl: Remove trailing whitespace from lines. Use protect_html of HREF and NAME. Use /o where possible in substitutions. * texi2html.pl (T2H_HOMEPAGE): Get rid of newlines. * texi2html.pl (T2H_ADDRESS): Move to texi2html.init. * texi2html.pl (pass1): Fix severe top node matching bug. * texi2html.pl (do_uref): Don't markup obviously bad uref. * texi2html.pl (t2h_anchor): Use protect_html to allow double-quoting of all html attributes. 2001-11-19 Adrian Aichner * texi2html.init: Initialize T2H_INCLUDE_DIRS to the empty list. * texi2html.pl (LocateIncludeFile): Don't look in ., unless it's part of T2H_INCLUDE_DIRS. 2001-09-18 Derek Price * texi2html.pl (T2H_HOMEPAGE): Use new link. (T2H_AUTHORS): Direct to dev@texi2html.cvshome.org for maintainer. (T2H_ADDRESS): Default to "an unknown user". 2001-09-18 Derek Price * doc/.cvsignore: Add several files generated by pdftex. 2001-09-18 Derek Price * doc/Makefile.am (texi2html_TEXINFOS): Remove version.texi - AM includes it automatically. (texi2html.html): Include version.texi as a dependency. (texi2html.pdf): Use pdftex to create instead of ps2pdf - hyperlinks! * doc/Makefile.in: Regenerated. 2001-09-18 Derek Price * configure.in: Bump package version number. * Makefile.am (AUTOMAKE_OPTIONS): Bump required Automake version to 1.5. * doc/texinfo.tex: New File. * TODO: Add note about `make distcheck' being broken and about lack of a comprehensive test suite. * Makefile.in: Regenerated using Automake 1.5. * aclocal.m4: Ditto. * configure: Ditto. * doc/Makefile.in: Ditto. * doc/stamp-vti: Ditto. * doc/version.texi: Ditto. 2001-09-17 Derek Price * texi2html.init (T2H_WORDS_FR, MONTH_NAMES_FR): Add French translations. (Patch from Dumas Patrice .) 2001-09-17 Derek Price * texi2html.1.in (AVAILABILITY): Add detail. 2001-09-17 Derek Price * .cvsignore: Add `texi2html.1'. 2001-09-17 Derek Price * texi2html.1: Removed this file since it is generated by configure. 2001-08-10 Derek Price * INTRODUCTION: Fix email addresses and links. * README: Ditto. * NEWS: Update. 2001-08-10 Derek Price * doc/Makefile.am: Made a few changes so we can build in a dir other than $(srcdir). (Bug report from Richard Pixley .) * Makefile.am: Remove some useless comments. * doc/Makefile.am: Simplify some targets which Automake already knew how to handle. * aclocal.m4: Regenerated. * configure: Regenerated. * Makefile.in: Regenerated. * doc/Makefile.in: Ditto. 2001-01-20 Adrian Aichner * INTRODUCTION (http): Typo fixes. * texi2html.init (T2H_DEFAULT_print_toc_frame): Improve wording. * texi2html.pl: Avoid newlines around URL in $T2H_HOMEPAGE. * texi2html.pl (pass1): Remove incorrect "node is undefined ..." warnings (as pointed out by larry.jones@sdrc.com (Larry Jones) in <200011152253.RAA16633@thor.sdrc.com>. * texi2html.pl (Sec2PrevNode): Fix bug of calculating next node instead of previous. * texi2html.pl (main): Provide Windows NT workaround for $T2H_USER until getpwuid gets implemented there. 2000-11-15 Adrian Aichner * texi2html.pl: Comment out warnings pragma which, according to larry.jones@sdrc.com (Larry Jones), is not available in perl5.004_02. 2000-11-12 Adrian Aichner * doc/custhtml.texi: Fix @node and @menu commands according to feedback from makeinfo and texi2html, which reports undefined nodes now. * doc/custhtml.texi (CustHTMLBody): Ditto. * doc/custhtml.texi (CustHTMLBodyText): Ditto. * doc/custhtml.texi (CustHTMLAfterBody): Ditto. * doc/custpage.texi: Ditto. * doc/custpage.texi (TipsNewDesign): Ditto. * doc/custpage.texi (CustPagePhil): Ditto. * doc/custpage.texi (CustPagePhilNav): Ditto. * doc/custpage.texi (CustPageMiscPage): Ditto. * doc/custpage.texi (CustPagePageHeadToc): Ditto. * doc/custpage.texi (CustPagePageHead): Ditto. * doc/initfile.texi: Ditto. * doc/initfile.texi (InitFileBasics): Ditto. * doc/reference.texi: Ditto. * doc/reference.texi (Refptocframe): Ditto. * doc/stamp-vti: Updated. * doc/texi2html.texi: Ditto. * doc/texi2html.texi (Top): Ditto. * doc/texi2html.texi (Indexvr): Ditto. * doc/version.texi: Ditto. 2000-11-12 Adrian Aichner * texi2html.init: Re-format file according to M-x cperl-set-style RET C++ RET. Following subs are affected by re-indentatition and bug fixes due to use of warnings pragma. * texi2html.init (T2H_DEFAULT_print_section): * texi2html.init (T2H_DEFAULT_print_Top_header): * texi2html.init (T2H_DEFAULT_print_Top): * texi2html.init (T2H_DEFAULT_print_misc_header): * texi2html.init (T2H_DEFAULT_print_misc): * texi2html.init (T2H_DEFAULT_print_chapter_header): * texi2html.init (T2H_DEFAULT_print_chapter_footer): * texi2html.init (T2H_InitGlobals): * texi2html.init (T2H_DEFAULT_print_page_head): * texi2html.init (T2H_DEFAULT_print_page_foot): * texi2html.init (T2H_DEFAULT_print_foot_navigation): * texi2html.init (T2H_DEFAULT_button_icon_img): * texi2html.init (T2H_DEFAULT_print_navigation): * texi2html.init (T2H_DEFAULT_print_frame): * texi2html.init (T2H_DEFAULT_print_toc_frame): * texi2html.init (T2H_DEFAULT_about_body): * texi2html.pl: Re-format file according to M-x cperl-set-style RET C++ RET. Add pragma: use warnings; Following subs are affected by re-indentatition and bug fixes due to use of warnings pragma. * texi2html.pl (LoadInitFile): * texi2html.pl (SetDocumentLanguage): * texi2html.pl (l2h_Init): * texi2html.pl (l2h_InitToLatex): * texi2html.pl (l2h_ToLatex): * texi2html.pl (l2h_FinishToLatex): * texi2html.pl (l2h_ToHtml): * texi2html.pl (getcwd): * texi2html.pl (l2h_InitFromHtml): * texi2html.pl (l2h_FromHtml): * texi2html.pl (l2h_ExtractFromHtml): * texi2html.pl (l2h_Finish): * texi2html.pl (l2h_InitCache): * texi2html.pl (l2h_StoreCache): * texi2html.pl (l2h_FromCache): * texi2html.pl (l2h_ToCache): * texi2html.pl (pass1): * texi2html.pl (EnterIndexEntry): * texi2html.pl (IndexName2Prefix): * texi2html.pl (GetIndexEntries): * texi2html.pl (byAlpha): * texi2html.pl (GetIndexPages): * texi2html.pl (GetIndexSummary): * texi2html.pl (PrintIndexPage): * texi2html.pl (PrintIndex): 2000-11-05 Adrian Aichner * MySimple.pm (getOptions): Correct typo found with "use strict;". * texi2html.init: Convert from dynamically to lexically scoped variables. * texi2html.init (pretty_date): Ditto. This sub is defined in texi2html.pl as well! * texi2html.pl: Ditto. * texi2html.pl (l2h_FromHtml): Ditto. * texi2html.pl (pass1): Ditto. * texi2html.pl (pass2): Ditto. * texi2html.pl (pass3): Ditto. * texi2html.pl (pass4): Ditto. * texi2html.pl (update_sec_num): Ditto. * texi2html.pl (open): Ditto. * texi2html.pl (next_line): Ditto. * texi2html.pl (html_debug): Ditto. * texi2html.pl (debug): Ditto. * texi2html.pl (do_email): Ditto. * texi2html.pl (do_math): Ditto. * texi2html.pl (do_uref): Ditto. * texi2html.pl (apply_style): Ditto. * texi2html.pl (substitute_style): Ditto, except $_. * texi2html.pl (t2h_anchor): Ditto. * texi2html.pl (pretty_date): Ditto. This sub is defined in texi2html.init as well! 2000-11-05 Adrian Aichner * texi2html.pl (pass1): Generate valid HTML for anchors produced for @itemx?. 2000-11-05 Adrian Aichner * texi2html.init: Eliminate bare-word use of variable T2H_OPTIONS. 2000-11-05 Adrian Aichner * texi2html.pl: Use strict pragma to detect potential bugs. Declare local variables (currently 396!). Fix HTML syntax in $complex_format_map. Eliminate bare-word use of variables (eg. use $T2H_LANG instead of T2H_LANG). * texi2html.pl (GetIndexSummary): Remove
after . * texi2html.pl (Sec2NextNode): Re-write section-number regexp for readability and to make cperl-mode happy. * texi2html.pl (Sec2PrevNode): Ditto. * texi2html.pl (main): New sub encapsulating top-level code. * texi2html.pl (pass1): Ditto. Re-write texinfo comment regexp for readability and to make cperl-mode happy. End HTML

before @printindex,

, and
. * texi2html.pl (pass2): Ditto. Quote
attributes. * texi2html.pl (pass3): Ditto. * texi2html.pl (pass4): Ditto. Remove

before first paragraph! * texi2html.pl (pass5): Ditto. * texi2html.pl (open): Use no strict "refs" to allow symbolic reference. * texi2html.pl (apply_style): Ditto. 2000-11-04 Adrian Aichner * texi2html.init ($T2H_DOCTYPE): Add SystemLiteral to identify the canonical DTD. * texi2html.init (T2H_DEFAULT_about_body): Fix HTML syntax of Subsubsection One-Two-Three example. * texi2html.pl: Close HTML

before HTML

and HTML
. Correct handling of texinfo menu comment lines. * texi2html.pl (protect_html): Simplify. This subroutine was way too smart! Use Character entity references (eg <) instead of Numeric character references (eg. <). * texi2html.pl (unprotect_html): Use Character entity references (eg <) instead of Numeric character references (eg. <). 2000-09-14 Eric Sunshine * doc/Makefile.in: Added missing doc/Makefile.in since its absence caused 'configure' and make targets (such as 'distclean') to bomb. 2000-09-14 Olaf Bachmann * applied patches/fixes from Eric Marsden . o DTD now at the beginning of the document o default language to 'en' wasn't working which led to empty LANG="" in o missing in footer blurb o when the ToC was generated in some cases, the code used
    to indent, but didn't have any
  • tags.
    is now used in such cases, instead. 2000-09-11 Eric Sunshine * texi2html.pl: Fixed severe macro expansion bug. Macro argument parsing code did not handle nested braces ('{' and '}') at all, thus valid macro invocations such as "@mymacro{Hello @emph{there} @strong{world}.}" would fail. Prior to this fix, @mymacro would be handed the argument "Hello @emph{there", which is clearly incorrect. Now @mymacro correctly receives "Hello @emph{there} @strong{world}." as its argument. This fix also deals properly with the protected brace sequences \{, \}, @{, and @}. * texi2html.pl: Fixed severe macro expansion bug. Macro argument parsing code did not handle arguments split over multiple lines, such as "@mymacro{Hello \n world.}". Now it correctly handles macro invocations split across any number of lines, and properly flags an error at the correct location if the user forgets the closing brace '}'. * texi2html.pl: Fixed formatting errors in expansions of @SPACE, @TAB, and @NL (where SPACE, TAB, and NL represent the actual space, tab, and newline characters). The Texinfo manual explicitly states that each of these sequences should expand to a "printable" space in the [rendered] output. The example given in the manual shows that "Spacey@ @ @ @ example" should expand to "Spacey example". However, texi2html was only emitting the insignificant whitespace ' ' and '\n' into the HTML output which did not properly preserve the hard spaces in "Spacey example". Now each of these directives expands to ' ' instead. * texi2html.pl: Made aesthetic improvement to the output of @file{}, @option{}, and @samp{}. The argument string is now quoted with ` and ' _after_ the style has been applied. For instance, @samp{perl} now expands to "`perl'", whereas it used to expand to "`perl'". In my tests, this change results in more aesthetically pleasing rendered output on various browsers. 2000-08-16 Olaf Bachmann * texi2html.pl: Bug fix from: "joseph" MySimple.pm should be 'require'd, but checked is still texi2html.init. 2000-08-14 Karl Heinz Marbaise * new command line switch (Test purposes only!) to show new layout in HTML for @def stuff. * Texinfo-Documentation updated. - New chapter about ``customizing HTML'' started. - multiple files instead of one. - subdirectory doc. 2000-07-27 Olaf Bachmann * texi2html.pl: Fixed Getopt::Long::Configure("pass_through") for older versions of Getopt::Long which do not support his function. 2000-07-11 Olaf Bachmann * implemented @documentlanguage: - sets language of document, unless overwritten by -lang, or explicitly set $T2H_LANG * introduced T2H_OBSOLETE_OPTIONS to prevent obsolete options to ambiguate current options 2000-07-09 Karl Heinz Marbaise * Texinfo-Documentation: - fixes from Peter Moulder incorporated into manual. - Updated Manual o improved o indices for options, variables of script. o much more. * texi2html.init: - improvements for different languages (month names, words in different languages). 2000-07-05 Olaf Bachmann * Provided CVS anonymous read-access to Texi2html: cvs -d :pserver:t2h-anon@urmel.mathematik.uni-kl.de:/usr/local/Singular/cvsroot login cvs -d :pserver:t2h-anon@urmel.mathematik.uni-kl.de:/usr/local/Singular/cvsroot co Texi2html Passwd: texi2html * Provided CVS write-access to Texi2html: contact me for instructions 2000-07-01 Olaf Bachmann * primitive support for some toher def stuff (needs to be fixed, though) * Distribution: Incorporated texi2html.texi authored by Karl Heinz Marbaise (THANKS!) * texi2html.1.in: Updates to reflect new cmd-line options * Rewrote handling of command-line options: - based on (My)Simple.pm, and Getopt::Long -help now works and is up-to-date -help 1 lists also "not-so-important" options -help 2 lists also obsolete options - the following options were renamed: (old options still work, but are marked as obsolete) verbose ==> Verbose section_navigation ==> sec_nav output_file ==> out_file - the following options are obsoleted (still work, though): no-section_navigation ==> -nosec_nav use_acc ==> ALWAYS use accents expandinfo ==> -expand info expandtex ==> -expand tex no_verbose ==> default case monolithic ==> default case split_node ==> -split section split_chapter ==> -split chapter 2000-06-27 Olaf Bachmann * Fixed bug in anchor generation (reported by various people who noticed that @anchor may not be on one line with @item) * Fixed infinite loop on missing '@end macro' * texi2html.pl: -expandinfo and -expandtex command-line options for backward compatibility * texi2html.init: Use ISO 639 language codes for keys in $T2H_LANG hash. 2000-06-26 Olaf Bachmann * texi2html.pl: new command-line options: -nonumber, -nomenu to unset the default -number -menu * texi2html.pl: As suggested by "Richard Y. Kim" : insert for each nodename in a document (nodename is exactly as in texinfo source). * From: "Richard Y. Kim" o $T2H_FRAMES internal boolean variable which defaults to 0 o -frames command line option which changes $T2H_FRAMES to 1. o If $T2H_FRAMES is 1, then two additional files are output. If mydoc.html is output normally, then mydoc_frame.html and mydoc_frame_toc.html files are output. o The functions T2H_print_frame, and T2H_print_toc_frame are used to generate contents of these files. o The T2H_DEFAULT_print_frame and T2H_DEFAULT_print_toc_frame (defined in texi2html.ini) do the following: mydoc_frame.html is the short file with tags. mydoc_frame_toc.html is basically the short table of contents which goes on the narrow left frame. * texi2html.pl: @,{c} --> ç 2000-06-23 Olaf Bachmann * released version 1.63 * texi2html.init (T2H_DEFAULT_print_page_head): make tag very first thing in every file * fixed macro quoting and special cases of macro invocation * from "Richard Y. Kim" : o handle \} in macro arguments * from brlewis@alum.mit.edu: o Changes to facilitate CSS o -toc_file option for those who want the TOC to be index.html o Config variable $T2H_HREF_DIR_INSTEAD_FILE: if set (e.g., to index.html) replace hrefs to this file (i.e., to index.html) by ./ * texi2html.pl: index generation after value substitution 2000-05-31 Olaf Bachmann * texi2html.pl: for def_map stuff before output * texi2html.pl: applied patch from "Richard Y. Kim" for @refs with 2 or 3 args: use 3rd or 2nd argor section (in that order) as text for reference. 2000-04-18 Olaf Bachmann * texi2html.pl: Applied patches of to make texi2html work with older versions of Perl 2000-04-13 Olaf Bachmann * texi2html.pl: fixed unmacro * distribution: applied patches from Peter Moulder and Teun Burgers. * fixed "Duplicate section found" -- section may now have duplicate names * fixed bug related to $T2H_AVOID_MENU_REDUNDANCY 2000-04-12 Olaf Bachmann * release 1.62 * added $T2H_NODE_NAME_IN_MENU for enforcing node names in meny entries, and $T2H_AVOID_MENU_REDUNDANCY to avoid display of duplicate meny entry information 2000-04-11 Olaf Bachmann * texi2html.pl: fixed two small bugs reported by sunshine@sunshineco.com ( in menu,

    after itemize). * implemented @ftable, @vtable * index generation reimplemented: - Can be split over several pages, depending on the value of $T2H_SPLIT_INDEX - typesetting in fixed-width font is observed * texi2html.init: T2H_IDX_SUMMARY either set or not set, takes no argument. 2000-04-08 Peter Moulder * Makefile.am, configure.in: Generate texi2html in configure script instead of Makefile. (Due mostly to Teun Burgers.) * README, TODO, texi2html.1.in, texi2html.init, texi2html.pl: Misc. documentation changes. 2000-04-07 Olaf Bachmann * texi2html.init: $T2H_INDEX_CHAPTER introduced: if set, use this chapter for Index button, else use first chapter whose name matches 'index' (case insensitive) * fixed atuomatic pointer creation for appendix chapters * fixed handling of menu entries with description going into the next line, use numbered section names, if $T2H_NUMBER_SECTIONS * texi2html.init: $T2H_TOP_HEADING for explicitly specifying heading of top node * fixed handling of headings (no new page on -split section) * fixed bug in index (generation of section names) * stoc in _ovr.html within BLOCKQUOTES * get rid of bullets in ToC, if $T2H_NUMBER_SECTIONS 2000-04-06 Olaf Bachmann * fixed bug in creation of index entries (eval of section names) * fixed table within itemize and parapgraphs * surpress

    when within
    	* allow @include within top node
    
    2000-04-03  Olaf Bachmann  
    
    	* texi2html.init: By default, T2H_TOP_FILE is set to '' 
    	* texi2html.pl: $docu_top=$T2H_TOP_FILE || $docu_name. $docu_ext;
    
    2000-03-31  Olaf Bachmann  
    
    	* texi2html.pl: $complex_format_map for complex enclosing
    	constructs where which: 
    	* texi2html.init:$T2H_EXAMPLE_INDENT_CELL,
    	$T2H_SMALL_EXAMPLE_INDENT_CELL, $T2H_SMALL_FONT_SIZE for
    	customizing indent/font size of block-enclosing texinfo command
    	(@example, @format, @display, etc).
    	* Release version 1.61.
    
    2000-03-29  Olaf Bachmann  
    
    	* Cleaned up texi2html.pl and added loading of init file (when
    	texi2html.pl is run) such that it can directly be used as script
    	(otherwise, debugging is much harder).
    
    	* fixed getpwuid 
    
    	* Added T2H_print_chapter_header, T2H_print_chapter_footer for
    	more fine-grained control of T2H_SPLIT eq 'chapter', added option
    	-section_navigation, $T2H_SECTION_NAVIGATION to suppress output of
    	navigation panels per section
    
    	* Changed naming and and calling convention of customizable subs:
    	They all have prefix T2H_, are called with &$T2H_, are assigned by 
    	$T2H_ = \&T2H_DEFAULT_.
    
    	* texi2html.init: Incorporated changed of Peter Moulder:
    	
    2000-03-27  Olaf Bachmann  
    
    	* debian/*: deleted
    	* texi2html.pl: Incorporated changes of Peter Moulder
    	* texi2html.pl: Automatic node pointer creation added
    	* texi2html.pl: @enddots, @exclamdown, etc added
    
    2000-03-26  Peter Moulder  
    
    	* texi2html.init: Address a couple of weblint/tidy warnings.
    
    	* texi2html.init:
    	* texi2html.pl: The init file is inserted into the executable at
    	build time (see Makefile.am).
    
    	* texi2html.pl: Source each of @sysconfdir@/texi2htmlrc and
    	$HOME/.texi2htmlrc if it exists, after processing texi2html.init
    	but before anything on the command-line.
    	
    	Allow -split_chapter, -split_node, -monolithic options, which is
    	what previous versions of texi2html used.
    	
    	Support `@command{...}'.
    	
    	Add --help, --version options.
    	
    	-sidx isn't used, so comment out.
    
    	* configure.in:
    	* Makefile.am:
    	* autogen.sh: New files.
    
    	* configure.in: Change version number from 1.60Beta to 1.59.2.
    
    	* debian/*: New files.
    
    	* texi2html.1.in:
    	* texi2html.pl: Extract the man page into a separate file.  At the
    	moment, the man page is even installed separately (with
    	texi2html.pl having `.so @MANPAGE_PATH@' in place of the
    	manpage).  Conceivably we could add a configure option to
    	construct everything as one file like we used to; just replace
    	that text with `@EMBEDDED_MANPAGE@', which would be replaced with
    	either the existing `.so @MANPAGE_PATH@' or with texi2html.1
    	contents the way texi2html.init is done.
    	
    2000-03-14  Olaf Bachmann  
    
    	* texi2html.pl: center @image by default, can be overwritten by
    	T2H_CENTER_IMAGE (sunshine@sunshineco.com)
    
    # vim:tabstop=8:shiftwidth=8