2005-02-03 Patrice Dumas * texi2html.pl: don't use exists for reference in an array, for old perl. Report from Sven de Vries. * T2h_i18n.pm: remove useless use that prevented to run on IRIX. Report from ezra peisach. * Tests/*: remove some $Id: ChangeLog,v 1.179 2005/02/04 00:14:39 pertusus Exp $ rcs tags 2005-02-03 Patrice Dumas * texi2html.pl: require perl 5.00405 for File::Spec (report from Ezra peisach). 2005-02-03 Patrice Dumas * texi2html.pl: don't use open with three args, use binmode (for old perl, reported by Sven de Vries). * doc/Makefile.am: rebuild the manual based on the sources, not on the script, as it is remade by ./configure. Use the rebuild of the manual as a check target (ideas from Derek). * Tests/*: test for results with USE_UNICODE set to 0. 2005-02-01 Derek Price * configure.ac: Revert most of the PERL change. 2005-02-01 Patrice Dumas * texi2html.init, examples/chm.init: remove our keywords for old perl (reported by Sven de Vries). 2005-02-01 Derek Price * Makefile.am (EXTRA_DIST): Include missing-texi2html. 2005-02-01 Derek Price * NEWS: Note that Perl is no longer required to build. * configure.ac: Don't search for texinfo programs handled by Automake. Declare PERL a precious var. Exit when not found and not set. Warn when set to a relative path. * missing-texi2html, doc/texi2html.html: New files. * doc/.cvsignore: Add more intermediate files. * doc/Makefile.am: Remove targets autogenerated by Automake. (EXTRA_DIST): Distribute texi2html.html. (texi2html.html): Call texi2html via missing-texi2html. 2005-01-31 Derek Price * configure.in, NEWS: Update for development. * configure.in: Rename to... * configure.ac: ...this, to match current Autoconf standards. 2005-01-31 Derek Price * configure.in, NEWS: Update for the 1.74 release. 2005-01-16 Patrice Dumas * texi2html.pl, texi2html.init: more robust handling of deffn lines. The argument may be in bracket, therefore there is no difference beteen arg and other item specification for def like commands. * Tests: test for more deffn lines, and for @-commands in floats. * doc/texi2html.texi: update. 2005-01-16 Patrice Dumas * texi2html.pl: close quotes within html elements. Apply commands to @item lines in table after leading and trailing spaces removal. * Tests: regenerate. 2005-01-06 Patrice Dumas * texi2html.pl, texi2html.init: handle explicitely formats that don't trigger paragraph opening. Handle all commands even those that aren't used. End lines more correctly. 2004-12-29 Derek Price * NEWS: Date the 1.72 release. 2004-12-29 Derek Price * configure.in: Update for 1.72 release. * Makefile.in, aclocal.m4, configure, Tests/Makefile.in, doc/Makefile.in, doc/stamp-vti, doc/version.texi: Regenerated. 2004-12-29 Derek Price * README: Remove obsolete note about using shar for binary attachments to mailing lists. 2004-12-29 Derek Price * config.guess, config.sub: New files from Automake. 2004-12-13 Patrice Dumas * INTRODUCTION, README: update with dev mailing list. Advertise the manual as being rather complete. * Makefile.am,Makefile.in: build in . before doc, as texi2html is needed to rebuild the doc. 2004-12-11 Patrice Dumas * texi2html.init,examples/roff.init,examples/html32.init, examples/inlinestyle.init,NEWS: add support for @euro, @sansserif. * Tests: test for @euro, @sansserif, deff arguments with braces appearing within the argument (and not at the beginning). Sync. 2004-12-11 Patrice Dumas * texi2html.pl, texi2html.init: internal targets and targets of cross refs are valid as XML identifiers. This is compatible with the updated specification presented in the texinfo manual in the node HTML Xref. * doc,Tests: sync. 2004-11-22 Patrice Dumas * texi2html.pl: handle right deff arguments with braces appearing within the argument (and not at the beginning). 2004-10-08 Patrice Dumas * texi2html.pl: add a mail address to the --help screen (idea from Karl Berry). 2004-10-06 Patrice Dumas * configure.in: add the lines asked for by Thomas Esser for addition to teTeX. * Makefile.in...: regenerate with automake 1.9.1. 2004-10-06 Patrice Dumas * Makefile.am: use $(PERL) and $(srcdir) in manage_i18n.pl rule (idea of Karl Berry). 2004-08-13 Patrice Dumas * texi2html.pl, texi2html.init: Cross refs are done according to the specification presented in the texinfo manual in the node HTML Xref. The "external source of information" is also used although it isn't formally part of the specification. Handle novalidate better. * Tests: sync. 2004-08-07 Patrice Dumas * texi2html.pl, texi2html.init: handle @slanted and @abbr. 2004-06-27 Patrice Dumas * texi2html.pl, T2h_i18n.pm, manage_i18n.pl: Re enable compatibility with perl older that 5.6, by changing most of our to use vars, and some other to my. 2004-06-13 Patrice Dumas * texi2html.pl: split close_stack in 2, one for the last pass the other for the previous passes. Simplification of the code handling paragraph closing. More macros don't begin paragraphs. Pass opened commands through @tab and @item. Every @def* is considered to have arguments. continue the @def* line if there is a @ at the end line. * texi2html.pl, texi2html.init: Handle @float, @listoffloats, @caption, @shortcaption, @ordf, @ordm, @registeredsymbol, @deftypecv, @LaTeX, @indicateurl, @docbook, @ifdocbook, @ifnotdocbook, @comma, @headitem, @quotation second arg, @acronym second arg. @url is now a synonym for @uref. * doc/texi2html.texi: bring up-to-date. 2004-04-28 Patrice Dumas * T2h_i18n.pl, texi2html.pl: pass the state to the internationalized strings if needed. 2004-04-28 Patrice Dumas * texi2html.init, texi2html.pl: generate unformatted text with text protected and %unformatted_text_* hashs used. use unformatted text in element. put preparation of special styles in texi2html.init. copying_comment formats the copying comment. 2004-04-26 Patrice Dumas <dumas@centre-cired.fr> * example/book.init: stick to the same style for manual not split at node. * texi2html.pl: handle better @today even in non english cases. don't use (encoding) in open, but set it in binmode (perl seems unhappy otherwise ?). * texi2html.init: don't enclose paragraph in <p> when it is the first paragraph of enumerate or itemize, as the <li> is allready something like a begining of paragraph. 2004-03-25 Derek Price <derek@ximbiot.com> * .cvsignore: Ignore texi2html.spec. 2004-03-25 Derek Price <derek@ximbiot.com> * NEWS: Add section for 1.72. * configure.in: Update to dev version 1.71. Generate texi2html.spec. * texi2html.spec: Move this file... * texi2html.spec.in: ...here and replace some strings with text generated by configure. * Makefile.in, configure, doc/stamp-vti, doc/version.texi: Regenerated. 2004-03-24 Patrice Dumas <dumas@centre-cired.fr> * NEWS: fill 1.70 section. * configure.in, texi2html.spec: update version. * Makefile.in: regenerate, now it doesn't want config.guess. 2004-03-23 Patrice Dumas <dumas@centre-cired.fr> * Makefile.am, texi2html.spec: add a spec file usefull to build a rpm. * doc/Makefile.am: install texi2html.html in $(datadir)/texinfo/html as discussed on the texinfo/automake mailing lists. 2004-03-22 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl: get language files before testing for language hash. * Makefile.am: add a rule for translations.pl. 2004-03-20 Derek Price <derek@ximbiot.com> * NEWS: Add section for 1.70 release. * configure.in: Update for 1.69 dev version. * configure: Regenerated. 2004-03-20 Derek Price <derek@ximbiot.com> * NEWS: Add date to 1.68 release. 2004-03-20 Derek Price <derek@ximbiot.com> * NEWS: Update Automake & Autoconf versions in developer info section. 2004-03-20 Derek Price <derek@ximbiot.com> * .cvsignore: Ignore the distribution archives. * Makefile.am (texi2html_SOURCES): Add and use to avoid having to maintain two lists of files. * configure.in: Update to version 1.68 for release. * Makefile.in, configure: Regenerated. * doc/stamp-vti, doc/version.texi: Regenerated. 2004-02-26 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl, texi2html.init: change $DOCUMENTDESCRIPTION to $DOCUMENT_DESCRIPTION for consistency. if $ENCODING is '' don't put it in the headers. add a new entry to $Texi2HTML::THISDOC: 'title_texi', the title with texinfo @-commands. * examples/chm.init: don't convert to utf8 in the html files generated (unless the encoding is really utf8), but produce utf8 in hhc, hhk and hhp files whatever the encoding is. * doc/texi2html.texi: update. 2004-02-23 Patrice Dumas <dumas@centre-cired.fr> * Makefile.am: ask for a version above 1.7 for automake. * Makefile.in...: regenerate with automake 1.8.2 autoconf 2.59. * texi2tml.pl, texi2html.init, examples/chm.init: add a new variable $DOCUMENTDESCRIPTION. If it is undef, @documentdescription is used or the long title. If it is set but empty no description <meta> element is used, if it isn't empty, the value is used in the description <meta> element. 2004-02-11 Patrice Dumas <dumas@centre-cired.fr> * Makefile.am: add T2h_i18n.pm texi2html.init MySimple.pm and l2h.init to the distribution. 2004-02-11 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl: use the manual name (file basename) as default output directory when split. * NEWS, Tests/test.sh: update. 2004-02-11 Derek Price <derek@ximbiot.com> * Tests/GermanNodeTest/.cvsignore, Tests/index_table/.cvsignore, Tests/macros/.cvsignore, Tests/sectionning/.cvsignore, Tests/ccvs/.cvsignore, Tests/nodes_texinfo/.cvsignore, Tests/texi2html/.cvsignore, Tests/texinfo/.cvsignore, Tests/viper/.cvsignore, Tests/viper_monolithic/.cvsignore, Tests/xemacs/.cvsignore, Tests/xemacs_frame/.cvsignore, Tests/formatting/.cvsignore: New files to suppress warnings about files created by the test scripts. 2004-02-11 Derek Price <derek@ximbiot.com> * Makefile.am (bin_PROGRAMS): Move... (bin_SCRIPTS): ...here. (texi2html_SOURCES): Remove unused variable. 2004-02-10 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl: put the code related with cross references in the main namespace. * Makefile.am: remove T2h_unicode.pm, T2h_nounicode.pm. 2004-02-10 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl: put cross manual reference and unicode related functions in the main program (instead of T2h_unicode.pm, T2h_nounicode.pm). Don't add no-... options when there are allready the options added. * T2h_unicode.pm, T2h_nounicode.pm: remove. 2004-02-07 Patrice Dumas <dumas@centre-cired.fr> * T2h_unicode.pm, T2h_nounicode.pm: make global variables lexical variables. * texi2html.init: output header if there is only one section. * Tests/: more tests for the new cross references scheme. * doc/: use a newer texinfo.tex. Be texi2dvi friendly. * Tests/Makefile.am: comment out check-local, it isn't ready. 2004-02-06 Derek Price <derek@ximbiot.com> * T2h_unicode.pm, T2h_nounicode.pm: Declare some otherwise undeclared variables as global variables. 2004-02-06 Derek Price <derek@ximbiot.com> * doc/Makefile.am (txt): New targets to convert .texinfo files into text. * doc/.cvsignore: Ignore texi2html.txt. 2004-02-06 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl, texi2html.init, T2h_unicode.pm, T2h_nounicode.pm: when called with --test, @today value is fixed. Find the relative path leading back to the current directory from the output directory, such that the path to the image files are right. Use a ref on the Texi2HTML::Config hashes such that changing the hash used is easy. This is used in T2h_unicode.pm and T2h_nounicode.pm for expansion of nodes in external refs. Add special styles early. A new variable NEW_CROSSREF_STYLE. If true the new scheme for html cross refs proposed onthe texinfo list is used for @ref. * Tests/formatting/test_refs.texi, Tests/formatting/cross_refs.init: new files used to test the new cross ref scheme. 2004-02-03 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl, texi2html.init: call the $index_summary_file_* function references for all the indices, even those not printed. * examples/chm.init: enhancements based on the Peter Verhás implementation (t2h.pl) and languages codes based on the docbook xslt. 2004-02-03 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl, texi2html.init: add $EXTENSION variable, holding the extension for files. Add $Texi2HTML::THISDOC{'file_base_name'} and $Texi2HTML::THISDOC{'destination_directory'} such that it is possible to construct file and directory names in init files. Add $finish_out function reference called at the end of document outputting. Add $index_summary_file_begin and $index_summary_file_end to ease special index files generation. * examples/noheaders.init: perform better when split. * examples/chm.init: new init file to generate chm files (after compilation by a windows application, leads to windows help files). After José Fonseca (jrfonseca at users dot berlios dot de) work on an older texi2html. * l2h.init: Set NO_SUBDIRS to 1, don't set html version. 2004-01-28 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl: reopen styles in preformatted environments. When there is a complex format or a table or the like the opened styles are kept such that they are reopened when there is a paragraph or a preformatted within the format. * T2h_unicode.pm: use the right code point for dotless i. * Tests/*: add tests for formats imbricated in style command. add tests for latin1 and utf8 encoded files. add tests for ifset and ifclear in macros. * Makefile.am: add the new source files and init files. 2004-01-25 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl, texi2html.init, T2h_unicode.pm, T2h_nounicode.pm: Handle encodings. It is possible to customize what is outputted in string context, when removing texinfo commands. Handle @email and @image better in string context. Use unicode instead of utf8 in variable names when it is really unicode. cross_manual_links is done in Texi2HTML::Config in T2h_unicode.pm in case the perl version is above 5.8, in T2h_nounicode.pm otherwise. add @NODE_FOOTER_BUTTONS for buttons at the footer of nodes. Add two more function references, element_file_name and node_file_name used to customize the file names. Don't warn when the character is not a precomposed unicode character, as it is possible to have totally valid character, not precomposed. Use us-ascii as default charset encoding. * examples/book.init: an init file based on the scriptbasic manuals file which formats manuals like books (no menu but tables of contents for the element under each element). * examples/utf8.init: use utf8 in strings. * doc/texi2html.texi: document the new elements of the interface. 2004-01-19 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl, texi2html.init, examples/*: New variables $DO_CONTENTS and $DO_SCONTENTS, $OPEN_QUOTE_SYMBOL and $CLOSE_QUOTE_SYMBOL. Use a hash for the files such that each element may be associated with any file name and written down to that file. This should enable customization of the file names. print_Top_header and print_Top_footer are called from the main program. Add Texi2HTML::THIS_ELEMENT holding the current element structure. * doc/texi2html.texi: document the new variables and the new interface with a hash reference for style @-commands. 2004-01-12 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl, texi2html.init: --- and `` are kept in first arg of uref and email 2004-01-11 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl, texi2html.init: parse arguments separated with , in main program. Use a new interface for style commands with a hash instead of a string. The old interface is still available. Give a type to the style_map commands (accent, style, simple or special). Normalise spaces for @url, @uref and @email. Handle better ignored regions end (at end of file or before @). Don't reinject @-commands after closing paragraphs. Add a hash for commands if paragraphs should not be done in these commands. 2004-01-04 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl, texi2html.init: handle @flushleft and @flushright like normal formats and do something special at the end of line for @center. Put the @-command name in the paragraph_style stack (not the align attribute). use a new function reference init_out instead of set_buttons_text and set_body_text, called just before the outputting is done. Handle a lower level element appearing before a higher level element. * texi2html.pl, examples: call or prepare for calling of ascii_accents instead of rewriting the function each time. * examples/utf8.init: prepare for transcoding in utf8. * Tests/sectionning/section_before_chapter.texi: test for sectionning element before chapter. 2003-12-16 Peter Pentchev <roam@ringlet.net> * texi2html.pl: don't use symbolic refs at all, instead eval the code (for the style functions) or use a local glob for the filehandle. 2003-12-15 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl, texi2html.init: add hashes for the ascii representations of @-commands and a function for ascii accents. Give style functions the style @-command stack. New function duplicate_state to be used when special text is expanded within a normal context. substitute_line accepts a $state argument. 2003-12-10 Patrice Dumas <dumas@centre-cired.fr> * INTRODUCTION, NEWS, README, TODO, texi2html.1.in, doc/TODO: bring those files a bit more up-to-date and correct typos. * doc/IDEA: removed, the content was obsolete or in TODO. * texi2html.pl: add no-... options for the options needing it. echo less options with --help. 2003-12-10 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl, texi2html.init, TODO: add hashes for unicode encodings of accented letter and characters. A function cross_manual_links can expand node name according to the proposal I made on the texinfo-pretest list (currently unused). * examples/utf8.init: add an init file for outputting of utf8 encoded characters. 2003-12-05 Derek Price <derek@ximbiot.com> * texi2html.pl: Suggest `--help' rather than `-help' in error messages. 2003-12-05 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl: @sp without arg is considered to be @sp 1 * Tests/formatting/formatting.texi: add test for @sp * TODO: begin a list of UTF8 characters corresponding with accented texinfo letters, in order to implement cross manual references scheme described on the bug-texinfo mailing list and maybe output utf8. 2003-12-02 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl: don't collect @copying lines in the first pass but in the second. Use the same mechanism to collect @copying, @documentdescription and @titlepage lines. 2003-12-01 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl: new option -macro-expand which generates a file with expanded macros and @include. don't close environments until last pass, except for @verb, raw environments and macro stuff. * texi2html.init: use @emph instead of @i in strings. 2003-11-25 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl, texi2html.init: format titlepage lines, resulting text is put in $Texi2HTML::TITLEPAGE. Use a new function reference $titlepage to finalize $Texi2HTML::TITLEPAGE. titles, subtitles and authors are put in arrays in $Texi2HTML::THISDOC{'titles'} and so on... All the skipped commands are kept for the second pass. Handle @noindent and @exdent like other skipped commands. A new type of skipped commands 'whitespace' with newline skipped and 'space' no newline skipped. change name of functions to default_`function'. * examples/roff.init: add a roff formatter added. 2003-11-20 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl, texi2html.init: Echoes error messages when loading init files. Keep spaces in menu entries and menu descriptions. Clean menu entries code. When handling menu entries, give the formatted node, the name and the remaining of the line to the formatting functions. In enumerate give the style of the enumerate, the item number and a prepared number or letter to the formatting functions. Don't keep the enumerate style in the text. 2003-11-18 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl, texi2html.init: change protect_html to protect_text. More arguments given to paragraph, preformatted region, list item, table item formatting functions, usefull when the paragraph or preformatted region is within a table or list to give more possibility for use of the formatting command appearing with the table or itemize command. Handle better new lines. new formatting function, normal_text, used to process ---, --, '' and ``. new formatting function, empty_line used to format an empty line, leave the empty line as is by default. 2 new formatting functions are used when the macro isn't handled by the normal functions: unknown and unknown_style. give the file name to the image. * doc/texi2html.texi, Tests/*: sync with code. 2003-11-11 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl: the format is applied by a customizable function. More arguments (index name, entry) given to the index label formatting function. When menus are not expanded, don't keep @menu or @end menu. * texi2html.init: warn when an accent is associated with a wrong argument. Produce valid html entities only. * texi2html.init, T2h_i18n.pm: Use @-commands in internationalized strings, not html. * i18n/fr, i18n/es, i18n/pt: use @-commands instead of html. 2003-11-07 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl, texi2html.init: remove unusefull arguments to functions formatting paragraphs. 2003-11-06 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl: the style is applied by a customizable function. * examples/noheader.init: style with no headers. 2003-11-05 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl: don't add the leading command if it is a simple command to all the paragraphs in itemize and add it before the paragraph or preformatted section. 2003-11-05 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl, texi2html.init: in itemize, apply the command to the inside of the paragraph or preformatted section. titlefont don't open paragraphs. 2003-11-02 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl: keep texi as is in @image and protect html characters. accept @| as macro, but remove it. cleaning of code for commands with texi kept as is * doc/formatting.texi: add test of flushleft, flushright and center 2003-11-02 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl: -- and so on are kept as is in @image except for alt text. Use alt text. File for image is really used, too. handle better @inforef. * doc/clean.texi: add formatting/clean.texi, a test for code acceptable by makeinfo without error. 2003-10-28 Patrice Dumas <dumas@centre-cired.fr> * doc/texi2html.texi: add informations about internationalization 2003-10-28 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl: if not split and there is a leading directory specified with --out, create that directory. If a directory creation fails, abort. test the writability of the results directory, even when it is the current directory. 2003-10-28 Patrice Dumas <dumas@centre-cired.fr> * doc/: remove unneeded .texi files, now included in texi2html.texi. * Makefile.am, doc/Makefile.am: include info file in distribution. 2003-10-26 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl: support for @verbatiminclude. When split use the -output specification in every cases. * texi2html.init: use `•' instead of `*' for node menu entries. * Makefile.am: fixes for the inclusion of files in packages. * doc/texi2html.texi: add the explanation of the default for all the variables. Explain how the strings are customized and how internationalization works. 2003-10-19 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl, texi2html.init, examples/html32.init: don't expand html automatically, only if it is in @EXPAND. Put html in @EXPAND. USE_ISO is now in the default case, but false in html32.init. new hash, %iso_symbols for USE_ISO symbols. Rewroted in the public domain in texi2html.init. Use iso symbols in preformatted environment too. When removing texi @-commands with arguments (@table, @deffn...) are better handled. Ignore content of @anchor, @footnote, @*ref when removing texi. * doc/texi2html.texi: merge content of doc/custpage.texi, doc/custhtml.texi in doc/texi2html.texi. * Tests/formatting/formatting.texi: test for all the constructs in the @copying/@end copying section (to test remove_texi). 2003-10-17 Derek Price <derek@ximbiot.com> * doc/stamp-vti, doc/version.texi: Regenerated. 2003-10-17 Derek Price <derek@ximbiot.com> * texi2html.pl (do_text): Compile-once flag is okay as long as the pattern portion (left side) of a s/// statement is free of change. 2003-10-15 Patrice Dumas <derek@ximbiot.com> * doc/custhtml.texi, doc/custpage.texi: sync with current code (no more $ADDRESS but $end_page, only 2 functions for references). * texi2html.pl: -- in normal text is changed in - ---, -- '' and `` are kept as is in @code, @kbd and so on. 2003-10-14 Derek Price <derek@ximbiot.com> * doc/texi2html.texi: Use @code{} for Perl vars. @var{} is for user supplied data to commands and function calls and the like. Fix EOL indiscretion in the three index macros. * doc/stamp-vti, doc/version.texi: Regenerated. 2003-10-14 Derek Price <derek@ximbiot.com> * doc/custhtml.texi, doc/custpage.texi, doc/texi2html.texi: Misc revisions to Pat's major revisions. Some global changes and reviewed through section 4.3. Consolidate copyleft notice into a macro. Consolidate variable and option references into macros which include an index reference. Make use of appropriate macros from version.texi rather than relying on manual updates. * doc/stamp-vti, doc/version.texi: Regenerated. 2003-10-14 Derek Price <derek@ximbiot.com> * doc/.cvsignore: Add texinfo.info-? files. 2003-10-33 Patrice Dumas <dumas@centre-cired.fr> * Tests/formatting/formatting.texi: test for --- and `` in various constructs. 2003-09-23 Patrice Dumas <dumas@centre-cired.fr> * NEWS: More changes taken from the conversion of the singular manual init file. 2003-09-23 Patrice Dumas <dumas@centre-cired.fr> * NEWS: Note more changes. * Tests/*: Test for novalidate. 2003-09-22 Derek Price <derek@ximbiot.com> * NEWS: Reorganize. Note some more changes. 2003-09-21 Patrice Dumas <dumas@centre-cired.fr> * Makefile.am: package i18n/en * doc/testkb.texi doc/umalaut.texi: remove these test files, they are now in Tests/formatting 2003-09-21 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl: source 'Config' file in the configuration directories instead of texi2htmlrc and ~/.texi2htmlrc for the system wide and user configuration. * manage_i18n.pl: language files are the files appearing in the i18n directory. Use 'en' for the file with english strings. 2003-09-17 Patrice Dumas <dumas@centre-cired.fr> * texi2html.init, texi2html.pl: change 'about (this page)' to 'about (help)' as this appears in the title= of the <a> element. ignore @afourlatex, @afourwide, @firstparagraphindent, @exampleindent, handle @definfoenclose, @kbdinputstyle, @novalidate, @centerchap (but without centering), @documentdescription. add -no-validate option. 2003-09-15 Patrice Dumas <dumas@centre-cired.fr> * texi2html.init, texi2html.pl: add &$Texi2HTML::Config::one_section for formatting of document with only one section. find when an element is the first element on a page. add &$Texi2HTML::Config::end_section, called when an element is finished unless it is the end of a page and do less in print_section Don't use $ADDRESS anymore. Change &$Texi2HTML::Config::external_ref such that it is easier to internationalize. 2003-09-13 Patrice Dumas <dumas@centre-cired.fr> * texi2html.init, texi2html.pl: mark strings of buttons, about, definitions and footers for internationalization. new function reference $set_buttons_text used to generate the button text hashes dynamically (for internationalization). require all files in i18n/* for languages. * i18n/fr: translate strings related with buttons, about, definitions and footers in french. 2003-09-12 Patrice Dumas <dumas@centre-cired.fr> * manage_i18n.pl: remove \ from strings when finding out strings to translate. * i18n/fr: translate strings related with references. 2003-09-12 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl, texi2html.init: 0 is accepted as a value for the reference arguments. rewrite from scratch the functions handling references in .init files to put them in the public domain. Avoid string concatenation to ease internationalization. 2003-09-11 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl, texi2html.init, T2h_i18n.pm, manage_i18n.pl, configure.in: The ideas come from Derek. new script manage_i18n.pl used to manage translation files. remove -i18n switch. parse source files to extract strings to be translated. complete these strings with the element of %$template_strings in manage_i18n.pl and fill the i18n/template file with these strings in the 'en' language hash. With the 'all' arg given to manage_i18n.pl the template is regenerated the language files are updated and merged in translations.pl. translations.pl is pasted in texi2html.pl. give arguments to the string to be translated: when something like %{arg} appears in the string and { 'arg' => 'some string'} is given as second argument, %{arg} is replaced by 'some string' after retrieval of the translated string. 2003-09-06 Patrice Dumas <dumas@centre-cired.fr> * images, AUTHORS: add images from the Singular project. 2003-09-06 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl, T2h_i18n.pm, texi2html.init: new handling of languages in documents. instead of using the hash reference $Texi2HTML::I18n::WORDS for translation of words, call &Texi2HTML::I18n::get_string (more precisely use &$I, a reference on the function). The strings are the real english strings and not identifiers. The date formatting depends on the language. Use translations for months and not a months array. Put translations in one file per language and not in T2h_i18n.pm. Those files are in the i18n directory. They are to be concatenated in the file translated.pl which is required or pasted in texi2html. Add a switch -i18n for the specification of a management command related with internationalization: if the command is merge, the files in the i18n directory are concatenated into translated.pl; if the command is update the files are updated with their own informations and the list of valid strings appearing in T2h_i18n.pm, invalid strings are obsoleted but kept. * test.sh: add a test for internationalization. 2003-09-05 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl: detect @item on @itemize and table line to avoid infinite recursion. 2003-09-04 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl, texi2html.init: handle better @itemize and @table, by appending the text appearing on the format command line. Use %special_list_commands to inhibit calling the formatting command on an item in a given format command. if '-' is given to the -output option, output on STDOUT. Find more format command mismatches, and handle better formats not closed. 2003-09-02 Patrice Dumas <dumas@centre-cired.fr> * Tests/macros/glossary.texi: test for nested macros definitions 2003-08-29 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl: support nested macro definitions. 2003-08-29 Patrice Dumas <dumas@centre-cired.fr> * texi2html.init, texi2html.pl: hide m_cedilla. new handling of definition commands, with a specification of the definition line parsing. get HTML attributes from hash values of %format_map and %style_map. Simplify the handling of tables. The default is to use %format_map or otherwise a user defined function, $table_list. All the css commands are in %css_map. 'pre_style' in $complex_formats is taken from %css_map. handle @sp. Remove $Texi2HTML::STOC_LINES (use $Texi2HTML::OVERVIEW), remove $Texi2HTML::TOC (use $Texi2HTML::TOC_LINES), remove $T2H_TOP. use references on arrays everywhere (instead of arrays) for Texi2HTML::OVERVIEW and Texi2HTML::TOC_LINES. Use OVERVIEW consistently. use $docu_top when needed, instead of $docu_name.$docu_ext, which is wrong if -o is used. prepare index entries label text in main program. rewrite from scratch most of the function in .init files to put them in the public domain. expand macros in macro arguments. \ protects @end macro in macros body. This may be wrong. ignore space and newline following a region opening command. rename -css-file to -css-include. Add 'This' to the hashes for buttons, icons and so on. Add option -toc-links, create links from headings to toc entries with 9 lines from Martin Herbert Dietze <martin@the-little-red-haired-girl.org> macros are expanded in macro arguments, taking care of context (in @verbatim, @ignore, @comment...). Don't remove empty lines from output. Reenable handling of -idx-sum. * Tests/*: add tests for macros expansion in macro arguments, and for command line option style which are not default. * examples/*: use code in the public domain. In makeinfo.init use makeinfo style for index formatting. 2003-08-29 Derek Price <derek@ximbiot.com> * MySimple.pm (helpOptions): Prepend a second `-' before options. 2003-08-29 Derek Price <derek@ximbiot.com> * doc/stamp-vti, doc/version.texi: Regenerated. 2003-08-11 Patrice Dumas <dumas@centre-cired.fr> * texi2html.init, texi2html.pl: don't always open paragraphs in tables and such, only when needed. option -output obsoletes -out_file and -subdir. It is the same than -out_file when output is not split, and the same than -subdir when it is split. Handle empty indices. Handle better @-commands with letters mixed with other characters. Be more carefull about NUMBER_SECTION, such that nothing is numbered when it is false. Support for @documentencoding. * Tests/*: add tests from the doc directory in formatting. * doc/*: add a section about installation and make the manual more makeinfo friendly. 2003-08-04 Patrice Dumas <dumas@centre-cired.fr> * texi2html.init, Tests/test.sh, Tests/ccvs: don't expand info section in default settings. Expand info sections for the xemacs manual, the viper manual and the texinfo manual. The cvs manual is updated. 2003-08-04 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl, texi2html.init: pass line numbers to all the functions echoing error messages and use these line numbers in error messages. Some error messages rewrited. Correct tag for sectionning commands in case raisesection or lowersection were used. -P option prepends before the document directory, and use an array, @Texi2HTML::Config::PREPEND_DIRS. Add options --ifhtml, --ifinfo and so on (similar with makeinfo options). It is also possible not to expand html now. Add entries for xml. when a region is expanded the corresponding ifnot region isn't. Add support for -css-file option which does the same than in makeinfo (parse the file, and echo the @import part before the texi2html css rules, the rules part after the texi2html css rules). If split at node and NODE_FILES is true but USE_NODES is not, the correct file nema is used for nodes not associated with sections and a redirection file is made. ignore spaces or not for def*index, pagesizes, syn*index properly. bugfixes: line beginning by any command not ignored begins a paragraph, don't ignore text before macro with unknown character). no empty style in pass_text. misc element have always a navigation printed at foot. * Tests/*: add singular test, test for css files, test all html formatting and macro within another macro. 2003-08-04 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl, texi2html.init: don't remove empty line in the second pass, pass_structure. collect line numbers/file name/macro expanding text in pass_texi. pass these informations down to pass_structure. take care of arguments not provided in some @-commands (no file in @image, no node in @inforef and so on). remove unneeded code in macro text expansion. remove leading spaces and newlines in macros arguments. add support for @\ (ignore). put code extracted from texi2html.pl and placed in texi2html.init, covered by the GPL back to texi2html.pl. Document the API between texi2html.pl and texi2html.init, i.e. document how the formatting functions called by texi2html.pl should behave. add print_section_header to format section headers. 2003-08-01 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl: add option '-noexpand' as a synonym for '-no-expand' like Derek suggested. 2003-07-31 Derek Price <derek@ximbiot.com> * texi2html.pl (T2H_OPTIONS->{'no-expand'}): Remove useless linkage. 2003-07-31 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl, texi2html.init: A new option -no-expand which does the reverse of -expand. Text before the first @node or sectionning command is outputted as part of the first section. A new option enables the reverse: if -ignore-preamble-text is set (variable $IGNORE_PREAMBLE_TEXT) this text is ignored. Handle macros appearing in that part of texinfo files (@direntry and @dircategory ignored, @shorttitlepage handled). Ignore everything at the beginning of the file until \input or an @-command preceded by optionnal spaces. better handling of @titlefont. 2003-07-29 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl, texi2html.init: if split, top and misc elements (about, toc, ...) always have a bottom navigation panel. If there is no @top and the @node Top isn't associated with any section it is considered to be the top element. The top name is Top when there is no name nor title (previously was "Untitled Document"). bugfix: top element handled as top even when it is the last element. 2003-07-22 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl, texi2html.init, examples/*: add support for @cartouche and @titlefont. preliminary support for css. All the element needing style have a class attribute. The commands which are associated with a class by makeinfo have that class too. The styles are in the <head> in <style>. A new init file, inlinestyle.init, should be used when style attributes within html elements are wanted. A new option, "-U value" does the same than "@clear value" (makeinfo has that option, too). A new configuration variable L2H_HTML_VERSION for the html version passed to latex2html. @tex or @math don't start a new paragraph. * Tests/*: test for @raisesections and @lowersections, and for @cartouche. 2003-07-11 Patrice Dumas <dumas@centre-cired.fr> * Tests/ccvs: update cvs manual. This should fixe the issue of rcs tags expanding in html manual files in ccvs_res. * Tests/*: sync with code. Add missing test result files. * Tests/Makefile.am: add new test subdirs. Better cleaning. * l2h.init: add init file for latex2html. 2003-07-10 Derek Price <derek@ximbiot.com> * Tests/nodes_texinfo/--and-hyphenation.html: Removed this accidentally added file at Pat's request. 2003-07-10 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl, Tests/test.sh: command line option names use '-' instead of '_' between words (for example dump_texi becomes dump-texi). * Tests/*: remove unneeded html and passfirst files. 2003-07-03 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl, *.init: use a separate namespace for the config variables: Texi2HTML::Config. Use the Texi2HTML:: namespace for variables set in texi2html and used in the init files subroutines. Use Texi2HTML::LaTeX2HTML namespace for latex2html related code. Use Texi2HTML::I18n namespace for internationalisation. Variables related with latex2html are removed from texi2html.init and put in l2h.init. harmonize function names style (all like get_index and not GetIndex). * Makefine.am, texi2html.pl: install examples init files in shared directory. try to find init files in the current directory, then the .texi2html user directory, the local texi2html directory and lastly the shared texi2html directory. 2003-06-17 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl: error messages go to STDERR instead of STDIN * Tests/test.sh: add -x to perl invocation to avoid perl trying to execute @PERL@. Small fixes. * Tests/README: added README file in Tests to explain how to make tests. 2003-06-16 Derek Price <derek@ximbiot.com> * NEWS: Add some of Patrice's features, note new AC/AM versions, note --enable-maintainer-mode requirement. * Makefile.am (all): Remove automake supplied target. (texi2html): Update dependencies. (EXTRA_DIST): Update these. (MAINTAINER_CLEAN_FILES): Remove automatically included files. (TEXI2HTML): Remove unused variable. (AUTOMAKE_OPTIONS): Move to... * configure.in (AM_INIT_AUTOMAKE): ...here. (AC_ARG_PROGRAM): Remove call - AM_INIT_AUTOMAKE handles it. (T2H_VERSION): Rename to... (PACKAGE_VERSION): ...to avoid extra cruft since Autoconf already sets this automatically. (T2H_DATE): Rename to... (PACKAGE_DATE): ...this in keeping with Autoconf naming convention and set it automatically using mdate-sh. (extrasub): Remove uneeded cruft. (AM_MAINTAINER_MODE): Call this macro to make things easier on inexperienced users. (AC_OUTPUT): Move these files into... (AC_CONFIG_FILES): ...calls to this macro and update some calls to set the executable bit on files which need it. * check_texinfo.pl.in: s/@BANGPERL@/! @PERL@/g; * texi2html.1.in: s/@T2H_VERSION@/@PACKAGE_VERSION@/g; s/@T2H_DATE@/@PACKAGE_DATE@/g. * texi2html.init: Correct opening comment. * texi2html.pl: s/@BANGPERL@/! @PERL@/g; s/@T2H_VERSION@/@PACKAGE_VERSION@/g. * Tests/Makefile.am (test): Rename to... (check-local): ...this to conform with Automake requirements & GNU standards. (clean): Rename to... (clean-local): ...for compatibility with Automake. * Makefile.in: Regenerated. * aclocal.m4: Ditto. * configure: Ditto. * Tests/Makefile.in: Ditto. * doc/Makefile.in: Ditto. 2003-06-16 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl: @include replaced by an empty line no end of line after last line when expanding macros include of files within lines expanded from macros happen at the right place better handling of format command in section names and of empty raw formats (like @html@end html) * Tests/*: sync with code 2003-05-20 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl, texi2html.init: split pass_texi in 2 pass. pass_texi rearranges texi expanding macros and values, removing comments. pass_structure remove unneeded empty lines and find out the structure of the document. use a different formatting for menu entries in other environments than menus. cleaning of code. use close_stack in all the passes to close environments not rightly closed. Fix some places where stack wasn't closed rightly. New direction, 'NodeNext' and 'NodePrev' which contains the prev node and next node which may be different from Next and Prev for sections. use style font-size:smaller in pre instead of <font> for smallexample and friends to produce valid html. spaces and arguments following commands are removed or kept in the same way than makeinfo does. * Tests/*: add tests for environments not closed. Sync with code. 2003-05-09 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl, texi2html.init: refs to other manuals conforms to makeinfo with separated files for nodes. If $T2H_NODE_FILES (-node-files) is true one file per node is created which redirects to the real file or is the node file (if T2H_SPLIT at node), to allow for cross manual references. Add a T2H_NO_TEXI hash similar with T2H_HREF, T2H_NODES... and T2H_THISDOC{title_no_texi} to have a texi free and thus html free text for nodes/sections/title to be used in the <title> which element which cannot contain other html elements. Also usefull for files with node names generation. t2h_set_body_text and t2h_protect_html put in texi2html.init to be able to make changes more easily. $T2H_TOC_LIST_STYLE is used for style in toc. Makes customisation easier too. * examples/html32.init: init file for html 3.2 generation * Tests/test.sh: add validation * Tests/*: tests for files with node names generation 2003-05-07 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl, texi2html.init: put a label in splitted index. splitted indices which are not at the level of splitting are kept in the same file but in different sections. different horizontal rules are global variables. functions formatting index summary and index entry split between a function in texi2html.pl and smaller functions doing the real formatting in texi2html.init. no formatting is done in texi2html.init. heading appears in documents with only one section. if $T2H_SEPARATED_FOOTNOTES is false (-noseparated_footnotes) the footnotes are on the page they appear. More possibility of customization of footnotes (insert things before and after each footnotes and all footnotes). use top file for the top element even when there is no @top section. when there is a top element and splitting, no other element than the top element appear in the top file. * examples/makeinfo.init: format footnotes like makeinfo * examples/xhtml.init: init file for xhtml * Tests/test.sh: little fixes * Tests/*: all tex stuff taken from verbatim_html and put in tex.texi. tests for index entries in top and before top. tests for documents with only one section or node or no node. 2003-05-02 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl, texi2html.init: 3 split commands: split at chapter, section or for every node (previously node and section where the same than node now). specific section footer. find prev and next like makeinfo. new directions, for nodes: NodeUp (up for node) and Following (next node in reading order). if in detailmenu menu entries are not used to find next and prev. only one Top in nodes and anchors. Any case combination accepted for any reference. don't close { when not associated with an @command. reintroduced code for counting words. new possibilities for buttons. If this is a ref to a scalar, the text appears in navigation. If it is an array, the first element is a direction used for the href, the second element is a scalar ref for the text (see makeinfo.init in examples for an example). * Tests/*: test for recursive nodes references and other little tests * examples/*: new directory for examples of config files. There is a file which tries to have an output which looks like makeinfo --html output (makeinfo.init). 2003-04-30 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl, texi2html.init: add the node as element when there is a @printindex split accross pages between node and section. * Tests/*: tests for documents with indices in top and between node and section. 2003-04-29 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl, texi2html.init: add $T2H_MENU_SYMBOL before nodes in menu and optionnaly before unnumbered section names in menu entry. next are not menu childs but next node in menu. it is possible not to have next or prev for node. any case combination of top is accepted in nodes, menus and nodes directions. Not changed in anchors and refs (makeinfo shows that kind of inconsistencies too). the top_element it the @top section, then the Top node and last the first element. '(file) node' and '(file)' accepted in menus and nodes references. better looking verbose output. * Tests/*: tests for documents without sections and double top 2003-04-28 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl, texi2html.init: No heading for top, as print_Top allready does it. if $T2H_USE_NODES (command line -use-nodes) is set, the nodes are used as sections when they are not associated with a section. find sections structure before handling nodes. no more use of menu level for structuring. @html sections don't close paragraphs. * Tests/*: tests for document structure. Sync with code. 2003-04-23 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl: when there is no section nodes are used instead * .cvsignore: add autom4te-2.53.cache and check_texinfo.pl * Tests/.cvsignore: create .cvsignore for Tests * Tests/ccvs: update to latest cvs manual 2003-04-22 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl: constants declared early as they are used in texi2html.init (at least $WARN is used) * Makefile.in, Tests/Makefile.in, Tests/Makefile.am: add .passfirst and .2 files in regenerate and clean * Tests/*: results of tests added 2003-04-10 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl, texi2html.init: labels were put 2 times in special sections (Top, about, toc...). in vtable, ftable and table, even with an empty first item we begin a <dd> as only <dd> and <dt> are allowed to follow <dl>. Right labels are put in special sections and files are omitted when the href is on the same file. change œ to œ and Œ to Œ (as tidy do) * Tests/*/nodetest.texi: test for more simple special commands 2003-04-09 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl, texi2html.init: formatting put in texi2html.init hrefs to anchors and index entries which are in footnotes are right scan_texi changed to have a stack verbose and debug goes to STDERR unusefull empty lines removed new option -dump_texi used to debug, dumps the result of pass_texi to a file menu_comments are always preformatted better handling of @math and @sc * Tests/*: a little more things tested. 2003-04-04 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl, texi2html.init: deffn and the like better handled preformatted sections are closed when there is a new format and reopened right after the format such that there is no validation error. The preformatted state is kept within menu, deff body, simple formats, tables, with tt instead of pre for terms, as pre isn't allowed in dt, but not in indices. simple macros are better handled when texi macros are removed or in preformatted sections. copying/end copying and insertcopying handled @head_lines containing things which should be before the navigation panel are used to get the labels for elements. first page of index is handled like a normal format * Tests/*: more tests for imbrications. 2003-04-02 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl: footnotes better handled, they have a separated stack, state and text. footnotes, anchors and refs can be mixed with better results. $value{_title}... have only their texinfo expanded during pass_texi, including values, macros and so on and the html is generated during pass_text. * Tests/*: minor changes, more tests. 2003-04-02 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl: macros splitted by 3 paragraphs are better handled. more isolation of formatting. better generation of index keys from commands, with more macros replaced by the right letter or symbol. better handling of @things{} in preformatted sections. preformatted sections handled with a new format, preformatted (similar with what is done for paragraphs). Some validation errors avoided. commands for tables are handled. index entries have the right file/id from their place. The files are omitted from hrefs when the href points to the same file. * Tests/*: formatting/imbrications.texi added. Sync with code. 2003-03-27 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl, texi2html.init: rewrite of the parsing of texi and of the handling of sectionning. pass0 is now pass_texi. It still only generates texinfo. pass_texi now also collects informations from sectionning commands index entries, printindex commands. pass1 through pass4 are now in just one pass, pass_text. between pass_texi and pass_text, the information is used to figure out the document and indices structure. pass_text reparses the texinfo generated by pass_texi and produces html. All the formatting is done in isolated subroutines such that it is easy to change the formatting witout bothering with the parsing. pass_text uses scan_line to process a line. A stack is used which holds opened macros and formats. Thus the html is always closed and should be valid. The document structure seems right with this approach, unnumbered sections are at the right level and indices don't break the document structure anymore. * Tests/*: more tests for the @macros. Other minor modifications. sync with new code. 2003-03-06 Patrice Dumas <dumas@centre-cired.fr> * T2h_i18n.pm: added the licence * texi2html.pl, texi2html.init, check_texinfo.pl.in: check function put in check_texinfo.pl.in. T2H_EXPAND is now an array such that more than one type may be expanded * texi2html.pl: added a new pass before the other ones, pass0 and a function scan_line0 used in that pass. During that pass the ifhtml, ifnot*, the comments and multiple empty lines, the macros, values and includes are handled. No html is generated. the different things that are expanded can now be within a line and not necessarily at the begining of the line. The handling of values and macros is not changed. scan_line handles more constructs (newlines (still bugged), verbatim, html and tex, deffn (incomplete)). new function close_stack which might be used to close the things forgotten by users or between paragraphs. new function substitute_text which uses scan_line to render arbitrary text. little improvements in menu comments handling. accent_map/do_accent should handle all the accents. * Tests/test.sh: minor changes. * Tests/*: regenerated tests to keep in sync. added formatting/imbrications.texi to test for imbricated things. * configure, configure.in: added check_texinfo.pl.in. 2003-02-28 Patrice Dumas <dumas@centre-cired.fr> * texi2html.pl, texi2html.init, T2h_i18n.pm: options specifications moved from texi2html.init to texi2html.pl, such that texi2html.init resembles a regular user init file. internationalization move from texi2html.init to T2h_i18n.pm. * configure.in: added substitution of T2h_i18n.pm within texi2html.pl * configure, doc/Makefile.in, Makefile.in, aclocal.m4, Tests/Makefile.in: regenerated with automake-1.6.3, autoconf-2.53 2003-02-24 Patrice Dumas <dumas@centre-cired.fr> * Tests: small fixes, more tests showing brokeness of texi2html for some features and info and tex differences. A change in texinfo.txi to permit handling of verb despite some substitutions have allready been done * texi2html.pl: add comment about the formats in texinfo 4.5 setlocale is used in case of tests to avoid change in ordering of indices while testing against a reference file footnotes refs and image handled by parse_line, which calls a sub routine (do_footnote, do_ref or do_image). for footnotes, _$doc_num instead of $docu_doc appended tp keep track of the file of the footnote, such that it is easier to match. instead of <!--::${section}::--> 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 <dumas@centre-cired.fr> * 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 allready 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 allready been substituted, it cannot give the right result easily) 2003-02-19 Patrice Dumas <dumas@centre-cired.fr> * 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 <dumas@centre-cired.fr> * 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 <dumas@centre-cired.fr> * 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 <dumas@centre-cired.fr> * 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 <dumas@centre-cired.fr> * 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 <dumas@centre-cired.fr> * 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 <dumas@centre-cired.fr> * 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 <dumas@centre-cired.fr> * 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 <dumas@centre-cired.fr> * texi2html.pl: fix nesting of multi line style macros (previously, @kbd{@code{my thing}} became <kbd>my thing<kbd><code></code> (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 <dumas@centre-cired.fr> * 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 <dumas@centre-cired.fr> * 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 <dumas@centre-cired.fr> * 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 <dumas@centre-cired.fr> * 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 <dumas@centre-cired.fr> * texi2html.pl: Suppress warnings for undefined patterns or variables when running with -w 2003-01-08 Patrice Dumas <dumas@centre-cired.fr> * 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 <oberon@umich.edu> * 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ä <ville.skytta@xemacs.org> through Adrian Aichner <adrian@xemacs.org>.) 2002-06-08 Derek Price <oberon@umich.edu> * 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 <oberon@umich.edu> * 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 <adrian@xemacs.org> * 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 <adrian@xemacs.org> * 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 <adrian@xemacs.org> * 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 <dprice@collab.net> * 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 <dprice@collab.net> * doc/.cvsignore: Add several files generated by pdftex. 2001-09-18 Derek Price <dprice@collab.net> * 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 <dprice@collab.net> * 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 <dprice@collab.net> * texi2html.init (T2H_WORDS_FR, MONTH_NAMES_FR): Add French translations. (Patch from Dumas Patrice <dumas@centre-cired.fr>.) 2001-09-17 Derek Price <dprice@collab.net> * texi2html.1.in (AVAILABILITY): Add detail. 2001-09-17 Derek Price <dprice@collab.net> * .cvsignore: Add `texi2html.1'. 2001-09-17 Derek Price <dprice@collab.net> * texi2html.1: Removed this file since it is generated by configure. 2001-08-10 Derek Price <dprice@collab.net> * INTRODUCTION: Fix email addresses and links. * README: Ditto. * NEWS: Update. 2001-08-10 Derek Price <dprice@collab.net> * doc/Makefile.am: Made a few changes so we can build in a dir other than $(srcdir). (Bug report from Richard Pixley <rpixley@zhone.com>.) * 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 <adrian@xemacs.org> * 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 <adrian@xemacs.org> * 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 <adrian@xemacs.org> * 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 <adrian@xemacs.org> * 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 <adrian@xemacs.org> * 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 <adrian@xemacs.org> * texi2html.pl (pass1): Generate valid HTML for <a name=...> anchors produced for @itemx?. 2000-11-05 Adrian Aichner <adrian@xemacs.org> * texi2html.init: Eliminate bare-word use of variable T2H_OPTIONS. 2000-11-05 Adrian Aichner <adrian@xemacs.org> * 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 <br> after <table>. * 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 <p> before @printindex, <dl>, and </dl>. * texi2html.pl (pass2): Ditto. Quote <table> attributes. * texi2html.pl (pass3): Ditto. * texi2html.pl (pass4): Ditto. Remove </p> 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 <adrian@xemacs.org> * 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 <p> before HTML <table> and HTML <dl>. 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 <sunshine@sunshineco.com> * 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 <obachman@mathematik.uni-kl.de> * applied patches/fixes from Eric Marsden <emarsden@mail.dotcom.fr>. o DTD now at the beginning of the document o default language to 'en' wasn't working which led to empty LANG="" in <BODY> o missing </FONT> in footer blurb o when the ToC was generated in some cases, the code used <UL></UL> to indent, but didn't have any <LI> tags. <blockquote> is now used in such cases, instead. 2000-09-11 Eric Sunshine <sunshine@sunshineco.com> * 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 "`<samp>perl</samp>'", whereas it used to expand to "<samp>`perl'</samp>". In my tests, this change results in more aesthetically pleasing rendered output on various browsers. 2000-08-16 Olaf Bachmann <obachman@mathematik.uni-kl.de> * texi2html.pl: Bug fix from: "joseph" <joseph@freenet.de> MySimple.pm should be 'require'd, but checked is still texi2html.init. 2000-08-14 Karl Heinz Marbaise <khmarbaise@gmx.de> * 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 <obachman@mathematik.uni-kl.de> * 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 <obachman@mathematik.uni-kl.de> * 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 <khmarbaise@gmx.de> * Texinfo-Documentation: - fixes from Peter Moulder <pjm@bofh.asn.au> 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 <obachman@mathematik.uni-kl.de> * 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 <obachman@mathematik.uni-kl.de> * primitive support for some toher def stuff (needs to be fixed, though) * Distribution: Incorporated texi2html.texi authored by Karl Heinz Marbaise <khmarbaise@gmx.de> (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 <obachman@mathematik.uni-kl.de> * 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 <obachman@mathematik.uni-kl.de> * texi2html.pl: new command-line options: -nonumber, -nomenu to unset the default -number -menu * texi2html.pl: As suggested by "Richard Y. Kim" <ryk@coho.net>: insert <A NAME="#nodename"></A> for each nodename in a document (nodename is exactly as in texinfo source). * From: "Richard Y. Kim" <ryk@coho.net> 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 <FRAME> 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 <obachman@mathematik.uni-kl.de> * released version 1.63 * texi2html.init (T2H_DEFAULT_print_page_head): make <html> tag very first thing in every file * fixed macro quoting and special cases of macro invocation * from "Richard Y. Kim" <ryk@coho.net>: 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 <obachman@mathematik.uni-kl.de> * texi2html.pl: for def_map stuff <A NAME=..> before output * texi2html.pl: applied patch from "Richard Y. Kim" <ryk@ap.com> 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 <obachman@mathematik.uni-kl.de> * texi2html.pl: Applied patches of <sunshine@sunshineco.com> to make texi2html work with older versions of Perl 2000-04-13 Olaf Bachmann <obachman@mathematik.uni-kl.de> * 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 <obachman@mathematik.uni-kl.de> * 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 <obachman@mathematik.uni-kl.de> * texi2html.pl: fixed two small bugs reported by sunshine@sunshineco.com (</TR> in menu, <P> 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 <pjm@bofh.asn.au> * 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 <obachman@mathematik.uni-kl.de> * 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 <obachman@mathematik.uni-kl.de> * fixed bug in creation of index entries (eval of section names) * fixed table within itemize and parapgraphs * surpress <P></P> when within <pre> * allow @include within top node 2000-04-03 Olaf Bachmann <obachman@mathematik.uni-kl.de> * 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 <obachman@mathematik.uni-kl.de> * 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 <obachman@mathematik.uni-kl.de> * 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_<name> = \&T2H_DEFAULT_<name>. * texi2html.init: Incorporated changed of Peter Moulder: 2000-03-27 Olaf Bachmann <obachman@mathematik.uni-kl.de> * 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 <reiter@netspace.net.au> * 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 <obachman@mathematik.uni-kl.de> * texi2html.pl: center @image by default, can be overwritten by T2H_CENTER_IMAGE (sunshine@sunshineco.com) # vim:tabstop=8:shiftwidth=8