texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: * tp/Texinfo/Convert/HTML.pm (%html_default_comma


From: Patrice Dumas
Subject: branch master updated: * tp/Texinfo/Convert/HTML.pm (%html_default_commands_args): rename %default_commands_args as %html_default_commands_args.
Date: Sun, 24 Mar 2024 10:30:14 -0400

This is an automated email from the git hooks/post-receive script.

pertusus pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 96a21713f3 * tp/Texinfo/Convert/HTML.pm (%html_default_commands_args): 
rename %default_commands_args as %html_default_commands_args.
96a21713f3 is described below

commit 96a21713f30b3694f498c035752b100865d1d73d
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sun Mar 24 15:29:59 2024 +0100

    * tp/Texinfo/Convert/HTML.pm (%html_default_commands_args): rename
    %default_commands_args as %html_default_commands_args.
    
    * doc/html_default_commands_args.texi, doc/Makefile.am
    (texinfo_TEXINFOS, TXI_MODULES_ENV, html_default_commands_args.texi)
    (EXTRA_DIST), doc/texi2any_api.texi, tp/Texinfo/Convert/HTML.pm,
    doc/generate_html_doc_texi.pl: generate texinfo table of HTML
    default commands args based on %html_default_commands_args from
    Texinfo/Convert/HTML.pm in the doc/html_default_commands_args.texi
    file and include in texi2any_api.texi.
    
    * doc/texi2any_api.texi, tp/init/documentation_examples.pm,
    tp/t/init_files_tests.t ($documentation_examples_text): add more
    examples, add examples in documentation_examples.pm.
---
 ChangeLog                                          |  17 +
 doc/Makefile.am                                    |  15 +-
 doc/generate_html_doc_texi.pl                      |  83 +++
 doc/html_default_commands_args.texi                |  23 +
 doc/texi2any_api.texi                              |  66 +-
 tp/Texinfo/Common.pm                               |   2 +-
 tp/Texinfo/Convert/HTML.pm                         |  19 +-
 tp/init/documentation_examples.pm                  | 271 +++++++-
 tp/maintain/setup_converters_code_tables.pl        |   2 +-
 tp/t/init_files_tests.t                            |  23 +-
 .../init_files_tests/documentation_examples.pl     | 711 +++++++++++++++++++--
 .../res_html/documentation_examples_fot.html       |  17 +-
 .../documentation_examples/res_html/index.html     |  27 +-
 .../res_html/prepended_to_filenames-Index.html     |  71 ++
 .../res_html/prepended_to_filenames-chapter.html   |  39 +-
 .../res_html/prepended_to_filenames-my-node.html   |  21 +-
 .../documentation_examples_texi2html.pl            | 711 +++++++++++++++++++--
 .../res_html/documentation_examples_texi2html.html | 164 ++++-
 18 files changed, 2063 insertions(+), 219 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index e42a30e8cf..340653b981 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,20 @@
+2024-03-24  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/Convert/HTML.pm (%html_default_commands_args): rename
+       %default_commands_args as %html_default_commands_args.
+
+       * doc/html_default_commands_args.texi, doc/Makefile.am
+       (texinfo_TEXINFOS, TXI_MODULES_ENV, html_default_commands_args.texi)
+       (EXTRA_DIST), doc/texi2any_api.texi, tp/Texinfo/Convert/HTML.pm,
+       doc/generate_html_doc_texi.pl: generate texinfo table of HTML
+       default commands args based on %html_default_commands_args from
+       Texinfo/Convert/HTML.pm in the doc/html_default_commands_args.texi
+       file and include in texi2any_api.texi.
+
+       * doc/texi2any_api.texi, tp/init/documentation_examples.pm,
+       tp/t/init_files_tests.t ($documentation_examples_text): add more
+       examples, add examples in documentation_examples.pm.
+
 2024-03-23  Patrice Dumas  <pertusus@free.fr>
 
        * tp/init/documentation_examples.pm: use pl instead of de, with
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 544fe9cd72..511c51490e 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -16,7 +16,7 @@ AM_MAKEINFOFLAGS = -c INFO_SPECIAL_CHARS_WARNING=0
 SUBDIRS = tp_api refcard
 
 info_TEXINFOS = texinfo.texi info-stnd.texi texi2any_api.texi
-texinfo_TEXINFOS = pod2texi.texi
+texinfo_TEXINFOS = pod2texi.texi html_default_commands_args.texi
 DISTCLEANFILES = texinfo.info* info-stnd.info* texi2any_api.info*
 
 TEXINFO_TEX = texinfo.tex
@@ -43,6 +43,11 @@ pod2texi.texi: $(pod2texi_pl)
        $(PERL) -I $(top_srcdir)/Pod-Simple-Texinfo/lib/ -I $(top_srcdir)/tp/ 
$(top_srcdir)/Pod-Simple-Texinfo/pod2texi.pl --base-level=subsubsection 
--no-section-nodes --headings-as-sections $(pod2texi_pl) > /dev/null
 endif
 
+TXI_MODULES_ENV = srcdir="$(srcdir)"; export srcdir;
+
+html_default_commands_args.texi: $(top_srcdir)/tp/Texinfo/Convert/HTML.pm 
$(srcdir)/generate_html_doc_texi.pl
+       $(TXI_MODULES_ENV) $(PERL) $(srcdir)/generate_html_doc_texi.pl 
$(srcdir)/html_default_commands_args.texi
+
 # We'd also like to use something like this, but Automake calls
 # "install-info" directly.
 # INSTALL_INFO = $(top_builddir)/$(native_tools)/util/ginstall-info
@@ -54,10 +59,10 @@ TXI_XLATE = txi-ca.tex txi-cs.tex txi-de.tex txi-en.tex 
txi-es.tex \
            txi-zh.tex
 
 # Include our texinfo.tex, not Automake's.
-EXTRA_DIST = epsf.tex texinfo.tex \
-             fdl.texi \
-            $(man_MANS) $(TXI_XLATE) \
-            texinfo-tex-test.texi texinfo-tex-test.WIDOWs \
+EXTRA_DIST = epsf.tex fdl.texi generate_html_doc_texi.pl \
+             texinfo.tex \
+             $(man_MANS) $(TXI_XLATE) \
+             texinfo-tex-test.texi texinfo-tex-test.WIDOWs \
              texinfo-ja.tex short-sample-ja.texi \
              texinfo-zh.tex short-sample-zh.texi
 
diff --git a/doc/generate_html_doc_texi.pl b/doc/generate_html_doc_texi.pl
new file mode 100755
index 0000000000..14dc3c4041
--- /dev/null
+++ b/doc/generate_html_doc_texi.pl
@@ -0,0 +1,83 @@
+#! /usr/bin/env perl
+# generate_html_doc_texi.pl: use perl data, mainly manually
+# generated hashes, to generate Texinfo documentation code.
+
+# Copyright 2023-2024 Free Software Foundation, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License,
+# or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+use strict;
+
+use warnings;
+
+use if $] >= 5.014, re => '/a';
+
+# for file names portability
+use File::Spec;
+# for fileparse
+use File::Basename;
+
+BEGIN
+{
+  # do not load XS code, to avoid both depending on and generating
+  # XS code.  Also we do not want to have to find XS object files.
+  $ENV{'TEXINFO_XS'} = 'omit';
+  # NOTE we do not use Texinfo::ModulePath as it may not have been
+  # created yet, as tp/Texinfo/XS may be processed before tp.
+  # Also we have less modules to find, only pure perl code.
+  my ($real_command_name, $command_directory, $command_suffix)
+   = fileparse($0, '.pl');
+  my $updir = File::Spec->updir();
+  # tp director
+  my $tp_srcdir;
+  if (defined($ENV{'srcdir'})) {
+    # srcdir is doc/
+    $tp_srcdir = File::Spec->catdir($ENV{'srcdir'}, $updir, 'tp');
+  } else {
+    $tp_srcdir = File::Spec->catdir($command_directory, $updir, 'tp');
+  }
+  unshift @INC, $tp_srcdir;
+  my $lib_dir = File::Spec->catdir($tp_srcdir, 'maintain');
+  # we ignore --with-external-*
+  unshift @INC, (File::Spec->catdir($lib_dir, 'lib', 'libintl-perl', 'lib'));
+  unshift @INC, (File::Spec->catdir($lib_dir, 'lib', 'Unicode-EastAsianWidth', 
'lib'));
+  unshift @INC, (File::Spec->catdir($lib_dir, 'lib', 'Text-Unidecode', 'lib'));
+}
+
+use Texinfo::Convert::HTML;
+
+my $result = '';
+foreach my $cmdname (sort(keys(
+         %Texinfo::Convert::HTML::html_default_commands_args))) {
+  my $args_spec = 
$Texinfo::Convert::HTML::html_default_commands_args{$cmdname};
+  my $line = '@item @code{@@'.$cmdname.'}';
+  foreach my $spec (@$args_spec) {
+    $line .= ' @tab '.join(', ', @$spec);
+  }
+  $line .= "\n";
+  $result .= $line;
+}
+
+my $html_command_args_spec_table_file = $ARGV[0];
+die "Need a file for HTML arguments table\n"
+   if (!defined($html_command_args_spec_table_file));
+
+open (OUT, '>', $html_command_args_spec_table_file)
+  or die "Open $html_command_args_spec_table_file: $!\n";
+
+print OUT $result;
+
+close(OUT);
+
+
diff --git a/doc/html_default_commands_args.texi 
b/doc/html_default_commands_args.texi
new file mode 100644
index 0000000000..592b6da0c7
--- /dev/null
+++ b/doc/html_default_commands_args.texi
@@ -0,0 +1,23 @@
+@item @code{@@abbr} @tab normal @tab normal, string
+@item @code{@@acronym} @tab normal @tab normal, string
+@item @code{@@anchor} @tab monospacestring
+@item @code{@@email} @tab url, monospacestring @tab normal
+@item @code{@@footnote} @tab 
+@item @code{@@image} @tab monospacestring, filenametext, url @tab filenametext 
@tab filenametext @tab normal, string @tab filenametext
+@item @code{@@inforef} @tab monospace @tab normal @tab filenametext
+@item @code{@@inlinefmt} @tab monospacetext @tab normal
+@item @code{@@inlinefmtifelse} @tab monospacetext @tab normal @tab normal
+@item @code{@@inlineifclear} @tab monospacetext @tab normal
+@item @code{@@inlineifset} @tab monospacetext @tab normal
+@item @code{@@inlineraw} @tab monospacetext @tab raw
+@item @code{@@item} @tab 
+@item @code{@@itemx} @tab 
+@item @code{@@link} @tab monospace @tab normal @tab filenametext
+@item @code{@@printindex} @tab 
+@item @code{@@pxref} @tab monospace @tab normal @tab normal @tab filenametext 
@tab normal
+@item @code{@@ref} @tab monospace @tab normal @tab normal @tab filenametext 
@tab normal
+@item @code{@@sp} @tab 
+@item @code{@@uref} @tab url, monospacestring @tab normal @tab normal
+@item @code{@@url} @tab url, monospacestring @tab normal @tab normal
+@item @code{@@value} @tab monospacestring
+@item @code{@@xref} @tab monospace @tab normal @tab normal @tab filenametext 
@tab normal
diff --git a/doc/texi2any_api.texi b/doc/texi2any_api.texi
index a45572f92a..d40b3793cf 100644
--- a/doc/texi2any_api.texi
+++ b/doc/texi2any_api.texi
@@ -1101,7 +1101,7 @@ Texinfo @@-commands (@samp{accesskey}, @samp{rel} and 
@samp{example}).
 for any context.
 @end defun
 
-For example, to set the @samp{Up} button string to be translated
+For example, to set the @samp{Up} @samp{button} to be translated
 as @samp{Higher}, use:
 @example
 texinfo_register_direction_string_info('Up', 'button', undef, 'Higher');
@@ -1343,11 +1343,11 @@ The converter can also be used for in-document strings 
translation.
 
 
 @node User Defined Functions Common Tasks
-@chapter Error Reporting, Customization Variables and Paths Manipulation in 
User Defined Functions
+@chapter Error Reporting, Customization and Paths Manipulation with Converter
 
 Some tasks common to all the user-defined functions related
 to error reporting, customization variables handling and paths and
-URL manipulation are described in this section.
+URL manipulation are described in this chapter.
 
 
 @node Error Reporting in User Defined Functions
@@ -1590,7 +1590,7 @@ URL argument.
 
 for example
 @example
-return $converter->html_attribute_class('a', [$cmdname])
+return $converter->html_attribute_class('a', ['myurl'])
  .' href="'.$converter->url_protect_url_text($url)."\">$text</a>";
 @end example
 @end deftypefun
@@ -1983,12 +1983,12 @@ the element class was seen is registered by the 
converter.
 
 Examples of use:
 @example
-my $open = $converter->html_attribute_class('span', ['category-def']);
-$category_result = $open.'>'.$category_result.'</span>'
+my $open = $converter->html_attribute_class('span', ['math-arg']);
+my $arg_result = $open.'>'.$arg.'</span>'
   if ($open ne '');
 
 my $result = $converter->html_attribute_class('em', [$cmdname, 'jax_p'])
-     . '>' . $content . '</em>';
+   . '>' . $arg_result . '</em>';
 @end example
 
 
@@ -2021,7 +2021,7 @@ information, taken from the general information 
(@pxref{Converter General
 Information}), using @code{get_info}:
 @example
 my $non_breaking_space = $converter->get_info('non_breaking_space');
-my $result = '<tr><td>' .$non_breaking_space. '</tr></td>'."\n";
+my $result = '<tr><td>' .$non_breaking_space. '</tr></td>';
 @end example
 In that case, there is nothing more to do.
 
@@ -2246,7 +2246,7 @@ texi2any_internals}).
 my $pre_classes = $converter->preformatted_classes_stack();
 foreach my $pre_class (@@$pre_classes) @{
   if ($Texinfo::Commands::preformatted_code_commands@{$pre_class@}) @{
-    $result = '<code>' .$result. '</code>';
+    $result = '<var>' .$result. '</var>';
     last;
   @}
 @}
@@ -2720,7 +2720,7 @@ could be obtained with:
 $counter++;
 my $anchor_id = 'anchor_id_' . $counter;
 my $anchor_with_counter
-  = &@{$converter->formatting_function('format_separate_anchor')@}
+  = &@{$converter->formatting_function('format_separate_anchor')@}(
                              $converter, $anchor_id, 'myanchor_class');
 @end example
 
@@ -2767,7 +2767,7 @@ as selector for the formating function for 
@code{def_line},
 
 All the command elements can have a conversion function and an opening
 function that can be registered to be called by the converter.  Some commands
-also require more specific functions for their formatting.
+also require more specific information and functions for their formatting.
 
 
 @node Command Tree Element Conversion Functions
@@ -2778,7 +2778,7 @@ arguments and contents have been formatted, are 
registered with
 @code{texinfo_register_command_formatting}:
 
 @defun texinfo_register_command_formatting ($command_name, \@ampchar{}handler)
-@var{$command_name} is an @@-command name, with the leading @@.
+@var{$command_name} is an @@-command name, without the leading @@.
 @var{\&handler} is the user defined function reference.
 @end defun
 
@@ -2840,9 +2840,14 @@ for @code{@@footnote} argument which is not directly 
converted where the
 footnote command is, or multiple, for example for the fourth argument of
 @code{@@image} which is both available as @samp{normal} and
 @samp{string}.
+@xref{HTML command arguments formatting}, for the converted arguments
+contexts.  @@-commands not specified in the table have their arguments in
+@samp{normal} context.
 
 For example, @code{$args->[0]->@{'normal'@}} is the first argument converted in
-normal context.
+normal context.  It should be present for most @@-commands with arguments,
+but not for all, for example @code{@@anchor} argument is only available
+as @code{monospacestring}.
 
 @var{$content} is the @@-command formatted contents.  It corresponds to the
 contents of block @@-commands, and to Texinfo code following @code{@@node},
@@ -2852,6 +2857,15 @@ sectioning commands, @code{@@tab} and @code{@@item} in 
@code{@@enumerate} and
 The @var{$text} returned is the result of the @@-command conversion.
 @end deftypefn
 
+
+
+@float Table, HTML command arguments formatting
+@multitable {@code{@@inlinefmtifelse}} {monospacestring} {filenametext} 
{filenametext} {filenametext} {filenametext}
+@include html_default_commands_args.texi
+@end multitable
+@caption{HTML command arguments formatting contexts in conversion function 
argument}
+@end float
+
 To call a conversion function from user defined code, the function reference
 should first be retrieved using @code{command_conversion}:
 
@@ -3018,7 +3032,7 @@ may be used to get the node or anchor element it points 
to:
 @example
 my $arg_node = $xref_tree_element->@{'args'@}->[0];
 if ($arg_node and $arg_node->@{'extra'@}
-    and defined($arg_node->@{'extra'@}->@{'normalized'@}) @{
+    and defined($arg_node->@{'extra'@}->@{'normalized'@})) @{
   my $target_node
     = $converter->label_command($arg_node->@{'extra'@}->@{'normalized'@});
 @}
@@ -3074,12 +3088,11 @@ Return text in string context.  @xref{Init File 
Expansion Contexts}.
 @end table
 @end deftypefun
 
-Using those functions, hyperlink using a node element name and associated href
-can be constructed as:
+Using those functions, a target element hyperlink can be constructed as:
 @example
-my $name = $converter->command_text($node_element);
-my $href = $converter->command_href($node_element);
-my $hyperlink = "<a href=\"$href\">$name</a>";
+my $target_text = $converter->command_text($target_element);
+my $target_href = $converter->command_href($target_element);
+my $hyperlink = "<a href=\"$target_href\">$target_text</a>";
 @end example
 
 To get a Texinfo tree of elements that may be used as link description, use
@@ -3105,11 +3118,7 @@ associated sectioning element in addition to linking to 
the index entry
 location.  For example:
 
 @example
-my $target_element = $index_entry->@{'entry_element'@};
-my $entry_href = $converter->command_href($target_element);
-my $entry_text = $converter->convert_tree($target_element);
-my $entry_link = "<a href=\"$entry_href\">$entry_text</a>";
-
+my $entry_root_link = '';
 my $associated_command
  =  $converter->command_root_element_command($target_element);
 if ($associated_command) @{
@@ -3126,11 +3135,9 @@ if ($associated_command) @{
 @end group
 @} elsif (defined($associated_command_text)) @{
   $entry_root_link = $associated_command_text;
-@} else @{
-  $entry_root_link = '';
 @}
 
-my $formatted_entry = "<td><tr>$entry_link</tr>"
+my $formatted_entry = "<td><tr>$hyperlink</tr>"
                   ."<tr>$entry_root_link</tr></td>\n";
 @end example
 
@@ -3697,7 +3704,8 @@ the number of selectors in the definition (possibly none).
 For example, continuing with the @samp{color} shared information data
 defined above, with one selector variable:
 @example
-my $number = $converter->get_shared_conversion_state('quotation',
+my $color_number
+   = $converter->get_shared_conversion_state('quotation',
                                                'color', 'purple1');
 @end example
 
@@ -3831,7 +3839,7 @@ Texinfo tree elements.
   $converter->cdt('Generated @@emph@{@@today@{@}@} using '
    .'@@uref@{@{homepage@}, @@emph@{@{program@}@}@}.',
       @{ 'homepage' => @{ 'text' => $converter->get_conf('PACKAGE_URL') @},
-        'program' => @{ 'text' => $converter->get_conf('PROGRAM') @}@}));
+        'program' => @{ 'text' => $converter->get_conf('PROGRAM') @}@});
 @end example
 
 An example of combining conversion with translation:
diff --git a/tp/Texinfo/Common.pm b/tp/Texinfo/Common.pm
index 28408aeb3a..e12970efc6 100644
--- a/tp/Texinfo/Common.pm
+++ b/tp/Texinfo/Common.pm
@@ -3063,7 +3063,7 @@ in that index (1-based) as second element.  In general, 
the I<$index_entry_info>
 is an L<C<extra> I<index_entry>|Texinfo::Parser/index_entry> associated to an 
element.
 
 The I<$index_entry> hash is described in L<Texinfo::Document/index_entries>.  
The
-I<$index_info> hash is described in LL<< 
C<Texinfo::Document::indices_information>|Texinfo::Document/$indices_information
 = $document->indices_information() >>.
+I<$index_info> hash is described in L<< 
C<Texinfo::Document::indices_information>|Texinfo::Document/$indices_information
 = $document->indices_information() >>.
 
 
 =item move_index_entries_after_items_in_tree($tree)
diff --git a/tp/Texinfo/Convert/HTML.pm b/tp/Texinfo/Convert/HTML.pm
index 60a0f100c8..13a8327eaa 100644
--- a/tp/Texinfo/Convert/HTML.pm
+++ b/tp/Texinfo/Convert/HTML.pm
@@ -3035,10 +3035,11 @@ my %default_code_types = (
 );
 
 # specification of arguments formatting
-# to obtain the same order of converting as in C, order for one argument
-# should be normal, monospace, string, monospacestring, monospacetext,
-#           filenametext, url, raw
-my %default_commands_args = (
+# to obtain the same order of conversion as in C, order for one argument
+# should be: normal, monospace, string, monospacestring, monospacetext,
+#            filenametext, url, raw
+# Also used to be converted automatically to Texinfo code for documentation.
+our %html_default_commands_args = (
   'anchor' => [['monospacestring']],
   'email' => [['url', 'monospacestring'], ['normal']],
   'footnote' => [[]],
@@ -3064,7 +3065,7 @@ my %default_commands_args = (
 );
 
 foreach my $explained_command (keys(%explained_commands)) {
-  $default_commands_args{$explained_command}
+  $html_default_commands_args{$explained_command}
      = [['normal'], ['normal', 'string']];
 }
 
@@ -13337,8 +13338,8 @@ sub _convert($$;$)
         if ($element->{'args'}) {
           $args_formatted = [];
           my @args_specification;
-          @args_specification = @{$default_commands_args{$command_name}}
-            if (defined($default_commands_args{$command_name}));
+          @args_specification = @{$html_default_commands_args{$command_name}}
+            if (defined($html_default_commands_args{$command_name}));
           my $spec_nr = scalar(@args_specification);
           my $arg_idx = -1;
           foreach my $arg (@{$element->{'args'}}) {
@@ -13351,8 +13352,8 @@ sub _convert($$;$)
               push @$args_formatted, undef;
               next;
             }
-            # NOTE here commands with empty array reference in
-            # array reference associated to command in default_commands_args
+            # NOTE here commands with empty array reference in array
+            # reference associated to command in html_default_commands_args
             # do not have $arg_spec reset to normal, such that their argument
             # is not converted here
             $arg_spec = ['normal'] if (!defined($arg_spec));
diff --git a/tp/init/documentation_examples.pm 
b/tp/init/documentation_examples.pm
index 35456bdef9..72b2690752 100644
--- a/tp/init/documentation_examples.pm
+++ b/tp/init/documentation_examples.pm
@@ -24,6 +24,10 @@ my %translations = (
 'fr' => {
 'error--&gt;' => {'' => 'erreur--&gt;',},
 'Higher' => {'Up direction button label' => 'Plus haut',},
+'The @emph{Table of Contents}' => {'contents section heading'
+              => '@result{} La @emph{Table des mati@`eres}',},
+'Forward' => {'Forward direction string'
+              => 'Vers l\'avant @result{}',},
 # ...
 },
 'de' => {
@@ -46,8 +50,8 @@ texinfo_register_no_arg_command_formatting('error', undef, 
undef, undef,
 texinfo_register_no_arg_command_formatting('equiv', undef, undef, undef,
                                          undef, 'is the @strong{same} as');
 
-$translations{'fr'}->{'is the @strong{same} as'}->{''}
-                                     = 'est la @strong{m@^eme} que';
+$translations{'fr'}->{'is the @strong{same} as'}
+    = {'' => 'est la @strong{m@^eme} que',};
 
 texinfo_register_style_command_formatting('sansserif', 'code', 0, 'normal');
 texinfo_register_style_command_formatting('sansserif', 'code', 0, 
'preformatted');
@@ -59,6 +63,10 @@ texinfo_register_upper_case_command('var', 1);
 texinfo_register_accent_command_formatting('dotless', 'nodot', 'ij');
 
 texinfo_register_direction_string_info('Up', 'button', undef, 'Higher');
+texinfo_register_direction_string_info('Forward', 'text', undef,
+                                       'Forward');
+texinfo_register_special_unit_info('heading', 'contents',
+                                   'The @emph{Table of Contents}');
 
 my $shown_styles;
 my $footnotestyle;
@@ -84,11 +92,29 @@ sub my_function_set_some_css {
   # CSS files, and CSS files parsing is done after the setup handler
   # is called.
   #print STDERR "all_included_rules: ".join('|', @$all_included_rules)."\n";
+
+  $converter->define_shared_conversion_state ('quotation', 'color',
+                                              ['string', 'integer']);
+  $converter->set_shared_conversion_state('quotation', 'color',
+                                          'special_black', 42);
+
   return 0;
 }
 
 texinfo_register_handler('setup', \&my_function_set_some_css);
 
+sub my_format_separate_anchor($$;$)
+{
+  my $converter = shift;
+  my $id = shift;
+  my $class = shift;
+
+  return $converter->html_attribute_class('p', [$class])." id=\"$id\"></p>";
+}
+
+texinfo_register_formatting_function('format_separate_anchor',
+                                     \&my_format_separate_anchor);
+
 sub my_email_formatting_function {
   my $converter = shift;
   my $cmdname = shift;
@@ -116,16 +142,76 @@ sub my_email_formatting_function {
   }
   $text = $mail_string unless ($text ne '');
 
+  my $tree = $converter->cdt('Generated @emph{@today{}} using '
+                   .'@uref{{homepage}, @emph{{program}}}.',
+           { 'homepage' => { 'text' => $converter->get_conf('PACKAGE_URL') },
+             'program' => { 'text' => $converter->get_conf('PROGRAM') }});
+  my $translated1 = $converter->convert_tree($tree);
+
+  my $explanation_result;
+  if ($converter->in_string()) {
+    $explanation_result = $mail_string;
+  } else {
+    $explanation_result = $converter->html_attribute_class('a', ['myurl'])
+     .' href="'.$converter->url_protect_url_text($mail_string)."\">$text</a>";
+  }
+  my $translated2 = $converter->convert_tree($converter->cdt(
+                                      '{explained_string} ({explanation})',
+                                {'explained_string' => {'type' => '_converted',
+                                                        'text' => 
$translated1},
+                                 'explanation' => {'type' => '_converted',
+                                               'text' => 
$explanation_result}}),
+                                  "convert explained $cmdname");
+
+  $text .= " $translated2;";
+
+  my $result;
   if ($converter->in_string()) {
     return "$mail_string ($text) $shown_styles, $footnotestyle";
   } else {
-    return $converter->html_attribute_class('a', [$cmdname])
+    $result = $converter->html_attribute_class('a', [$cmdname])
      ." href=\"mailto:$mail_string\";>$text</a> [$shown_styles, 
$footnotestyle]";
   }
+
+  if ($converter->in_preformatted_context()) {
+    my $pre_classes = $converter->preformatted_classes_stack();
+    foreach my $pre_class (@$pre_classes) {
+      if ($Texinfo::Commands::preformatted_code_commands{$pre_class}) {
+        $result = '<var>' .$result. '</var>';
+        last;
+      }
+    }
+  }
+  return $result;
 }
 
 texinfo_register_command_formatting('email', \&my_email_formatting_function);
 
+sub _convert_math_command($$$$)
+{
+  my $converter = shift;
+  my $cmdname = shift;
+  my $command = shift;
+  my $args = shift;
+
+  my $arg;
+  if ($args and $args->[0]) {
+    $arg = $args->[0]->{'normal'};
+  } else {
+    return '';
+  }
+
+  my $open = $converter->html_attribute_class('span', ['math-arg']);
+  my $arg_result = $open.'>'.$arg.'</span>'
+  if ($open ne '');
+  my $result = $converter->html_attribute_class('em', [$cmdname, 'jax_p'])
+   . '>' . $arg_result . '</em>';
+
+  return $result;
+}
+
+texinfo_register_command_formatting('math', \&_convert_math_command);
+
 # put here as it is in the documentation, but not used as the
 # final version is used, below.
 sub my_tree_element_convert_paragraph_type($$$$)
@@ -173,7 +259,182 @@ sub my_final_convert_paragraph_type($$$$)
   return "<p>".$prepended.$result."</p>";
 }
 
-texinfo_register_type_formatting('paragraph', 
\&my_final_convert_paragraph_type);
+texinfo_register_type_formatting('paragraph',
+                                 \&my_final_convert_paragraph_type);
+
+sub my_test_documentation_convert_indented_command($$$$$)
+{
+  my $converter = shift;
+  my $cmdname = shift;
+  my $command = shift;
+  my $args = shift;
+  my $content = shift;
+
+  if (!defined($content) or $content eq '') {
+    return '';
+  }
+
+  if ($converter->in_string()) {
+    return $content;
+  }
+
+  my $non_breaking_space = $converter->get_info('non_breaking_space');
+  my $result = '<tr><td>' .$non_breaking_space. '</tr></td>';
+
+  return $converter->html_attribute_class('table', [$cmdname]).'>'
+           . $result . $content . "</td></tr></table>\n";
+}
+
+texinfo_register_command_formatting('indentedblock',
+                \&my_test_documentation_convert_indented_command);
+
+my $counter = 0;
+sub my_test_documentation_convert_index_entry_command_type($$$$)
+{
+  my $converter = shift;
+  my $type = shift;
+  my $element = shift;
+  my $content = shift;
+
+  if ($converter->in_multi_expanded()
+      or $converter->in_string()) {
+    return '';
+  }
+
+  my $cmdname = $element->{'info'}->{'command_name'};
+
+  my $color_number = $converter->get_shared_conversion_state('quotation',
+                                                       'color', 'purple1');
+  my $color2_number = $converter->get_shared_conversion_state('quotation',
+                                                   'color', 'special_black');
+  $color_number++;
+  $converter->set_shared_conversion_state('quotation',
+                            'color', 'purple1', $color_number);
+
+  my $index_id = $converter->command_id($element);
+  if (defined($index_id) and $index_id ne '') {
+    my $result = '<table>';
+    $counter++;
+    my $anchor_id = 'anchor_id_' . $counter;
+    my $anchor_with_counter
+      = &{$converter->formatting_function('format_separate_anchor')}(
+                                   $converter, $anchor_id, 'myanchor_class');
+    $result .= $anchor_with_counter;
+    $result .= "\n" unless ($converter->in_preformatted_context());
+
+    #my $indices_information
+    #  = $converter->get_info('document')->indices_information();
+    #my ($index_entry, $index_info)
+    # = 
Texinfo::Common::lookup_index_entry($element->{'extra'}->{'index_entry'},
+    #                                       $indices_information);
+    #my $target_element = $index_entry->{'entry_element'};
+    my $target_element = $element;
+    my $target_text = $converter->command_text($target_element)
+        . "<code>purple: $color_number, black: $color2_number</code>";
+    my $target_href = $converter->command_href($target_element);
+    my $hyperlink = "<a href=\"$target_href\">$target_text</a>";
+
+    my $entry_root_link = '';
+    my $associated_command
+      = $converter->command_root_element_command($target_element);
+    if ($associated_command) {
+      my $associated_command_href
+        = $converter->command_href($associated_command);
+      my $associated_command_text
+        = $converter->command_text($associated_command);
+
+      if (defined($associated_command_href)) {
+        $entry_root_link
+          = "<a href=\"$associated_command_href\">"
+          ."$associated_command_text</a>";
+      } elsif (defined($associated_command_text)) {
+        $entry_root_link = $associated_command_text;
+      }
+    }
+
+    my $formatted_entry = "<td><tr>$hyperlink</tr>"
+         ."<tr>$entry_root_link</tr></td>\n";
+
+    my $label_element = $target_element->{'args'}->[0];
+    Texinfo::Convert::Text::set_options_code(
+                              $converter->{'convert_text_options'});
+    Texinfo::Convert::Text::set_options_encoding_if_not_ascii($converter,
+                              $converter->{'convert_text_options'});
+    my $file_name = Texinfo::Convert::Text::convert_to_text($label_element,
+                                $converter->{'convert_text_options'});
+    Texinfo::Convert::Text::reset_options_code(
+                                 $converter->{'convert_text_options'});
+    Texinfo::Convert::Text::reset_options_encoding(
+                                 $converter->{'convert_text_options'});
+
+    $result .= $formatted_entry . "<td><tr>$file_name</tr></td>\n";
+    $result .= "</table>\n";
+    return $result;
+  } else {
+    my $text_element = {'text' => '@'.$cmdname};
+    my $tree = $converter->cdt('No value for @strong{{item}}',
+                                   {'item' => $text_element});
+    my $no_value_converted_output = $converter->convert_tree($tree);
+    return "<div>$no_value_converted_output</div>\n";
+  }
+
+  return '';
+}
+
+texinfo_register_type_formatting('index_entry_command',
+               \&my_test_documentation_convert_index_entry_command_type);
+
+sub my_test_documentation_convert_xref_commands($$$$)
+{
+  my $converter = shift;
+  my $cmdname = shift;
+  my $command = shift;
+  my $args = shift;
+
+  my $xref_tree_element = $command;
+  my $prepended = '';
+
+  my $arg_node = $xref_tree_element->{'args'}->[0];
+  if ($arg_node and $arg_node->{'extra'}
+      and defined($arg_node->{'extra'}->{'normalized'})) {
+    my $target_node
+     = $converter->label_command($arg_node->{'extra'}->{'normalized'});
+    my $identifier = $converter->command_id($target_node);
+    $prepended = "<samp>$identifier</samp>";
+  }
+
+  return $prepended
+     . &{$converter->default_command_conversion($cmdname)}($converter,
+                                          $cmdname, $command, $args);
+}
+
+texinfo_register_command_formatting('xref',
+             \&my_test_documentation_convert_xref_commands);
+
+
+sub my_test_documentation_convert_printindex_command($$$$)
+{
+  my $converter = shift;
+  my $cmdname = shift;
+  my $command = shift;
+  my $args = shift;
+
+  my $printindex_element = $command;
+  my $prepended = '';
+
+  my ($output_unit, $root_command)
+     = $converter->get_element_root_command_element($printindex_element);
+  my $index_element_id = $converter->command_id($root_command);
+  $prepended = "<strong>RC: $index_element_id</strong>";
+
+  return $prepended
+     . &{$converter->default_command_conversion($cmdname)}($converter,
+                                          $cmdname, $command, $args);
+}
+
+texinfo_register_command_formatting('printindex',
+             \&my_test_documentation_convert_printindex_command);
+
 
 sub my_node_file_name($$$) {
   my ($converter, $element, $filename) = @_;
@@ -200,7 +461,7 @@ 
texinfo_register_file_id_setting_function('label_target_name',
 
 sub my_format_translate_message($$$;$)
 {
-  my ($self, $string, $lang, $translation_context) = @_;
+  my ($converter, $string, $lang, $translation_context) = @_;
   $translation_context = '' if (!defined($translation_context));
   if (exists($translations{$lang})
       and exists($translations{$lang}->{$string})
diff --git a/tp/maintain/setup_converters_code_tables.pl 
b/tp/maintain/setup_converters_code_tables.pl
index 53aafcb000..974e695928 100755
--- a/tp/maintain/setup_converters_code_tables.pl
+++ b/tp/maintain/setup_converters_code_tables.pl
@@ -25,7 +25,7 @@ use if $] >= 5.014, re => '/a';
 
 # for file names portability
 use File::Spec;
-# for dirname and fileparse
+# for fileparse
 use File::Basename;
 
 use Encode;
diff --git a/tp/t/init_files_tests.t b/tp/t/init_files_tests.t
index dfb1353a43..8ef79addf9 100644
--- a/tp/t/init_files_tests.t
+++ b/tp/t/init_files_tests.t
@@ -52,6 +52,8 @@ my $direction_strings_test_text = '@node Top
 my $documentation_examples_text = '
 @settitle @email{someone@@example.com, me} @sansserif{in--title} @error{} 
@equiv{}
 
+@contents
+
 @node Top
 @top top
 
@@ -67,9 +69,21 @@ my $documentation_examples_text = '
 
 @math{@sansserif{in--math} @- a=b @error{} @equiv{}}
 
+@indentedblock
 @example
 @sansserif{in--example} @- c. @error{} @equiv{}
+@email{a@@example}
 @end example
+@end indentedblock
+
+@display
+@email{a@@display}
+@end display
+
+@cindex @file{e1}
+@cindex i2
+
+@vindex    
 
 @documentlanguage fr
 
@@ -77,7 +91,10 @@ my $documentation_examples_text = '
 
 @equiv{}
 
+@contents
+
 @node my node
+@chapter New node
 
 @documentlanguage pl
 
@@ -85,6 +102,10 @@ my $documentation_examples_text = '
 
 @equiv{}
 
+@node Index
+@appendix Index
+
+@printindex cp
 
 ';
 
@@ -153,7 +174,7 @@ $documentation_examples_text,
 ['documentation_examples_texi2html',
 $documentation_examples_text,
 {'init_files' => ['documentation_examples.pm']},
-{'TEXI2HTML' => 1},
+{'TEXI2HTML' => 1, 'CONTENTS_OUTPUT_LOCATION' => 'inline'},
 ],
 ['sc_formatting_with_css',
 '@settitle{In title @sc{my string} NEXT}
diff --git a/tp/t/results/init_files_tests/documentation_examples.pl 
b/tp/t/results/init_files_tests/documentation_examples.pl
index b12ae6c311..9084265a99 100644
--- a/tp/t/results/init_files_tests/documentation_examples.pl
+++ b/tp/t/results/init_files_tests/documentation_examples.pl
@@ -129,6 +129,25 @@ $result_trees{'documentation_examples'} = {
             },
             {
               'text' => '
+',
+              'type' => 'empty_line'
+            },
+            {
+              'args' => [
+                {
+                  'text' => '
+',
+                  'type' => 'rawline_arg'
+                }
+              ],
+              'cmdname' => 'contents',
+              'extra' => {},
+              'source_info' => {
+                'line_nr' => 4
+              }
+            },
+            {
+              'text' => '
 ',
               'type' => 'empty_line'
             }
@@ -166,7 +185,7 @@ $result_trees{'documentation_examples'} = {
         }
       },
       'source_info' => {
-        'line_nr' => 4
+        'line_nr' => 6
       }
     },
     {
@@ -201,7 +220,7 @@ $result_trees{'documentation_examples'} = {
         }
       },
       'source_info' => {
-        'line_nr' => 5
+        'line_nr' => 7
       }
     },
     {
@@ -232,7 +251,7 @@ $result_trees{'documentation_examples'} = {
         }
       },
       'source_info' => {
-        'line_nr' => 7
+        'line_nr' => 9
       }
     },
     {
@@ -274,7 +293,7 @@ $result_trees{'documentation_examples'} = {
               ],
               'cmdname' => 'sansserif',
               'source_info' => {
-                'line_nr' => 10
+                'line_nr' => 12
               }
             },
             {
@@ -294,7 +313,7 @@ $result_trees{'documentation_examples'} = {
               ],
               'cmdname' => 'error',
               'source_info' => {
-                'line_nr' => 10
+                'line_nr' => 12
               }
             },
             {
@@ -308,7 +327,7 @@ $result_trees{'documentation_examples'} = {
               ],
               'cmdname' => 'equiv',
               'source_info' => {
-                'line_nr' => 10
+                'line_nr' => 12
               }
             },
             {
@@ -336,7 +355,7 @@ $result_trees{'documentation_examples'} = {
               ],
               'cmdname' => 'xref',
               'source_info' => {
-                'line_nr' => 11
+                'line_nr' => 13
               }
             },
             {
@@ -358,7 +377,7 @@ $result_trees{'documentation_examples'} = {
               'cmdname' => 'footnote',
               'extra' => {},
               'source_info' => {
-                'line_nr' => 11
+                'line_nr' => 13
               }
             },
             {
@@ -382,7 +401,7 @@ $result_trees{'documentation_examples'} = {
           'cmdname' => 'titlefont',
           'extra' => {},
           'source_info' => {
-            'line_nr' => 12
+            'line_nr' => 14
           }
         },
         {
@@ -423,7 +442,7 @@ $result_trees{'documentation_examples'} = {
               ],
               'cmdname' => 'email',
               'source_info' => {
-                'line_nr' => 13
+                'line_nr' => 15
               }
             },
             {
@@ -443,7 +462,7 @@ $result_trees{'documentation_examples'} = {
               ],
               'cmdname' => 'sc',
               'source_info' => {
-                'line_nr' => 14
+                'line_nr' => 16
               }
             },
             {
@@ -463,7 +482,7 @@ $result_trees{'documentation_examples'} = {
               ],
               'cmdname' => 'var',
               'source_info' => {
-                'line_nr' => 15
+                'line_nr' => 17
               }
             },
             {
@@ -497,7 +516,7 @@ $result_trees{'documentation_examples'} = {
                       ],
                       'cmdname' => 'sansserif',
                       'source_info' => {
-                        'line_nr' => 17
+                        'line_nr' => 19
                       }
                     },
                     {
@@ -517,7 +536,7 @@ $result_trees{'documentation_examples'} = {
                       ],
                       'cmdname' => 'error',
                       'source_info' => {
-                        'line_nr' => 17
+                        'line_nr' => 19
                       }
                     },
                     {
@@ -531,7 +550,7 @@ $result_trees{'documentation_examples'} = {
                       ],
                       'cmdname' => 'equiv',
                       'source_info' => {
-                        'line_nr' => 17
+                        'line_nr' => 19
                       }
                     }
                   ],
@@ -540,7 +559,7 @@ $result_trees{'documentation_examples'} = {
               ],
               'cmdname' => 'math',
               'source_info' => {
-                'line_nr' => 17
+                'line_nr' => 19
               }
             },
             {
@@ -567,58 +586,218 @@ $result_trees{'documentation_examples'} = {
               'type' => 'block_line_arg'
             }
           ],
-          'cmdname' => 'example',
+          'cmdname' => 'indentedblock',
           'contents' => [
             {
+              'args' => [
+                {
+                  'info' => {
+                    'spaces_after_argument' => {
+                      'text' => '
+'
+                    }
+                  },
+                  'type' => 'block_line_arg'
+                }
+              ],
+              'cmdname' => 'example',
               'contents' => [
                 {
-                  'args' => [
+                  'contents' => [
                     {
-                      'contents' => [
+                      'args' => [
                         {
-                          'text' => 'in--example'
+                          'contents' => [
+                            {
+                              'text' => 'in--example'
+                            }
+                          ],
+                          'type' => 'brace_command_arg'
                         }
                       ],
-                      'type' => 'brace_command_arg'
+                      'cmdname' => 'sansserif',
+                      'source_info' => {
+                        'line_nr' => 23
+                      }
+                    },
+                    {
+                      'text' => ' '
+                    },
+                    {
+                      'cmdname' => '-'
+                    },
+                    {
+                      'text' => ' c. '
+                    },
+                    {
+                      'args' => [
+                        {
+                          'type' => 'brace_command_arg'
+                        }
+                      ],
+                      'cmdname' => 'error',
+                      'source_info' => {
+                        'line_nr' => 23
+                      }
+                    },
+                    {
+                      'text' => ' '
+                    },
+                    {
+                      'args' => [
+                        {
+                          'type' => 'brace_command_arg'
+                        }
+                      ],
+                      'cmdname' => 'equiv',
+                      'source_info' => {
+                        'line_nr' => 23
+                      }
+                    },
+                    {
+                      'text' => '
+'
+                    },
+                    {
+                      'args' => [
+                        {
+                          'contents' => [
+                            {
+                              'text' => 'a'
+                            },
+                            {
+                              'cmdname' => '@'
+                            },
+                            {
+                              'text' => 'example'
+                            }
+                          ],
+                          'type' => 'brace_command_arg'
+                        }
+                      ],
+                      'cmdname' => 'email',
+                      'source_info' => {
+                        'line_nr' => 24
+                      }
+                    },
+                    {
+                      'text' => '
+'
                     }
                   ],
-                  'cmdname' => 'sansserif',
-                  'source_info' => {
-                    'line_nr' => 20
-                  }
-                },
-                {
-                  'text' => ' '
-                },
-                {
-                  'cmdname' => '-'
-                },
-                {
-                  'text' => ' c. '
+                  'type' => 'preformatted'
                 },
                 {
                   'args' => [
                     {
-                      'type' => 'brace_command_arg'
+                      'contents' => [
+                        {
+                          'text' => 'example'
+                        }
+                      ],
+                      'info' => {
+                        'spaces_after_argument' => {
+                          'text' => '
+'
+                        }
+                      },
+                      'type' => 'line_arg'
                     }
                   ],
-                  'cmdname' => 'error',
+                  'cmdname' => 'end',
+                  'extra' => {
+                    'text_arg' => 'example'
+                  },
+                  'info' => {
+                    'spaces_before_argument' => {
+                      'text' => ' '
+                    }
+                  },
                   'source_info' => {
-                    'line_nr' => 20
+                    'line_nr' => 25
                   }
-                },
+                }
+              ],
+              'source_info' => {
+                'line_nr' => 22
+              }
+            },
+            {
+              'args' => [
                 {
+                  'contents' => [
+                    {
+                      'text' => 'indentedblock'
+                    }
+                  ],
+                  'info' => {
+                    'spaces_after_argument' => {
+                      'text' => '
+'
+                    }
+                  },
+                  'type' => 'line_arg'
+                }
+              ],
+              'cmdname' => 'end',
+              'extra' => {
+                'text_arg' => 'indentedblock'
+              },
+              'info' => {
+                'spaces_before_argument' => {
                   'text' => ' '
-                },
+                }
+              },
+              'source_info' => {
+                'line_nr' => 26
+              }
+            }
+          ],
+          'source_info' => {
+            'line_nr' => 21
+          }
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'args' => [
+            {
+              'info' => {
+                'spaces_after_argument' => {
+                  'text' => '
+'
+                }
+              },
+              'type' => 'block_line_arg'
+            }
+          ],
+          'cmdname' => 'display',
+          'contents' => [
+            {
+              'contents' => [
                 {
                   'args' => [
                     {
+                      'contents' => [
+                        {
+                          'text' => 'a'
+                        },
+                        {
+                          'cmdname' => '@'
+                        },
+                        {
+                          'text' => 'display'
+                        }
+                      ],
                       'type' => 'brace_command_arg'
                     }
                   ],
-                  'cmdname' => 'equiv',
+                  'cmdname' => 'email',
                   'source_info' => {
-                    'line_nr' => 20
+                    'line_nr' => 29
                   }
                 },
                 {
@@ -633,7 +812,7 @@ $result_trees{'documentation_examples'} = {
                 {
                   'contents' => [
                     {
-                      'text' => 'example'
+                      'text' => 'display'
                     }
                   ],
                   'info' => {
@@ -647,7 +826,7 @@ $result_trees{'documentation_examples'} = {
               ],
               'cmdname' => 'end',
               'extra' => {
-                'text_arg' => 'example'
+                'text_arg' => 'display'
               },
               'info' => {
                 'spaces_before_argument' => {
@@ -655,16 +834,132 @@ $result_trees{'documentation_examples'} = {
                 }
               },
               'source_info' => {
-                'line_nr' => 21
+                'line_nr' => 30
               }
             }
           ],
           'source_info' => {
-            'line_nr' => 19
+            'line_nr' => 28
           }
         },
         {
           'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'args' => [
+            {
+              'contents' => [
+                {
+                  'args' => [
+                    {
+                      'contents' => [
+                        {
+                          'text' => 'e1'
+                        }
+                      ],
+                      'type' => 'brace_command_arg'
+                    }
+                  ],
+                  'cmdname' => 'file',
+                  'source_info' => {
+                    'line_nr' => 32
+                  }
+                }
+              ],
+              'info' => {
+                'spaces_after_argument' => {
+                  'text' => '
+'
+                }
+              },
+              'type' => 'line_arg'
+            }
+          ],
+          'cmdname' => 'cindex',
+          'extra' => {
+            'element_node' => {},
+            'index_entry' => [
+              'cp',
+              1
+            ]
+          },
+          'info' => {
+            'command_name' => 'cindex',
+            'spaces_before_argument' => {
+              'text' => ' '
+            }
+          },
+          'source_info' => {
+            'line_nr' => 32
+          },
+          'type' => 'index_entry_command'
+        },
+        {
+          'args' => [
+            {
+              'contents' => [
+                {
+                  'text' => 'i2'
+                }
+              ],
+              'info' => {
+                'spaces_after_argument' => {
+                  'text' => '
+'
+                }
+              },
+              'type' => 'line_arg'
+            }
+          ],
+          'cmdname' => 'cindex',
+          'extra' => {
+            'element_node' => {},
+            'index_entry' => [
+              'cp',
+              2
+            ]
+          },
+          'info' => {
+            'command_name' => 'cindex',
+            'spaces_before_argument' => {
+              'text' => ' '
+            }
+          },
+          'source_info' => {
+            'line_nr' => 33
+          },
+          'type' => 'index_entry_command'
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'args' => [
+            {
+              'info' => {
+                'spaces_after_argument' => {
+                  'text' => '    
+'
+                }
+              },
+              'type' => 'line_arg'
+            }
+          ],
+          'cmdname' => 'vindex',
+          'info' => {
+            'command_name' => 'vindex'
+          },
+          'source_info' => {
+            'line_nr' => 35
+          },
+          'type' => 'index_entry_command'
+        },
+        {
+          'text' => '
 ',
           'type' => 'empty_line'
         },
@@ -695,7 +990,7 @@ $result_trees{'documentation_examples'} = {
             }
           },
           'source_info' => {
-            'line_nr' => 23
+            'line_nr' => 37
           }
         },
         {
@@ -713,7 +1008,7 @@ $result_trees{'documentation_examples'} = {
               ],
               'cmdname' => 'error',
               'source_info' => {
-                'line_nr' => 25
+                'line_nr' => 39
               }
             },
             {
@@ -738,7 +1033,7 @@ $result_trees{'documentation_examples'} = {
               ],
               'cmdname' => 'equiv',
               'source_info' => {
-                'line_nr' => 27
+                'line_nr' => 41
               }
             },
             {
@@ -750,6 +1045,25 @@ $result_trees{'documentation_examples'} = {
         },
         {
           'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'args' => [
+            {
+              'text' => '
+',
+              'type' => 'rawline_arg'
+            }
+          ],
+          'cmdname' => 'contents',
+          'extra' => {},
+          'source_info' => {
+            'line_nr' => 43
+          }
+        },
+        {
+          'text' => '
 ',
           'type' => 'empty_line'
         }
@@ -763,7 +1077,7 @@ $result_trees{'documentation_examples'} = {
         }
       },
       'source_info' => {
-        'line_nr' => 8
+        'line_nr' => 10
       }
     },
     {
@@ -784,6 +1098,37 @@ $result_trees{'documentation_examples'} = {
         }
       ],
       'cmdname' => 'node',
+      'extra' => {
+        'is_target' => 1,
+        'normalized' => 'my-node'
+      },
+      'info' => {
+        'spaces_before_argument' => {
+          'text' => ' '
+        }
+      },
+      'source_info' => {
+        'line_nr' => 45
+      }
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'text' => 'New node'
+            }
+          ],
+          'info' => {
+            'spaces_after_argument' => {
+              'text' => '
+'
+            }
+          },
+          'type' => 'line_arg'
+        }
+      ],
+      'cmdname' => 'chapter',
       'contents' => [
         {
           'text' => '
@@ -817,7 +1162,7 @@ $result_trees{'documentation_examples'} = {
             }
           },
           'source_info' => {
-            'line_nr' => 31
+            'line_nr' => 48
           }
         },
         {
@@ -835,7 +1180,7 @@ $result_trees{'documentation_examples'} = {
               ],
               'cmdname' => 'error',
               'source_info' => {
-                'line_nr' => 33
+                'line_nr' => 50
               }
             },
             {
@@ -860,7 +1205,7 @@ $result_trees{'documentation_examples'} = {
               ],
               'cmdname' => 'equiv',
               'source_info' => {
-                'line_nr' => 35
+                'line_nr' => 52
               }
             },
             {
@@ -874,6 +1219,107 @@ $result_trees{'documentation_examples'} = {
           'text' => '
 ',
           'type' => 'empty_line'
+        }
+      ],
+      'extra' => {
+        'section_number' => '2'
+      },
+      'info' => {
+        'spaces_before_argument' => {
+          'text' => ' '
+        }
+      },
+      'source_info' => {
+        'line_nr' => 46
+      }
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'text' => 'Index'
+            }
+          ],
+          'info' => {
+            'spaces_after_argument' => {
+              'text' => '
+'
+            }
+          },
+          'type' => 'line_arg'
+        }
+      ],
+      'cmdname' => 'node',
+      'extra' => {
+        'is_target' => 1,
+        'isindex' => 1,
+        'normalized' => 'Index'
+      },
+      'info' => {
+        'spaces_before_argument' => {
+          'text' => ' '
+        }
+      },
+      'source_info' => {
+        'line_nr' => 54
+      }
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'text' => 'Index'
+            }
+          ],
+          'info' => {
+            'spaces_after_argument' => {
+              'text' => '
+'
+            }
+          },
+          'type' => 'line_arg'
+        }
+      ],
+      'cmdname' => 'appendix',
+      'contents' => [
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'args' => [
+            {
+              'contents' => [
+                {
+                  'text' => 'cp'
+                }
+              ],
+              'info' => {
+                'spaces_after_argument' => {
+                  'text' => '
+'
+                }
+              },
+              'type' => 'line_arg'
+            }
+          ],
+          'cmdname' => 'printindex',
+          'extra' => {
+            'misc_args' => [
+              'cp'
+            ]
+          },
+          'info' => {
+            'spaces_before_argument' => {
+              'text' => ' '
+            }
+          },
+          'source_info' => {
+            'line_nr' => 57
+          }
         },
         {
           'text' => '
@@ -882,8 +1328,7 @@ $result_trees{'documentation_examples'} = {
         }
       ],
       'extra' => {
-        'is_target' => 1,
-        'normalized' => 'my-node'
+        'section_number' => 'A'
       },
       'info' => {
         'spaces_before_argument' => {
@@ -891,17 +1336,21 @@ $result_trees{'documentation_examples'} = {
         }
       },
       'source_info' => {
-        'line_nr' => 29
+        'line_nr' => 55
       }
     }
   ],
   'type' => 'document_root'
 };
 
$result_trees{'documentation_examples'}{'contents'}[4]{'contents'}[1]{'contents'}[8]{'args'}[0]{'extra'}{'node_content'}{'contents'}[0]
 = 
$result_trees{'documentation_examples'}{'contents'}[4]{'contents'}[1]{'contents'}[8]{'args'}[0]{'contents'}[0];
+$result_trees{'documentation_examples'}{'contents'}[4]{'contents'}[12]{'extra'}{'element_node'}
 = $result_trees{'documentation_examples'}{'contents'}[3];
+$result_trees{'documentation_examples'}{'contents'}[4]{'contents'}[13]{'extra'}{'element_node'}
 = $result_trees{'documentation_examples'}{'contents'}[3];
 
 $result_texis{'documentation_examples'} = '
 @settitle @email{someone@@example.com, me} @sansserif{in--title} @error{} 
@equiv{}
 
+@contents
+
 @node Top
 @top top
 
@@ -917,9 +1366,21 @@ $result_texis{'documentation_examples'} = '
 
 @math{@sansserif{in--math} @- a=b @error{} @equiv{}}
 
+@indentedblock
 @example
 @sansserif{in--example} @- c. @error{} @equiv{}
+@email{a@@example}
 @end example
+@end indentedblock
+
+@display
+@email{a@@display}
+@end display
+
+@cindex @file{e1}
+@cindex i2
+
+@vindex    
 
 @documentlanguage fr
 
@@ -927,7 +1388,10 @@ $result_texis{'documentation_examples'} = '
 
 @equiv{}
 
+@contents
+
 @node my node
+@chapter New node
 
 @documentlanguage pl
 
@@ -935,11 +1399,16 @@ $result_texis{'documentation_examples'} = '
 
 @equiv{}
 
+@node Index
+@appendix Index
+
+@printindex cp
 
 ';
 
 
 $result_texts{'documentation_examples'} = '
+
 top
 ***
 
@@ -956,6 +1425,11 @@ in var
 in--math  a=b error--> ==
 
 in--example  c. error--> ==
+a@example
+
+a@display
+
+
 
 
 error-->.
@@ -963,11 +1437,17 @@ error-->.
 ==
 
 
+2 New node
+**********
+
 
 error-->.
 
 ==
 
+Appendix A Index
+****************
+
 
 ';
 
@@ -1003,6 +1483,49 @@ $result_sectioning{'documentation_examples'} = {
                   'up' => {}
                 }
               }
+            },
+            {
+              'cmdname' => 'chapter',
+              'extra' => {
+                'associated_node' => {
+                  'cmdname' => 'node',
+                  'extra' => {
+                    'normalized' => 'my-node'
+                  }
+                },
+                'section_directions' => {
+                  'prev' => {},
+                  'up' => {}
+                },
+                'section_level' => 1,
+                'section_number' => '2',
+                'toplevel_directions' => {
+                  'prev' => {},
+                  'up' => {}
+                }
+              }
+            },
+            {
+              'cmdname' => 'appendix',
+              'extra' => {
+                'associated_node' => {
+                  'cmdname' => 'node',
+                  'extra' => {
+                    'isindex' => 1,
+                    'normalized' => 'Index'
+                  }
+                },
+                'section_directions' => {
+                  'prev' => {},
+                  'up' => {}
+                },
+                'section_level' => 1,
+                'section_number' => 'A',
+                'toplevel_directions' => {
+                  'prev' => {},
+                  'up' => {}
+                }
+              }
             }
           ],
           'section_level' => 0,
@@ -1017,6 +1540,14 @@ $result_sectioning{'documentation_examples'} = {
 
$result_sectioning{'documentation_examples'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0]{'extra'}{'section_directions'}{'up'}
 = $result_sectioning{'documentation_examples'}{'extra'}{'section_childs'}[0];
 
$result_sectioning{'documentation_examples'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0]{'extra'}{'toplevel_directions'}{'prev'}
 = $result_sectioning{'documentation_examples'}{'extra'}{'section_childs'}[0];
 
$result_sectioning{'documentation_examples'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0]{'extra'}{'toplevel_directions'}{'up'}
 = $result_sectioning{'documentation_examples'}{'extra'}{'section_childs'}[0];
+$result_sectioning{'documentation_examples'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[1]{'extra'}{'section_directions'}{'prev'}
 = 
$result_sectioning{'documentation_examples'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0];
+$result_sectioning{'documentation_examples'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[1]{'extra'}{'section_directions'}{'up'}
 = $result_sectioning{'documentation_examples'}{'extra'}{'section_childs'}[0];
+$result_sectioning{'documentation_examples'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[1]{'extra'}{'toplevel_directions'}{'prev'}
 = 
$result_sectioning{'documentation_examples'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0];
+$result_sectioning{'documentation_examples'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[1]{'extra'}{'toplevel_directions'}{'up'}
 = $result_sectioning{'documentation_examples'}{'extra'}{'section_childs'}[0];
+$result_sectioning{'documentation_examples'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[2]{'extra'}{'section_directions'}{'prev'}
 = 
$result_sectioning{'documentation_examples'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[1];
+$result_sectioning{'documentation_examples'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[2]{'extra'}{'section_directions'}{'up'}
 = $result_sectioning{'documentation_examples'}{'extra'}{'section_childs'}[0];
+$result_sectioning{'documentation_examples'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[2]{'extra'}{'toplevel_directions'}{'prev'}
 = 
$result_sectioning{'documentation_examples'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[1];
+$result_sectioning{'documentation_examples'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[2]{'extra'}{'toplevel_directions'}{'up'}
 = $result_sectioning{'documentation_examples'}{'extra'}{'section_childs'}[0];
 
$result_sectioning{'documentation_examples'}{'extra'}{'section_childs'}[0]{'extra'}{'sectioning_root'}
 = $result_sectioning{'documentation_examples'};
 
 $result_nodes{'documentation_examples'} = [
@@ -1038,6 +1569,39 @@ $result_nodes{'documentation_examples'} = [
               }
             },
             'node_directions' => {
+              'next' => {
+                'cmdname' => 'node',
+                'extra' => {
+                  'associated_section' => {
+                    'cmdname' => 'chapter',
+                    'extra' => {
+                      'section_number' => '2'
+                    }
+                  },
+                  'node_directions' => {
+                    'next' => {
+                      'cmdname' => 'node',
+                      'extra' => {
+                        'associated_section' => {
+                          'cmdname' => 'appendix',
+                          'extra' => {
+                            'section_number' => 'A'
+                          }
+                        },
+                        'isindex' => 1,
+                        'node_directions' => {
+                          'prev' => {},
+                          'up' => {}
+                        },
+                        'normalized' => 'Index'
+                      }
+                    },
+                    'prev' => {},
+                    'up' => {}
+                  },
+                  'normalized' => 'my-node'
+                }
+              },
               'prev' => {},
               'up' => {}
             },
@@ -1049,16 +1613,18 @@ $result_nodes{'documentation_examples'} = [
     }
   },
   {},
-  {
-    'cmdname' => 'node',
-    'extra' => {
-      'normalized' => 'my-node'
-    }
-  }
+  {},
+  {}
 ];
+$result_nodes{'documentation_examples'}[0]{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'prev'}
 = 
$result_nodes{'documentation_examples'}[0]{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'next'};
+$result_nodes{'documentation_examples'}[0]{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'up'}
 = $result_nodes{'documentation_examples'}[0];
+$result_nodes{'documentation_examples'}[0]{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'prev'}
 = 
$result_nodes{'documentation_examples'}[0]{'extra'}{'node_directions'}{'next'};
+$result_nodes{'documentation_examples'}[0]{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'up'}
 = $result_nodes{'documentation_examples'}[0];
 
$result_nodes{'documentation_examples'}[0]{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'prev'}
 = $result_nodes{'documentation_examples'}[0];
 
$result_nodes{'documentation_examples'}[0]{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'up'}
 = $result_nodes{'documentation_examples'}[0];
 $result_nodes{'documentation_examples'}[1] = 
$result_nodes{'documentation_examples'}[0]{'extra'}{'node_directions'}{'next'};
+$result_nodes{'documentation_examples'}[2] = 
$result_nodes{'documentation_examples'}[0]{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'next'};
+$result_nodes{'documentation_examples'}[3] = 
$result_nodes{'documentation_examples'}[0]{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'next'};
 
 $result_menus{'documentation_examples'} = [
   {
@@ -1075,13 +1641,34 @@ $result_menus{'documentation_examples'} = [
     'extra' => {
       'normalized' => 'my-node'
     }
+  },
+  {
+    'extra' => {
+      'normalized' => 'Index'
+    }
   }
 ];
 
-$result_errors{'documentation_examples'} = [];
+$result_errors{'documentation_examples'} = [
+  {
+    'error_line' => 'warning: @vindex missing argument
+',
+    'line_nr' => 35,
+    'text' => '@vindex missing argument',
+    'type' => 'warning'
+  }
+];
 
 
 $result_floats{'documentation_examples'} = {};
 
 
+$result_indices_sort_strings{'documentation_examples'} = {
+  'cp' => [
+    'e1',
+    'i2'
+  ]
+};
+
+
 1;
diff --git 
a/tp/t/results/init_files_tests/documentation_examples/res_html/documentation_examples_fot.html
 
b/tp/t/results/init_files_tests/documentation_examples/res_html/documentation_examples_fot.html
index 06e3c577e8..3b29fc028a 100644
--- 
a/tp/t/results/init_files_tests/documentation_examples/res_html/documentation_examples_fot.html
+++ 
b/tp/t/results/init_files_tests/documentation_examples/res_html/documentation_examples_fot.html
@@ -3,21 +3,28 @@
 <!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<title>Przypisy (someone@example.com (me) undefined text-align:center, is 
undef|end|separate in&ndash;title błąd--&gt; is the same as)</title>
+<title>Przypisy (someone@example.com (me Generated a sunny day using 
http://www.gnu.org/software/texinfo/ (http://www.gnu.org/software/texinfo/). 
(someone@example.com);) undefined text-align:center, is undef|end|separate 
in&ndash;title błąd--&gt; is the same as)</title>
 
-<meta name="description" content="Przypisy (someone@example.com (me) undefined 
text-align:center, is undef|end|separate in&ndash;title błąd--&gt; is the same 
as)">
-<meta name="keywords" content="Przypisy (someone@example.com (me) undefined 
text-align:center, is undef|end|separate in&ndash;title błąd--&gt; is the same 
as)">
+<meta name="description" content="Przypisy (someone@example.com (me Generated 
a sunny day using http://www.gnu.org/software/texinfo/ 
(http://www.gnu.org/software/texinfo/). (someone@example.com);) undefined 
text-align:center, is undef|end|separate in&ndash;title błąd--&gt; is the same 
as)">
+<meta name="keywords" content="Przypisy (someone@example.com (me Generated a 
sunny day using http://www.gnu.org/software/texinfo/ 
(http://www.gnu.org/software/texinfo/). (someone@example.com);) undefined 
text-align:center, is undef|end|separate in&ndash;title błąd--&gt; is the same 
as)">
 <meta name="resource-type" content="document">
 <meta name="distribution" content="global">
 <meta name="viewport" content="width=device-width,initial-scale=1">
 
 <link href="index.html" rel="start" title="Top">
+<link href="prepended_to_filenames-Index.html" rel="index" title="Index">
+<link href="index.html#SEC_Contents" rel="contents" title="The Table of 
Contents">
 
 
 </head>
 
 <body lang="en">
 <div class="element-footnotes" id="SEC_Footnotes">
+<div class="nav-panel">
+<p>
+[<a href="index.html#SEC_Contents" title="Spis treści" 
rel="contents">Treść</a>][<a href="prepended_to_filenames-Index.html" 
title="Indeks" rel="index">Indeks</a>]</p>
+</div>
+<hr>
 <h4 class="footnotes-heading">Przypisy</h4>
 
 <h5 class="footnote-body-heading"><a id="FOOT1" 
href="prepended_to_filenames-chapter.html#DOCF1">(1)</a></h5>
@@ -25,6 +32,10 @@
 <h5 class="footnote-body-heading"><a id="FOOT1_2" 
href="prepended_to_filenames-chapter.html#DOCF1_2">(2)</a></h5>
 <p>in footnote <code>HTML</code> text </p>
 </div><hr>
+<div class="nav-panel">
+<p>
+[<a href="index.html#SEC_Contents" title="Spis treści" 
rel="contents">Treść</a>][<a href="prepended_to_filenames-Index.html" 
title="Indeks" rel="index">Indeks</a>]</p>
+</div>
 
 
 
diff --git 
a/tp/t/results/init_files_tests/documentation_examples/res_html/index.html 
b/tp/t/results/init_files_tests/documentation_examples/res_html/index.html
index dc9a66608e..5f80a466bd 100644
--- a/tp/t/results/init_files_tests/documentation_examples/res_html/index.html
+++ b/tp/t/results/init_files_tests/documentation_examples/res_html/index.html
@@ -3,20 +3,23 @@
 <!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<title>Top (someone@example.com (me) undefined text-align:center, is 
undef|end|separate in&ndash;title error--&gt; is the same as)</title>
+<title>Top (someone@example.com (me Generated a sunny day using 
http://www.gnu.org/software/texinfo/ (http://www.gnu.org/software/texinfo/). 
(someone@example.com);) undefined text-align:center, is undef|end|separate 
in&ndash;title error--&gt; is the same as)</title>
 
-<meta name="description" content="Top (someone@example.com (me) undefined 
text-align:center, is undef|end|separate in&ndash;title error--&gt; is the same 
as)">
-<meta name="keywords" content="Top (someone@example.com (me) undefined 
text-align:center, is undef|end|separate in&ndash;title error--&gt; is the same 
as)">
+<meta name="description" content="Top (someone@example.com (me Generated a 
sunny day using http://www.gnu.org/software/texinfo/ 
(http://www.gnu.org/software/texinfo/). (someone@example.com);) undefined 
text-align:center, is undef|end|separate in&ndash;title error--&gt; is the same 
as)">
+<meta name="keywords" content="Top (someone@example.com (me Generated a sunny 
day using http://www.gnu.org/software/texinfo/ 
(http://www.gnu.org/software/texinfo/). (someone@example.com);) undefined 
text-align:center, is undef|end|separate in&ndash;title error--&gt; is the same 
as)">
 <meta name="resource-type" content="document">
 <meta name="distribution" content="global">
 <meta name="viewport" content="width=device-width,initial-scale=1">
 
 <link href="#prepended_to_labels-Top" rel="start" title="Top">
+<link href="prepended_to_filenames-Index.html" rel="index" title="Index">
+<link href="#SEC_Contents" rel="contents" title="The Table of Contents">
 <link href="prepended_to_filenames-chapter.html" rel="next" title="chapter">
 <style type="text/css">
 <!--
 a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
 span:hover a.copiable-link {visibility: visible}
+ul.toc-numbered-mark {list-style: none}
 -->
 </style>
 
@@ -25,22 +28,32 @@ span:hover a.copiable-link {visibility: visible}
 
 <body lang="en">
 
+
 <div class="top-level-extent" id="prepended_to_labels-Top">
 <div class="nav-panel">
 <p>
-Next: <a href="prepended_to_filenames-chapter.html" accesskey="n" 
rel="next">Chapter</a> &nbsp; </p>
+Next: <a href="prepended_to_filenames-chapter.html" accesskey="n" 
rel="next">Chapter</a> &nbsp; [<a href="#SEC_Contents" title="Table of 
contents" rel="contents">Contents</a>][<a 
href="prepended_to_filenames-Index.html" title="Index" 
rel="index">Index</a>]</p>
 </div>
 <hr>
 <h1 class="top" id="top"><span>top<a class="copiable-link" href="#top"> 
&para;</a></span></h1>
 
-<ul class="mini-toc">
-<li><a href="prepended_to_filenames-chapter.html" 
accesskey="1">Chapter</a></li>
+<div class="region-contents" id="SEC_Contents">
+<h2 class="contents-heading">The <em class="emph">Table of Contents</em></h2>
+
+<div class="contents">
+
+<ul class="toc-numbered-mark">
+  <li><a id="toc-Chapter" href="prepended_to_filenames-chapter.html">1 
Chapter</a></li>
+  <li><a id="toc-New-node" href="prepended_to_filenames-my-node.html">2 New 
node</a></li>
+  <li><a id="toc-Index" href="prepended_to_filenames-Index.html" 
rel="index">Appendix A Index</a></li>
 </ul>
 </div>
+</div>
+</div>
 <hr>
 <div class="nav-panel">
 <p>
-Next: <a href="prepended_to_filenames-chapter.html" accesskey="n" 
rel="next">Chapter</a> &nbsp; </p>
+Next: <a href="prepended_to_filenames-chapter.html" accesskey="n" 
rel="next">Chapter</a> &nbsp; [<a href="#SEC_Contents" title="Table of 
contents" rel="contents">Contents</a>][<a 
href="prepended_to_filenames-Index.html" title="Index" 
rel="index">Index</a>]</p>
 </div>
 
 
diff --git 
a/tp/t/results/init_files_tests/documentation_examples/res_html/prepended_to_filenames-Index.html
 
b/tp/t/results/init_files_tests/documentation_examples/res_html/prepended_to_filenames-Index.html
new file mode 100644
index 0000000000..0be01c75a4
--- /dev/null
+++ 
b/tp/t/results/init_files_tests/documentation_examples/res_html/prepended_to_filenames-Index.html
@@ -0,0 +1,71 @@
+<!DOCTYPE html>
+<html>
+<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Index (someone@example.com (me Generated a sunny day using 
http://www.gnu.org/software/texinfo/ (http://www.gnu.org/software/texinfo/). 
(someone@example.com);) undefined text-align:center, is undef|end|separate 
in&ndash;title błąd--&gt; is the same as)</title>
+
+<meta name="description" content="Index (someone@example.com (me Generated a 
sunny day using http://www.gnu.org/software/texinfo/ 
(http://www.gnu.org/software/texinfo/). (someone@example.com);) undefined 
text-align:center, is undef|end|separate in&ndash;title błąd--&gt; is the same 
as)">
+<meta name="keywords" content="Index (someone@example.com (me Generated a 
sunny day using http://www.gnu.org/software/texinfo/ 
(http://www.gnu.org/software/texinfo/). (someone@example.com);) undefined 
text-align:center, is undef|end|separate in&ndash;title błąd--&gt; is the same 
as)">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="viewport" content="width=device-width,initial-scale=1">
+
+<link href="index.html" rel="start" title="Top">
+<link href="#prepended_to_labels-Index" rel="index" title="Index">
+<link href="index.html#SEC_Contents" rel="contents" title="The Table of 
Contents">
+<link href="index.html" rel="up" title="Top">
+<link href="prepended_to_filenames-my-node.html" rel="prev" title="my node">
+<style type="text/css">
+<!--
+a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
+a.summary-letter-printindex {text-decoration: none}
+span:hover a.copiable-link {visibility: visible}
+td.printindex-index-entry {vertical-align: top}
+td.printindex-index-section {vertical-align: top; padding-left: 1em}
+th.entries-header-printindex {text-align:left}
+th.sections-header-printindex {text-align:left; padding-left: 1em}
+-->
+</style>
+
+
+</head>
+
+<body lang="en">
+<div class="appendix-level-extent" id="prepended_to_labels-Index">
+<div class="nav-panel">
+<p>
+Poprzedni: <a href="prepended_to_filenames-my-node.html" accesskey="p" 
rel="prev">New node</a>, W górę: <a href="index.html" accesskey="u" 
rel="up">top</a> &nbsp; [<a href="index.html#SEC_Contents" title="Spis treści" 
rel="contents">Treść</a>][<a href="#prepended_to_labels-Index" title="Indeks" 
rel="index">Indeks</a>]</p>
+</div>
+<hr>
+<h2 class="appendix" id="Index"><span>Appendix A Index<a class="copiable-link" 
href="#Index"> &para;</a></span></h2>
+
+<strong>RC: prepended_to_labels-Index</strong><div class="printindex 
cp-printindex">
+<table class="cp-letters-header-printindex"><tr><th>Skok do: &nbsp; 
</th><td><a class="summary-letter-printindex" 
href="#prepended_to_labels-Index_cp_letter-E"><b>E</b></a>
+ &nbsp; 
+<a class="summary-letter-printindex" 
href="#prepended_to_labels-Index_cp_letter-I"><b>I</b></a>
+ &nbsp; 
+</td></tr></table>
+<table class="cp-entries-printindex" border="0">
+<tr><td></td><th class="entries-header-printindex">Wpis indeksu</th><th 
class="sections-header-printindex">Sekcja</th></tr>
+<tr><td colspan="3"><hr></td></tr>
+<tr><th id="prepended_to_labels-Index_cp_letter-E">E</th></tr>
+<tr><td></td><td class="printindex-index-entry"><a 
href="prepended_to_filenames-chapter.html#index-e1"><samp 
class="file">e1</samp></a></td><td class="printindex-index-section"><a 
href="prepended_to_filenames-chapter.html">chapter</a></td></tr>
+<tr><td colspan="3"><hr></td></tr>
+<tr><th id="prepended_to_labels-Index_cp_letter-I">I</th></tr>
+<tr><td></td><td class="printindex-index-entry"><a 
href="prepended_to_filenames-chapter.html#index-i2">i2</a></td><td 
class="printindex-index-section"><a 
href="prepended_to_filenames-chapter.html">chapter</a></td></tr>
+<tr><td colspan="3"><hr></td></tr>
+</table>
+<table class="cp-letters-footer-printindex"><tr><th>Skok do: &nbsp; 
</th><td><a class="summary-letter-printindex" 
href="#prepended_to_labels-Index_cp_letter-E"><b>E</b></a>
+ &nbsp; 
+<a class="summary-letter-printindex" 
href="#prepended_to_labels-Index_cp_letter-I"><b>I</b></a>
+ &nbsp; 
+</td></tr></table>
+</div>
+
+</div>
+
+
+
+</body>
+</html>
diff --git 
a/tp/t/results/init_files_tests/documentation_examples/res_html/prepended_to_filenames-chapter.html
 
b/tp/t/results/init_files_tests/documentation_examples/res_html/prepended_to_filenames-chapter.html
index b4a86e7565..1adbacdb81 100644
--- 
a/tp/t/results/init_files_tests/documentation_examples/res_html/prepended_to_filenames-chapter.html
+++ 
b/tp/t/results/init_files_tests/documentation_examples/res_html/prepended_to_filenames-chapter.html
@@ -3,22 +3,27 @@
 <!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<title>chapter (someone@example.com (me) undefined text-align:center, is 
undef|end|separate in&ndash;title erreur--&gt; est la m&ecirc;me que)</title>
+<title>chapter (someone@example.com (me Generated a sunny day using 
http://www.gnu.org/software/texinfo/ (http://www.gnu.org/software/texinfo/). 
(someone@example.com);) undefined text-align:center, is undef|end|separate 
in&ndash;title erreur--&gt; est la m&ecirc;me que)</title>
 
-<meta name="description" content="chapter (someone@example.com (me) undefined 
text-align:center, is undef|end|separate in&ndash;title erreur--&gt; est la 
m&ecirc;me que)">
-<meta name="keywords" content="chapter (someone@example.com (me) undefined 
text-align:center, is undef|end|separate in&ndash;title erreur--&gt; est la 
m&ecirc;me que)">
+<meta name="description" content="chapter (someone@example.com (me Generated a 
sunny day using http://www.gnu.org/software/texinfo/ 
(http://www.gnu.org/software/texinfo/). (someone@example.com);) undefined 
text-align:center, is undef|end|separate in&ndash;title erreur--&gt; est la 
m&ecirc;me que)">
+<meta name="keywords" content="chapter (someone@example.com (me Generated a 
sunny day using http://www.gnu.org/software/texinfo/ 
(http://www.gnu.org/software/texinfo/). (someone@example.com);) undefined 
text-align:center, is undef|end|separate in&ndash;title erreur--&gt; est la 
m&ecirc;me que)">
 <meta name="resource-type" content="document">
 <meta name="distribution" content="global">
 <meta name="viewport" content="width=device-width,initial-scale=1">
 
 <link href="index.html" rel="start" title="Top">
+<link href="prepended_to_filenames-Index.html" rel="index" title="Index">
+<link href="index.html#SEC_Contents" rel="contents" title="&rArr; La Table des 
mati&egrave;res">
 <link href="index.html" rel="up" title="Top">
+<link href="prepended_to_filenames-my-node.html" rel="next" title="my node">
 <link href="index.html" rel="prev" title="Top">
 <style type="text/css">
 <!--
 a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
+div.display {margin-left: 3.2em}
 div.example {margin-left: 3.2em}
 h1.titlefont {text-align:center}
+pre.display-preformatted {font-family: inherit}
 span:hover a.copiable-link {visibility: visible}
 -->
 </style>
@@ -30,29 +35,47 @@ span:hover a.copiable-link {visibility: visible}
 <div class="chapter-level-extent" id="prepended_to_labels-chapter">
 <div class="nav-panel">
 <p>
-Previous: <a href="index.html" accesskey="p" rel="prev">top</a>, Up: <a 
href="index.html" accesskey="u" rel="up">top</a> &nbsp; </p>
+Next: <a href="prepended_to_filenames-my-node.html" accesskey="n" 
rel="next">New node</a>, Previous: <a href="index.html" accesskey="p" 
rel="prev">top</a>, Up: <a href="index.html" accesskey="u" rel="up">top</a> 
&nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" 
rel="contents">Contents</a>][<a href="prepended_to_filenames-Index.html" 
title="Index" rel="index">Index</a>]</p>
 </div>
 <hr>
 <h2 class="chapter" id="Chapter"><span>1 Chapter<a class="copiable-link" 
href="#Chapter"> &para;</a></span></h2>
 
 <p><code class="sansserif">in--text</code> &shy; p--n. error--&gt; is the 
<strong class="strong">same</strong> as
-See <a class="xref" href="prepended_to_filenames-my-node.html">my node</a><a 
class="footnote" id="DOCF1_2" 
href="documentation_examples_fot.html#FOOT1_2"><sup>2</sup></a>.
+<samp>prepended_to_labels-my-node</samp>See <a class="xref" 
href="prepended_to_filenames-my-node.html">New node</a><a class="footnote" 
id="DOCF1_2" href="documentation_examples_fot.html#FOOT1_2"><sup>2</sup></a>.
  <code>HTML</code> text </p><h1 class="titlefont">in titlefont</h1>
-<p><a class="email" href="mailto:a@b.c";>someone</a> [undefined 
text-align:center, is undef|end|separate]
+<p><a class="email" href="mailto:a@b.c";>someone Generated <em class="emph">a 
sunny day</em> using <a class="uref" 
href="http://www.gnu.org/software/texinfo/";><em class="emph"></em></a>. (<a 
class="myurl" href="a@b.c">someone</a>);</a> [undefined text-align:center, is 
undef|end|separate]
 <small class="sc">in Sc</small>
 <var class="var">IN VAR</var>
  <code>HTML</code> text </p>
-<p><em class="math"><code class="sansserif">in--math</code> &shy; a=b 
error--&gt; is the <strong class="strong">same</strong> as</em>
+<p><em class="math jax_p"><span class="math-arg"><code 
class="sansserif">in--math</code> &shy; a=b error--&gt; is the <strong 
class="strong">same</strong> as</span></em>
  <code>HTML</code> text </p>
-<div class="example">
+<table class="indentedblock"><tr><td>&nbsp;</tr></td><div class="example">
 <pre class="example-preformatted"><code class="sansserif">in--example</code> 
&shy; c. error--&gt; is the <strong class="strong">same</strong> as
+<var><a class="email" href="mailto:a@example";>a@example Generated <em 
class="emph">a sunny day</em> using <a class="uref" 
href="http://www.gnu.org/software/texinfo/";><em class="emph"></em></a>. (<a 
class="myurl" href="a@example">a@example</a>);</a> [undefined 
text-align:center, is undef|end|separate]</var>
 </pre></div>
+</td></tr></table>
+
+<div class="display">
+<pre class="display-preformatted"><a class="email" 
href="mailto:a@display";>a@display Generated <em class="emph">a sunny day</em> 
using <a class="uref" href="http://www.gnu.org/software/texinfo/";><em 
class="emph"></em></a>. (<a class="myurl" href="a@display">a@display</a>);</a> 
[undefined text-align:center, is undef|end|separate]
+</pre></div>
+
+<table><p class="myanchor_class" id="anchor_id_1"></p>
+<td><tr><a href="#index-e1"><samp class="file">e1</samp><code>purple: 1, 
black: 42</code></a></tr><tr><a 
href="#prepended_to_labels-chapter">chapter</a></tr></td>
+<td><tr>e1</tr></td>
+</table>
+<table><p class="myanchor_class" id="anchor_id_2"></p>
+<td><tr><a href="#index-i2">i2<code>purple: 2, black: 42</code></a></tr><tr><a 
href="#prepended_to_labels-chapter">chapter</a></tr></td>
+<td><tr>i2</tr></td>
+</table>
+
+<div>No value for <strong class="strong">@vindex</strong></div>
 
 
 <p>erreur--&gt;.
  <code>HTML</code> text </p>
 <p>est la <strong class="strong">m&ecirc;me</strong> que
  <code>HTML</code> text </p>
+
 </div>
 
 
diff --git 
a/tp/t/results/init_files_tests/documentation_examples/res_html/prepended_to_filenames-my-node.html
 
b/tp/t/results/init_files_tests/documentation_examples/res_html/prepended_to_filenames-my-node.html
index 9ec1b72b6d..4713ce6917 100644
--- 
a/tp/t/results/init_files_tests/documentation_examples/res_html/prepended_to_filenames-my-node.html
+++ 
b/tp/t/results/init_files_tests/documentation_examples/res_html/prepended_to_filenames-my-node.html
@@ -3,15 +3,20 @@
 <!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<title>my node (someone@example.com (me) undefined text-align:center, is 
undef|end|separate in&ndash;title błąd--&gt; is the same as)</title>
+<title>my node (someone@example.com (me Generated a sunny day using 
http://www.gnu.org/software/texinfo/ (http://www.gnu.org/software/texinfo/). 
(someone@example.com);) undefined text-align:center, is undef|end|separate 
in&ndash;title błąd--&gt; is the same as)</title>
 
-<meta name="description" content="my node (someone@example.com (me) undefined 
text-align:center, is undef|end|separate in&ndash;title błąd--&gt; is the same 
as)">
-<meta name="keywords" content="my node (someone@example.com (me) undefined 
text-align:center, is undef|end|separate in&ndash;title błąd--&gt; is the same 
as)">
+<meta name="description" content="my node (someone@example.com (me Generated a 
sunny day using http://www.gnu.org/software/texinfo/ 
(http://www.gnu.org/software/texinfo/). (someone@example.com);) undefined 
text-align:center, is undef|end|separate in&ndash;title błąd--&gt; is the same 
as)">
+<meta name="keywords" content="my node (someone@example.com (me Generated a 
sunny day using http://www.gnu.org/software/texinfo/ 
(http://www.gnu.org/software/texinfo/). (someone@example.com);) undefined 
text-align:center, is undef|end|separate in&ndash;title błąd--&gt; is the same 
as)">
 <meta name="resource-type" content="document">
 <meta name="distribution" content="global">
 <meta name="viewport" content="width=device-width,initial-scale=1">
 
 <link href="index.html" rel="start" title="Top">
+<link href="prepended_to_filenames-Index.html" rel="index" title="Index">
+<link href="index.html#SEC_Contents" rel="contents" title="The Table of 
Contents">
+<link href="index.html" rel="up" title="Top">
+<link href="prepended_to_filenames-Index.html" rel="next" title="Index">
+<link href="prepended_to_filenames-chapter.html" rel="prev" title="chapter">
 <style type="text/css">
 <!--
 a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
@@ -23,14 +28,20 @@ span:hover a.copiable-link {visibility: visible}
 </head>
 
 <body lang="en">
-<h4 class="node" id="prepended_to_labels-my-node"><span>my node<a 
class="copiable-link" href="#prepended_to_labels-my-node"> 
&para;</a></span></h4>
+<div class="chapter-level-extent" id="prepended_to_labels-my-node">
+<div class="nav-panel">
+<p>
+Suivant: <a href="prepended_to_filenames-Index.html" accesskey="n" 
rel="next">Index</a>, Pr&eacute;c&eacute;dent: <a 
href="prepended_to_filenames-chapter.html" accesskey="p" 
rel="prev">Chapter</a>, Monter: <a href="index.html" accesskey="u" 
rel="up">top</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table des 
mati&egrave;res" rel="contents">Contenu</a>][<a 
href="prepended_to_filenames-Index.html" title="Index" 
rel="index">Index</a>]</p>
+</div>
+<hr>
+<h2 class="chapter" id="New-node"><span>2 New node<a class="copiable-link" 
href="#New-node"> &para;</a></span></h2>
 
 
 <p>błąd--&gt;.
  <code>HTML</code> text </p>
 <p>is the <strong class="strong">same</strong> as
  <code>HTML</code> text </p>
-
+</div>
 
 
 
diff --git a/tp/t/results/init_files_tests/documentation_examples_texi2html.pl 
b/tp/t/results/init_files_tests/documentation_examples_texi2html.pl
index 0bac56ab01..5511f3efad 100644
--- a/tp/t/results/init_files_tests/documentation_examples_texi2html.pl
+++ b/tp/t/results/init_files_tests/documentation_examples_texi2html.pl
@@ -129,6 +129,25 @@ $result_trees{'documentation_examples_texi2html'} = {
             },
             {
               'text' => '
+',
+              'type' => 'empty_line'
+            },
+            {
+              'args' => [
+                {
+                  'text' => '
+',
+                  'type' => 'rawline_arg'
+                }
+              ],
+              'cmdname' => 'contents',
+              'extra' => {},
+              'source_info' => {
+                'line_nr' => 4
+              }
+            },
+            {
+              'text' => '
 ',
               'type' => 'empty_line'
             }
@@ -166,7 +185,7 @@ $result_trees{'documentation_examples_texi2html'} = {
         }
       },
       'source_info' => {
-        'line_nr' => 4
+        'line_nr' => 6
       }
     },
     {
@@ -201,7 +220,7 @@ $result_trees{'documentation_examples_texi2html'} = {
         }
       },
       'source_info' => {
-        'line_nr' => 5
+        'line_nr' => 7
       }
     },
     {
@@ -232,7 +251,7 @@ $result_trees{'documentation_examples_texi2html'} = {
         }
       },
       'source_info' => {
-        'line_nr' => 7
+        'line_nr' => 9
       }
     },
     {
@@ -274,7 +293,7 @@ $result_trees{'documentation_examples_texi2html'} = {
               ],
               'cmdname' => 'sansserif',
               'source_info' => {
-                'line_nr' => 10
+                'line_nr' => 12
               }
             },
             {
@@ -294,7 +313,7 @@ $result_trees{'documentation_examples_texi2html'} = {
               ],
               'cmdname' => 'error',
               'source_info' => {
-                'line_nr' => 10
+                'line_nr' => 12
               }
             },
             {
@@ -308,7 +327,7 @@ $result_trees{'documentation_examples_texi2html'} = {
               ],
               'cmdname' => 'equiv',
               'source_info' => {
-                'line_nr' => 10
+                'line_nr' => 12
               }
             },
             {
@@ -336,7 +355,7 @@ $result_trees{'documentation_examples_texi2html'} = {
               ],
               'cmdname' => 'xref',
               'source_info' => {
-                'line_nr' => 11
+                'line_nr' => 13
               }
             },
             {
@@ -358,7 +377,7 @@ $result_trees{'documentation_examples_texi2html'} = {
               'cmdname' => 'footnote',
               'extra' => {},
               'source_info' => {
-                'line_nr' => 11
+                'line_nr' => 13
               }
             },
             {
@@ -382,7 +401,7 @@ $result_trees{'documentation_examples_texi2html'} = {
           'cmdname' => 'titlefont',
           'extra' => {},
           'source_info' => {
-            'line_nr' => 12
+            'line_nr' => 14
           }
         },
         {
@@ -423,7 +442,7 @@ $result_trees{'documentation_examples_texi2html'} = {
               ],
               'cmdname' => 'email',
               'source_info' => {
-                'line_nr' => 13
+                'line_nr' => 15
               }
             },
             {
@@ -443,7 +462,7 @@ $result_trees{'documentation_examples_texi2html'} = {
               ],
               'cmdname' => 'sc',
               'source_info' => {
-                'line_nr' => 14
+                'line_nr' => 16
               }
             },
             {
@@ -463,7 +482,7 @@ $result_trees{'documentation_examples_texi2html'} = {
               ],
               'cmdname' => 'var',
               'source_info' => {
-                'line_nr' => 15
+                'line_nr' => 17
               }
             },
             {
@@ -497,7 +516,7 @@ $result_trees{'documentation_examples_texi2html'} = {
                       ],
                       'cmdname' => 'sansserif',
                       'source_info' => {
-                        'line_nr' => 17
+                        'line_nr' => 19
                       }
                     },
                     {
@@ -517,7 +536,7 @@ $result_trees{'documentation_examples_texi2html'} = {
                       ],
                       'cmdname' => 'error',
                       'source_info' => {
-                        'line_nr' => 17
+                        'line_nr' => 19
                       }
                     },
                     {
@@ -531,7 +550,7 @@ $result_trees{'documentation_examples_texi2html'} = {
                       ],
                       'cmdname' => 'equiv',
                       'source_info' => {
-                        'line_nr' => 17
+                        'line_nr' => 19
                       }
                     }
                   ],
@@ -540,7 +559,7 @@ $result_trees{'documentation_examples_texi2html'} = {
               ],
               'cmdname' => 'math',
               'source_info' => {
-                'line_nr' => 17
+                'line_nr' => 19
               }
             },
             {
@@ -567,58 +586,218 @@ $result_trees{'documentation_examples_texi2html'} = {
               'type' => 'block_line_arg'
             }
           ],
-          'cmdname' => 'example',
+          'cmdname' => 'indentedblock',
           'contents' => [
             {
+              'args' => [
+                {
+                  'info' => {
+                    'spaces_after_argument' => {
+                      'text' => '
+'
+                    }
+                  },
+                  'type' => 'block_line_arg'
+                }
+              ],
+              'cmdname' => 'example',
               'contents' => [
                 {
-                  'args' => [
+                  'contents' => [
                     {
-                      'contents' => [
+                      'args' => [
                         {
-                          'text' => 'in--example'
+                          'contents' => [
+                            {
+                              'text' => 'in--example'
+                            }
+                          ],
+                          'type' => 'brace_command_arg'
                         }
                       ],
-                      'type' => 'brace_command_arg'
+                      'cmdname' => 'sansserif',
+                      'source_info' => {
+                        'line_nr' => 23
+                      }
+                    },
+                    {
+                      'text' => ' '
+                    },
+                    {
+                      'cmdname' => '-'
+                    },
+                    {
+                      'text' => ' c. '
+                    },
+                    {
+                      'args' => [
+                        {
+                          'type' => 'brace_command_arg'
+                        }
+                      ],
+                      'cmdname' => 'error',
+                      'source_info' => {
+                        'line_nr' => 23
+                      }
+                    },
+                    {
+                      'text' => ' '
+                    },
+                    {
+                      'args' => [
+                        {
+                          'type' => 'brace_command_arg'
+                        }
+                      ],
+                      'cmdname' => 'equiv',
+                      'source_info' => {
+                        'line_nr' => 23
+                      }
+                    },
+                    {
+                      'text' => '
+'
+                    },
+                    {
+                      'args' => [
+                        {
+                          'contents' => [
+                            {
+                              'text' => 'a'
+                            },
+                            {
+                              'cmdname' => '@'
+                            },
+                            {
+                              'text' => 'example'
+                            }
+                          ],
+                          'type' => 'brace_command_arg'
+                        }
+                      ],
+                      'cmdname' => 'email',
+                      'source_info' => {
+                        'line_nr' => 24
+                      }
+                    },
+                    {
+                      'text' => '
+'
                     }
                   ],
-                  'cmdname' => 'sansserif',
-                  'source_info' => {
-                    'line_nr' => 20
-                  }
-                },
-                {
-                  'text' => ' '
-                },
-                {
-                  'cmdname' => '-'
-                },
-                {
-                  'text' => ' c. '
+                  'type' => 'preformatted'
                 },
                 {
                   'args' => [
                     {
-                      'type' => 'brace_command_arg'
+                      'contents' => [
+                        {
+                          'text' => 'example'
+                        }
+                      ],
+                      'info' => {
+                        'spaces_after_argument' => {
+                          'text' => '
+'
+                        }
+                      },
+                      'type' => 'line_arg'
                     }
                   ],
-                  'cmdname' => 'error',
+                  'cmdname' => 'end',
+                  'extra' => {
+                    'text_arg' => 'example'
+                  },
+                  'info' => {
+                    'spaces_before_argument' => {
+                      'text' => ' '
+                    }
+                  },
                   'source_info' => {
-                    'line_nr' => 20
+                    'line_nr' => 25
                   }
-                },
+                }
+              ],
+              'source_info' => {
+                'line_nr' => 22
+              }
+            },
+            {
+              'args' => [
                 {
+                  'contents' => [
+                    {
+                      'text' => 'indentedblock'
+                    }
+                  ],
+                  'info' => {
+                    'spaces_after_argument' => {
+                      'text' => '
+'
+                    }
+                  },
+                  'type' => 'line_arg'
+                }
+              ],
+              'cmdname' => 'end',
+              'extra' => {
+                'text_arg' => 'indentedblock'
+              },
+              'info' => {
+                'spaces_before_argument' => {
                   'text' => ' '
-                },
+                }
+              },
+              'source_info' => {
+                'line_nr' => 26
+              }
+            }
+          ],
+          'source_info' => {
+            'line_nr' => 21
+          }
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'args' => [
+            {
+              'info' => {
+                'spaces_after_argument' => {
+                  'text' => '
+'
+                }
+              },
+              'type' => 'block_line_arg'
+            }
+          ],
+          'cmdname' => 'display',
+          'contents' => [
+            {
+              'contents' => [
                 {
                   'args' => [
                     {
+                      'contents' => [
+                        {
+                          'text' => 'a'
+                        },
+                        {
+                          'cmdname' => '@'
+                        },
+                        {
+                          'text' => 'display'
+                        }
+                      ],
                       'type' => 'brace_command_arg'
                     }
                   ],
-                  'cmdname' => 'equiv',
+                  'cmdname' => 'email',
                   'source_info' => {
-                    'line_nr' => 20
+                    'line_nr' => 29
                   }
                 },
                 {
@@ -633,7 +812,7 @@ $result_trees{'documentation_examples_texi2html'} = {
                 {
                   'contents' => [
                     {
-                      'text' => 'example'
+                      'text' => 'display'
                     }
                   ],
                   'info' => {
@@ -647,7 +826,7 @@ $result_trees{'documentation_examples_texi2html'} = {
               ],
               'cmdname' => 'end',
               'extra' => {
-                'text_arg' => 'example'
+                'text_arg' => 'display'
               },
               'info' => {
                 'spaces_before_argument' => {
@@ -655,16 +834,132 @@ $result_trees{'documentation_examples_texi2html'} = {
                 }
               },
               'source_info' => {
-                'line_nr' => 21
+                'line_nr' => 30
               }
             }
           ],
           'source_info' => {
-            'line_nr' => 19
+            'line_nr' => 28
           }
         },
         {
           'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'args' => [
+            {
+              'contents' => [
+                {
+                  'args' => [
+                    {
+                      'contents' => [
+                        {
+                          'text' => 'e1'
+                        }
+                      ],
+                      'type' => 'brace_command_arg'
+                    }
+                  ],
+                  'cmdname' => 'file',
+                  'source_info' => {
+                    'line_nr' => 32
+                  }
+                }
+              ],
+              'info' => {
+                'spaces_after_argument' => {
+                  'text' => '
+'
+                }
+              },
+              'type' => 'line_arg'
+            }
+          ],
+          'cmdname' => 'cindex',
+          'extra' => {
+            'element_node' => {},
+            'index_entry' => [
+              'cp',
+              1
+            ]
+          },
+          'info' => {
+            'command_name' => 'cindex',
+            'spaces_before_argument' => {
+              'text' => ' '
+            }
+          },
+          'source_info' => {
+            'line_nr' => 32
+          },
+          'type' => 'index_entry_command'
+        },
+        {
+          'args' => [
+            {
+              'contents' => [
+                {
+                  'text' => 'i2'
+                }
+              ],
+              'info' => {
+                'spaces_after_argument' => {
+                  'text' => '
+'
+                }
+              },
+              'type' => 'line_arg'
+            }
+          ],
+          'cmdname' => 'cindex',
+          'extra' => {
+            'element_node' => {},
+            'index_entry' => [
+              'cp',
+              2
+            ]
+          },
+          'info' => {
+            'command_name' => 'cindex',
+            'spaces_before_argument' => {
+              'text' => ' '
+            }
+          },
+          'source_info' => {
+            'line_nr' => 33
+          },
+          'type' => 'index_entry_command'
+        },
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'args' => [
+            {
+              'info' => {
+                'spaces_after_argument' => {
+                  'text' => '    
+'
+                }
+              },
+              'type' => 'line_arg'
+            }
+          ],
+          'cmdname' => 'vindex',
+          'info' => {
+            'command_name' => 'vindex'
+          },
+          'source_info' => {
+            'line_nr' => 35
+          },
+          'type' => 'index_entry_command'
+        },
+        {
+          'text' => '
 ',
           'type' => 'empty_line'
         },
@@ -695,7 +990,7 @@ $result_trees{'documentation_examples_texi2html'} = {
             }
           },
           'source_info' => {
-            'line_nr' => 23
+            'line_nr' => 37
           }
         },
         {
@@ -713,7 +1008,7 @@ $result_trees{'documentation_examples_texi2html'} = {
               ],
               'cmdname' => 'error',
               'source_info' => {
-                'line_nr' => 25
+                'line_nr' => 39
               }
             },
             {
@@ -738,7 +1033,7 @@ $result_trees{'documentation_examples_texi2html'} = {
               ],
               'cmdname' => 'equiv',
               'source_info' => {
-                'line_nr' => 27
+                'line_nr' => 41
               }
             },
             {
@@ -750,6 +1045,25 @@ $result_trees{'documentation_examples_texi2html'} = {
         },
         {
           'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'args' => [
+            {
+              'text' => '
+',
+              'type' => 'rawline_arg'
+            }
+          ],
+          'cmdname' => 'contents',
+          'extra' => {},
+          'source_info' => {
+            'line_nr' => 43
+          }
+        },
+        {
+          'text' => '
 ',
           'type' => 'empty_line'
         }
@@ -763,7 +1077,7 @@ $result_trees{'documentation_examples_texi2html'} = {
         }
       },
       'source_info' => {
-        'line_nr' => 8
+        'line_nr' => 10
       }
     },
     {
@@ -784,6 +1098,37 @@ $result_trees{'documentation_examples_texi2html'} = {
         }
       ],
       'cmdname' => 'node',
+      'extra' => {
+        'is_target' => 1,
+        'normalized' => 'my-node'
+      },
+      'info' => {
+        'spaces_before_argument' => {
+          'text' => ' '
+        }
+      },
+      'source_info' => {
+        'line_nr' => 45
+      }
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'text' => 'New node'
+            }
+          ],
+          'info' => {
+            'spaces_after_argument' => {
+              'text' => '
+'
+            }
+          },
+          'type' => 'line_arg'
+        }
+      ],
+      'cmdname' => 'chapter',
       'contents' => [
         {
           'text' => '
@@ -817,7 +1162,7 @@ $result_trees{'documentation_examples_texi2html'} = {
             }
           },
           'source_info' => {
-            'line_nr' => 31
+            'line_nr' => 48
           }
         },
         {
@@ -835,7 +1180,7 @@ $result_trees{'documentation_examples_texi2html'} = {
               ],
               'cmdname' => 'error',
               'source_info' => {
-                'line_nr' => 33
+                'line_nr' => 50
               }
             },
             {
@@ -860,7 +1205,7 @@ $result_trees{'documentation_examples_texi2html'} = {
               ],
               'cmdname' => 'equiv',
               'source_info' => {
-                'line_nr' => 35
+                'line_nr' => 52
               }
             },
             {
@@ -874,6 +1219,107 @@ $result_trees{'documentation_examples_texi2html'} = {
           'text' => '
 ',
           'type' => 'empty_line'
+        }
+      ],
+      'extra' => {
+        'section_number' => '2'
+      },
+      'info' => {
+        'spaces_before_argument' => {
+          'text' => ' '
+        }
+      },
+      'source_info' => {
+        'line_nr' => 46
+      }
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'text' => 'Index'
+            }
+          ],
+          'info' => {
+            'spaces_after_argument' => {
+              'text' => '
+'
+            }
+          },
+          'type' => 'line_arg'
+        }
+      ],
+      'cmdname' => 'node',
+      'extra' => {
+        'is_target' => 1,
+        'isindex' => 1,
+        'normalized' => 'Index'
+      },
+      'info' => {
+        'spaces_before_argument' => {
+          'text' => ' '
+        }
+      },
+      'source_info' => {
+        'line_nr' => 54
+      }
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'text' => 'Index'
+            }
+          ],
+          'info' => {
+            'spaces_after_argument' => {
+              'text' => '
+'
+            }
+          },
+          'type' => 'line_arg'
+        }
+      ],
+      'cmdname' => 'appendix',
+      'contents' => [
+        {
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'args' => [
+            {
+              'contents' => [
+                {
+                  'text' => 'cp'
+                }
+              ],
+              'info' => {
+                'spaces_after_argument' => {
+                  'text' => '
+'
+                }
+              },
+              'type' => 'line_arg'
+            }
+          ],
+          'cmdname' => 'printindex',
+          'extra' => {
+            'misc_args' => [
+              'cp'
+            ]
+          },
+          'info' => {
+            'spaces_before_argument' => {
+              'text' => ' '
+            }
+          },
+          'source_info' => {
+            'line_nr' => 57
+          }
         },
         {
           'text' => '
@@ -882,8 +1328,7 @@ $result_trees{'documentation_examples_texi2html'} = {
         }
       ],
       'extra' => {
-        'is_target' => 1,
-        'normalized' => 'my-node'
+        'section_number' => 'A'
       },
       'info' => {
         'spaces_before_argument' => {
@@ -891,17 +1336,21 @@ $result_trees{'documentation_examples_texi2html'} = {
         }
       },
       'source_info' => {
-        'line_nr' => 29
+        'line_nr' => 55
       }
     }
   ],
   'type' => 'document_root'
 };
 
$result_trees{'documentation_examples_texi2html'}{'contents'}[4]{'contents'}[1]{'contents'}[8]{'args'}[0]{'extra'}{'node_content'}{'contents'}[0]
 = 
$result_trees{'documentation_examples_texi2html'}{'contents'}[4]{'contents'}[1]{'contents'}[8]{'args'}[0]{'contents'}[0];
+$result_trees{'documentation_examples_texi2html'}{'contents'}[4]{'contents'}[12]{'extra'}{'element_node'}
 = $result_trees{'documentation_examples_texi2html'}{'contents'}[3];
+$result_trees{'documentation_examples_texi2html'}{'contents'}[4]{'contents'}[13]{'extra'}{'element_node'}
 = $result_trees{'documentation_examples_texi2html'}{'contents'}[3];
 
 $result_texis{'documentation_examples_texi2html'} = '
 @settitle @email{someone@@example.com, me} @sansserif{in--title} @error{} 
@equiv{}
 
+@contents
+
 @node Top
 @top top
 
@@ -917,9 +1366,21 @@ $result_texis{'documentation_examples_texi2html'} = '
 
 @math{@sansserif{in--math} @- a=b @error{} @equiv{}}
 
+@indentedblock
 @example
 @sansserif{in--example} @- c. @error{} @equiv{}
+@email{a@@example}
 @end example
+@end indentedblock
+
+@display
+@email{a@@display}
+@end display
+
+@cindex @file{e1}
+@cindex i2
+
+@vindex    
 
 @documentlanguage fr
 
@@ -927,7 +1388,10 @@ $result_texis{'documentation_examples_texi2html'} = '
 
 @equiv{}
 
+@contents
+
 @node my node
+@chapter New node
 
 @documentlanguage pl
 
@@ -935,11 +1399,16 @@ $result_texis{'documentation_examples_texi2html'} = '
 
 @equiv{}
 
+@node Index
+@appendix Index
+
+@printindex cp
 
 ';
 
 
 $result_texts{'documentation_examples_texi2html'} = '
+
 top
 ***
 
@@ -956,6 +1425,11 @@ in var
 in--math  a=b error--> ==
 
 in--example  c. error--> ==
+a@example
+
+a@display
+
+
 
 
 error-->.
@@ -963,11 +1437,17 @@ error-->.
 ==
 
 
+2 New node
+**********
+
 
 error-->.
 
 ==
 
+Appendix A Index
+****************
+
 
 ';
 
@@ -1003,6 +1483,49 @@ $result_sectioning{'documentation_examples_texi2html'} = 
{
                   'up' => {}
                 }
               }
+            },
+            {
+              'cmdname' => 'chapter',
+              'extra' => {
+                'associated_node' => {
+                  'cmdname' => 'node',
+                  'extra' => {
+                    'normalized' => 'my-node'
+                  }
+                },
+                'section_directions' => {
+                  'prev' => {},
+                  'up' => {}
+                },
+                'section_level' => 1,
+                'section_number' => '2',
+                'toplevel_directions' => {
+                  'prev' => {},
+                  'up' => {}
+                }
+              }
+            },
+            {
+              'cmdname' => 'appendix',
+              'extra' => {
+                'associated_node' => {
+                  'cmdname' => 'node',
+                  'extra' => {
+                    'isindex' => 1,
+                    'normalized' => 'Index'
+                  }
+                },
+                'section_directions' => {
+                  'prev' => {},
+                  'up' => {}
+                },
+                'section_level' => 1,
+                'section_number' => 'A',
+                'toplevel_directions' => {
+                  'prev' => {},
+                  'up' => {}
+                }
+              }
             }
           ],
           'section_level' => 0,
@@ -1017,6 +1540,14 @@ $result_sectioning{'documentation_examples_texi2html'} = 
{
 
$result_sectioning{'documentation_examples_texi2html'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0]{'extra'}{'section_directions'}{'up'}
 = 
$result_sectioning{'documentation_examples_texi2html'}{'extra'}{'section_childs'}[0];
 
$result_sectioning{'documentation_examples_texi2html'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0]{'extra'}{'toplevel_directions'}{'prev'}
 = 
$result_sectioning{'documentation_examples_texi2html'}{'extra'}{'section_childs'}[0];
 
$result_sectioning{'documentation_examples_texi2html'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0]{'extra'}{'toplevel_directions'}{'up'}
 = 
$result_sectioning{'documentation_examples_texi2html'}{'extra'}{'section_childs'}[0];
+$result_sectioning{'documentation_examples_texi2html'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[1]{'extra'}{'section_directions'}{'prev'}
 = 
$result_sectioning{'documentation_examples_texi2html'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0];
+$result_sectioning{'documentation_examples_texi2html'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[1]{'extra'}{'section_directions'}{'up'}
 = 
$result_sectioning{'documentation_examples_texi2html'}{'extra'}{'section_childs'}[0];
+$result_sectioning{'documentation_examples_texi2html'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[1]{'extra'}{'toplevel_directions'}{'prev'}
 = 
$result_sectioning{'documentation_examples_texi2html'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0];
+$result_sectioning{'documentation_examples_texi2html'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[1]{'extra'}{'toplevel_directions'}{'up'}
 = 
$result_sectioning{'documentation_examples_texi2html'}{'extra'}{'section_childs'}[0];
+$result_sectioning{'documentation_examples_texi2html'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[2]{'extra'}{'section_directions'}{'prev'}
 = 
$result_sectioning{'documentation_examples_texi2html'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[1];
+$result_sectioning{'documentation_examples_texi2html'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[2]{'extra'}{'section_directions'}{'up'}
 = 
$result_sectioning{'documentation_examples_texi2html'}{'extra'}{'section_childs'}[0];
+$result_sectioning{'documentation_examples_texi2html'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[2]{'extra'}{'toplevel_directions'}{'prev'}
 = 
$result_sectioning{'documentation_examples_texi2html'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[1];
+$result_sectioning{'documentation_examples_texi2html'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[2]{'extra'}{'toplevel_directions'}{'up'}
 = 
$result_sectioning{'documentation_examples_texi2html'}{'extra'}{'section_childs'}[0];
 
$result_sectioning{'documentation_examples_texi2html'}{'extra'}{'section_childs'}[0]{'extra'}{'sectioning_root'}
 = $result_sectioning{'documentation_examples_texi2html'};
 
 $result_nodes{'documentation_examples_texi2html'} = [
@@ -1038,6 +1569,39 @@ $result_nodes{'documentation_examples_texi2html'} = [
               }
             },
             'node_directions' => {
+              'next' => {
+                'cmdname' => 'node',
+                'extra' => {
+                  'associated_section' => {
+                    'cmdname' => 'chapter',
+                    'extra' => {
+                      'section_number' => '2'
+                    }
+                  },
+                  'node_directions' => {
+                    'next' => {
+                      'cmdname' => 'node',
+                      'extra' => {
+                        'associated_section' => {
+                          'cmdname' => 'appendix',
+                          'extra' => {
+                            'section_number' => 'A'
+                          }
+                        },
+                        'isindex' => 1,
+                        'node_directions' => {
+                          'prev' => {},
+                          'up' => {}
+                        },
+                        'normalized' => 'Index'
+                      }
+                    },
+                    'prev' => {},
+                    'up' => {}
+                  },
+                  'normalized' => 'my-node'
+                }
+              },
               'prev' => {},
               'up' => {}
             },
@@ -1049,16 +1613,18 @@ $result_nodes{'documentation_examples_texi2html'} = [
     }
   },
   {},
-  {
-    'cmdname' => 'node',
-    'extra' => {
-      'normalized' => 'my-node'
-    }
-  }
+  {},
+  {}
 ];
+$result_nodes{'documentation_examples_texi2html'}[0]{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'prev'}
 = 
$result_nodes{'documentation_examples_texi2html'}[0]{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'next'};
+$result_nodes{'documentation_examples_texi2html'}[0]{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'up'}
 = $result_nodes{'documentation_examples_texi2html'}[0];
+$result_nodes{'documentation_examples_texi2html'}[0]{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'prev'}
 = 
$result_nodes{'documentation_examples_texi2html'}[0]{'extra'}{'node_directions'}{'next'};
+$result_nodes{'documentation_examples_texi2html'}[0]{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'up'}
 = $result_nodes{'documentation_examples_texi2html'}[0];
 
$result_nodes{'documentation_examples_texi2html'}[0]{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'prev'}
 = $result_nodes{'documentation_examples_texi2html'}[0];
 
$result_nodes{'documentation_examples_texi2html'}[0]{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'up'}
 = $result_nodes{'documentation_examples_texi2html'}[0];
 $result_nodes{'documentation_examples_texi2html'}[1] = 
$result_nodes{'documentation_examples_texi2html'}[0]{'extra'}{'node_directions'}{'next'};
+$result_nodes{'documentation_examples_texi2html'}[2] = 
$result_nodes{'documentation_examples_texi2html'}[0]{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'next'};
+$result_nodes{'documentation_examples_texi2html'}[3] = 
$result_nodes{'documentation_examples_texi2html'}[0]{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'next'};
 
 $result_menus{'documentation_examples_texi2html'} = [
   {
@@ -1075,13 +1641,34 @@ $result_menus{'documentation_examples_texi2html'} = [
     'extra' => {
       'normalized' => 'my-node'
     }
+  },
+  {
+    'extra' => {
+      'normalized' => 'Index'
+    }
   }
 ];
 
-$result_errors{'documentation_examples_texi2html'} = [];
+$result_errors{'documentation_examples_texi2html'} = [
+  {
+    'error_line' => 'warning: @vindex missing argument
+',
+    'line_nr' => 35,
+    'text' => '@vindex missing argument',
+    'type' => 'warning'
+  }
+];
 
 
 $result_floats{'documentation_examples_texi2html'} = {};
 
 
+$result_indices_sort_strings{'documentation_examples_texi2html'} = {
+  'cp' => [
+    'e1',
+    'i2'
+  ]
+};
+
+
 1;
diff --git 
a/tp/t/results/init_files_tests/documentation_examples_texi2html/res_html/documentation_examples_texi2html.html
 
b/tp/t/results/init_files_tests/documentation_examples_texi2html/res_html/documentation_examples_texi2html.html
index d23a2e073b..539c3e242d 100644
--- 
a/tp/t/results/init_files_tests/documentation_examples_texi2html/res_html/documentation_examples_texi2html.html
+++ 
b/tp/t/results/init_files_tests/documentation_examples_texi2html/res_html/documentation_examples_texi2html.html
@@ -3,10 +3,10 @@
 <!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<title>someone@example.com (me) undefined text-align:center, is 
undef|separate|separate in&ndash;title error--&gt; is the same as</title>
+<title>someone@example.com (me Generated a sunny day using 
http://www.gnu.org/software/texinfo/ (http://www.gnu.org/software/texinfo/). 
(someone@example.com);) undefined text-align:center, is undef|separate|separate 
in&ndash;title error--&gt; is the same as</title>
 
-<meta name="description" content="someone@example.com (me) undefined 
text-align:center, is undef|separate|separate in&ndash;title error--&gt; is the 
same as">
-<meta name="keywords" content="someone@example.com (me) undefined 
text-align:center, is undef|separate|separate in&ndash;title error--&gt; is the 
same as">
+<meta name="description" content="someone@example.com (me Generated a sunny 
day using http://www.gnu.org/software/texinfo/ 
(http://www.gnu.org/software/texinfo/). (someone@example.com);) undefined 
text-align:center, is undef|separate|separate in&ndash;title error--&gt; is the 
same as">
+<meta name="keywords" content="someone@example.com (me Generated a sunny day 
using http://www.gnu.org/software/texinfo/ 
(http://www.gnu.org/software/texinfo/). (someone@example.com);) undefined 
text-align:center, is undef|separate|separate in&ndash;title error--&gt; is the 
same as">
 <meta name="resource-type" content="document">
 <meta name="distribution" content="global">
 <meta name="viewport" content="width=device-width,initial-scale=1">
@@ -14,15 +14,25 @@
 <style type="text/css">
 <!--
 a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
+a.summary-letter-printindex {text-decoration: none}
+div.display {margin-left: 3.2em}
 div.example {margin-left: 3.2em}
 h1.settitle {text-align:center}
 h1.titlefont {text-align:center}
+pre.display-preformatted {font-family: inherit}
+pre.menu-comment-preformatted {font-family: serif}
 span.program-in-footer {font-size: smaller}
 span:hover a.copiable-link {visibility: visible}
 td.button-direction-about {text-align:center}
 td.menu-entry-description {vertical-align: top}
 td.menu-entry-destination {vertical-align: top}
 td.name-direction-about {text-align:center}
+td.printindex-index-entry {vertical-align: top}
+td.printindex-index-section {vertical-align: top; padding-left: 1em}
+th.entries-header-printindex {text-align:left}
+th.menu-comment {text-align:left}
+th.sections-header-printindex {text-align:left; padding-left: 1em}
+ul.toc-numbered-mark {list-style: none}
 -->
 </style>
 
@@ -30,16 +40,29 @@ td.name-direction-about {text-align:center}
 </head>
 
 <body lang="en">
-<h1 class="settitle"><a class="email" href="mailto:someone@example.com";>me</a> 
[undefined text-align:center, is undef|separate|separate] <code 
class="sansserif">in&ndash;title</code> error--&gt; is the <strong 
class="strong">same</strong> as</h1>
+<h1 class="settitle"><a class="email" href="mailto:someone@example.com";>me 
Generated <em class="emph">a sunny day</em> using <a class="uref" 
href="http://www.gnu.org/software/texinfo/";><em class="emph"></em></a>. (<a 
class="myurl" href="someone@example.com">me</a>);</a> [undefined 
text-align:center, is undef|separate|separate] <code 
class="sansserif">in&ndash;title</code> error--&gt; is the <strong 
class="strong">same</strong> as</h1>
 <hr>
 
+<div class="region-contents" id="SEC_Contents">
+<h1 class="contents-heading">The <em class="emph">Table of Contents</em></h1>
+
+<div class="contents">
+
+<ul class="toc-numbered-mark">
+  <li><a id="toc-Chapter" href="#prepended_to_labels-chapter">1 
Chapter</a></li>
+  <li><a id="toc-New-node" href="#prepended_to_labels-my-node">2 New 
node</a></li>
+  <li><a id="toc-Index" href="#prepended_to_labels-Index" rel="index">Appendix 
A Index</a></li>
+</ul>
+</div>
+</div>
+
 <div class="top-level-extent" id="prepended_to_labels-Top">
 <table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
 <tr><td>[ &lt; ]</td>
-<td>[<a href="#prepended_to_labels-chapter" title="Next section in reading 
order"> &gt; </a>]</td>
+<td>[<a href="#prepended_to_labels-chapter" title="Next section in reading 
order">Forward</a>]</td>
 <td> &nbsp; </td>
-<td>[Contents]</td>
-<td>[Index]</td>
+<td>[<a href="#SEC_Contents" title="Table of contents">Contents</a>]</td>
+<td>[<a href="#prepended_to_labels-Index" title="Index">Index</a>]</td>
 <td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
 </tr></table>
 <h1 class="top" id="top"><span>top<a class="copiable-link" href="#top"> 
&para;</a></span></h1>
@@ -47,6 +70,14 @@ td.name-direction-about {text-align:center}
 <table class="menu" border="0" cellspacing="0">
 <tr><td class="menu-entry-destination"><a 
href="#prepended_to_labels-chapter">1 Chapter</a></td><td>&nbsp;&nbsp;</td><td 
class="menu-entry-description">
 </td></tr>
+<tr><td class="menu-entry-destination"><a 
href="#prepended_to_labels-my-node">2 New node</a></td><td>&nbsp;&nbsp;</td><td 
class="menu-entry-description">
+</td></tr>
+<tr><th class="menu-comment" colspan="3"><pre 
class="menu-comment-preformatted">
+
+Appendices
+
+</pre></th></tr><tr><td class="menu-entry-destination"><a 
href="#prepended_to_labels-Index" rel="index">Appendix A 
Index</a></td><td>&nbsp;&nbsp;</td><td class="menu-entry-description">
+</td></tr>
 </table>
 <hr style="height: 6px;">
 <div class="chapter-level-extent" id="prepended_to_labels-chapter">
@@ -54,43 +85,134 @@ td.name-direction-about {text-align:center}
 <tr><td>[<a href="#prepended_to_labels-Top" title="Beginning of this chapter 
or previous chapter"> &lt;&lt; </a>]</td>
 <td>[<a href="#prepended_to_labels-Top" title="Previous section in reading 
order"> &lt; </a>]</td>
 <td>[<a href="#prepended_to_labels-Top" title="Up section"> Up </a>]</td>
-<td>[ &gt; ]</td>
-<td>[ &gt;&gt; ]</td>
+<td>[<a href="#prepended_to_labels-my-node" title="Next section in reading 
order">Forward</a>]</td>
+<td>[<a href="#prepended_to_labels-my-node" title="Next chapter"> &gt;&gt; 
</a>]</td>
 <td> &nbsp; </td>
 <td> &nbsp; </td>
 <td> &nbsp; </td>
 <td> &nbsp; </td>
 <td>[<a href="#prepended_to_labels-Top" title="Cover (top) of 
document">Top</a>]</td>
-<td>[Contents]</td>
-<td>[Index]</td>
+<td>[<a href="#SEC_Contents" title="Table of contents">Contents</a>]</td>
+<td>[<a href="#prepended_to_labels-Index" title="Index">Index</a>]</td>
 <td>[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
 </tr></table>
 <h1 class="chapter" id="Chapter"><span>1 Chapter<a class="copiable-link" 
href="#Chapter"> &para;</a></span></h1>
 
 <p><code class="sansserif">in--text</code> &shy; p--n. error--&gt; is the 
<strong class="strong">same</strong> as
-See <a class="xref" href="#prepended_to_labels-my-node">my node</a><a 
class="footnote" id="DOCF1_2" href="#FOOT1_2"><sup>2</sup></a>.
+<samp>prepended_to_labels-my-node</samp>See <a class="xref" 
href="#prepended_to_labels-my-node">New node</a><a class="footnote" 
id="DOCF1_2" href="#FOOT1_2"><sup>2</sup></a>.
  <code>HTML</code> text </p><h1 class="titlefont">in titlefont</h1>
-<p><a class="email" href="mailto:a@b.c";>someone</a> [undefined 
text-align:center, is undef|separate|separate]
+<p><a class="email" href="mailto:a@b.c";>someone Generated <em class="emph">a 
sunny day</em> using <a class="uref" 
href="http://www.gnu.org/software/texinfo/";><em class="emph"></em></a>. (<a 
class="myurl" href="a@b.c">someone</a>);</a> [undefined text-align:center, is 
undef|separate|separate]
 <small class="sc">in Sc</small>
 <var class="var">IN VAR</var>
  <code>HTML</code> text </p>
-<p><em class="math"><code class="sansserif">in--math</code> &shy; a=b 
error--&gt; is the <strong class="strong">same</strong> as</em>
+<p><em class="math jax_p"><span class="math-arg"><code 
class="sansserif">in--math</code> &shy; a=b error--&gt; is the <strong 
class="strong">same</strong> as</span></em>
  <code>HTML</code> text </p>
-<div class="example">
+<table class="indentedblock"><tr><td>&nbsp;</tr></td><div class="example">
 <pre class="example-preformatted"><code class="sansserif">in--example</code> 
&shy; c. error--&gt; is the <strong class="strong">same</strong> as
+<var><a class="email" href="mailto:a@example";>a@example Generated <em 
class="emph">a sunny day</em> using <a class="uref" 
href="http://www.gnu.org/software/texinfo/";><em class="emph"></em></a>. (<a 
class="myurl" href="a@example">a@example</a>);</a> [undefined 
text-align:center, is undef|separate|separate]</var>
 </pre></div>
+</td></tr></table>
+
+<div class="display">
+<pre class="display-preformatted"><a class="email" 
href="mailto:a@display";>a@display Generated <em class="emph">a sunny day</em> 
using <a class="uref" href="http://www.gnu.org/software/texinfo/";><em 
class="emph"></em></a>. (<a class="myurl" href="a@display">a@display</a>);</a> 
[undefined text-align:center, is undef|separate|separate]
+</pre></div>
+
+<table><p class="myanchor_class" id="anchor_id_1"></p>
+<td><tr><a href="#index-e1"><samp class="file">e1</samp><code>purple: 1, 
black: 42</code></a></tr><tr><a href="#prepended_to_labels-chapter">1 
Chapter</a></tr></td>
+<td><tr>e1</tr></td>
+</table>
+<table><p class="myanchor_class" id="anchor_id_2"></p>
+<td><tr><a href="#index-i2">i2<code>purple: 2, black: 42</code></a></tr><tr><a 
href="#prepended_to_labels-chapter">1 Chapter</a></tr></td>
+<td><tr>i2</tr></td>
+</table>
+
+<div>No value for <strong class="strong">@vindex</strong></div>
 
 
 <p>erreur--&gt;.
  <code>HTML</code> text </p>
 <p>est la <strong class="strong">m&ecirc;me</strong> que
  <code>HTML</code> text </p>
-<a class="node" id="prepended_to_labels-my-node"></a>
+<div class="region-contents" id="SEC_Contents">
+<h1 class="contents-heading">&rArr; La <em class="emph">Table des 
mati&egrave;res</em></h1>
+
+<div class="contents">
+
+<ul class="toc-numbered-mark">
+  <li><a id="toc-Chapter" href="#prepended_to_labels-chapter">1 
Chapter</a></li>
+  <li><a id="toc-New-node" href="#prepended_to_labels-my-node">2 New 
node</a></li>
+  <li><a id="toc-Index" href="#prepended_to_labels-Index" rel="index">Appendix 
A Index</a></li>
+</ul>
+</div>
+</div>
+
+<hr>
+</div>
+<div class="chapter-level-extent" id="prepended_to_labels-my-node">
+<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
+<tr><td>[<a href="#prepended_to_labels-chapter" title="D&eacute;but de ce 
chapitre ou chapitre pr&eacute;c&eacute;dent"> &lt;&lt; </a>]</td>
+<td>[<a href="#prepended_to_labels-chapter" title="Section 
pr&eacute;c&eacute;dente dans l&rsquo;ordre de lecture"> &lt; </a>]</td>
+<td>[<a href="#prepended_to_labels-Top" title="Section sup&eacute;rieure">Plus 
haut</a>]</td>
+<td>[<a href="#prepended_to_labels-Index" title="Section suivante dans 
l&rsquo;ordre de lecture">Vers l&rsquo;avant &rArr;</a>]</td>
+<td>[<a href="#prepended_to_labels-Index" title="Chapitre suivant"> &gt;&gt; 
</a>]</td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td>[<a href="#prepended_to_labels-Top" title="Couverture (top) du 
document">Racine</a>]</td>
+<td>[<a href="#SEC_Contents" title="Table des 
mati&egrave;res">Contenu</a>]</td>
+<td>[<a href="#prepended_to_labels-Index" title="Index">Index</a>]</td>
+<td>[<a href="#SEC_About" title="A propos (page d&rsquo;aide)"> ? </a>]</td>
+</tr></table>
+<h1 class="chapter" id="New-node"><span>2 New node<a class="copiable-link" 
href="#New-node"> &para;</a></span></h1>
+
 
 <p>błąd--&gt;.
  <code>HTML</code> text </p>
 <p>is the <strong class="strong">same</strong> as
  <code>HTML</code> text </p>
+<hr>
+</div>
+<div class="appendix-level-extent" id="prepended_to_labels-Index">
+<table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
+<tr><td>[<a href="#prepended_to_labels-my-node" title="Początek tego rozdziału 
lub rozdział poprzedni"> &lt;&lt; </a>]</td>
+<td>[<a href="#prepended_to_labels-my-node" title="Sekcja poprzednia w 
kolejności czytania"> &lt; </a>]</td>
+<td>[<a href="#prepended_to_labels-Top" title="Sekcja w górę"> W górę 
</a>]</td>
+<td>[Forward]</td>
+<td>[ &gt;&gt; ]</td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td> &nbsp; </td>
+<td>[<a href="#prepended_to_labels-Top" title="Okładka (wierzch) 
dokumentu">Wierzchni</a>]</td>
+<td>[<a href="#SEC_Contents" title="Spis treści">Treść</a>]</td>
+<td>[<a href="#prepended_to_labels-Index" title="Indeks">Indeks</a>]</td>
+<td>[<a href="#SEC_About" title="O dokumencie (pomoc)"> ? </a>]</td>
+</tr></table>
+<h1 class="appendix" id="Index"><span>Appendix A Index<a class="copiable-link" 
href="#Index"> &para;</a></span></h1>
+
+<strong>RC: Index</strong><div class="printindex cp-printindex">
+<table class="cp-letters-header-printindex"><tr><th>Skok do: &nbsp; 
</th><td><a class="summary-letter-printindex" 
href="#Index_cp_letter-E"><b>E</b></a>
+ &nbsp; 
+<a class="summary-letter-printindex" href="#Index_cp_letter-I"><b>I</b></a>
+ &nbsp; 
+</td></tr></table>
+<table class="cp-entries-printindex" border="0">
+<tr><td></td><th class="entries-header-printindex">Wpis indeksu</th><th 
class="sections-header-printindex">Sekcja</th></tr>
+<tr><td colspan="3"><hr></td></tr>
+<tr><th id="Index_cp_letter-E">E</th></tr>
+<tr><td></td><td class="printindex-index-entry"><a href="#index-e1"><samp 
class="file">e1</samp></a></td><td class="printindex-index-section"><a 
href="#prepended_to_labels-chapter">1 Chapter</a></td></tr>
+<tr><td colspan="3"><hr></td></tr>
+<tr><th id="Index_cp_letter-I">I</th></tr>
+<tr><td></td><td class="printindex-index-entry"><a 
href="#index-i2">i2</a></td><td class="printindex-index-section"><a 
href="#prepended_to_labels-chapter">1 Chapter</a></td></tr>
+<tr><td colspan="3"><hr></td></tr>
+</table>
+<table class="cp-letters-footer-printindex"><tr><th>Skok do: &nbsp; 
</th><td><a class="summary-letter-printindex" 
href="#Index_cp_letter-E"><b>E</b></a>
+ &nbsp; 
+<a class="summary-letter-printindex" href="#Index_cp_letter-I"><b>I</b></a>
+ &nbsp; 
+</td></tr></table>
+</div>
 
 <hr style="height: 6px;">
 </div>
@@ -98,8 +220,8 @@ See <a class="xref" href="#prepended_to_labels-my-node">my 
node</a><a class="foo
 <div class="element-footnotes" id="SEC_Footnotes">
 <table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
 <tr><td>[<a href="#prepended_to_labels-Top" title="Okładka (wierzch) 
dokumentu">Wierzchni</a>]</td>
-<td>[Treść]</td>
-<td>[Indeks]</td>
+<td>[<a href="#SEC_Contents" title="Spis treści">Treść</a>]</td>
+<td>[<a href="#prepended_to_labels-Index" title="Indeks">Indeks</a>]</td>
 <td>[<a href="#SEC_About" title="O dokumencie (pomoc)"> ? </a>]</td>
 </tr></table>
 <h1 class="footnotes-heading">Przypisy</h1>
@@ -112,8 +234,8 @@ See <a class="xref" href="#prepended_to_labels-my-node">my 
node</a><a class="foo
 <div class="element-about" id="SEC_About">
 <table class="nav-panel" cellpadding="1" cellspacing="1" border="0">
 <tr><td>[<a href="#prepended_to_labels-Top" title="Okładka (wierzch) 
dokumentu">Wierzchni</a>]</td>
-<td>[Treść]</td>
-<td>[Indeks]</td>
+<td>[<a href="#SEC_Contents" title="Spis treści">Treść</a>]</td>
+<td>[<a href="#prepended_to_labels-Index" title="Indeks">Indeks</a>]</td>
 <td>[<a href="#SEC_About" title="O dokumencie (pomoc)"> ? </a>]</td>
 </tr></table>
 <h1 class="about-heading">O tym dokumencie</h1>
@@ -150,7 +272,7 @@ See <a class="xref" href="#prepended_to_labels-my-node">my 
node</a><a class="foo
     <td>1.2</td>
   </tr>
   <tr>
-    <td class="button-direction-about"> [ &gt; ] </td>
+    <td class="button-direction-about"> [Forward] </td>
     <td class="name-direction-about">WPrzód</td>
     <td>Sekcja następna w kolejności czytania</td>
     <td>1.2.4</td>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]