texinfo-commits
[Top][All Lists]
Advanced

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

texinfo/tp texi2any.pl Texinfo/Structuring.pm T...


From: Patrice Dumas
Subject: texinfo/tp texi2any.pl Texinfo/Structuring.pm T...
Date: Tue, 06 Sep 2011 20:20:50 +0000

CVSROOT:        /sources/texinfo
Module name:    texinfo
Changes by:     Patrice Dumas <pertusus>        11/09/06 20:20:50

Modified files:
        tp             : texi2any.pl 
        tp/Texinfo     : Structuring.pm 
        tp/Texinfo/Convert: Converter.pm Unicode.pm XML.pm 
        tp/t           : 02coverage.t test_utils.pl 
        tp/t/results/coverage: accent_and_dash.pl 
                               at_after_accent_command.pl 
                               block_commands.pl cartouche.pl 
                               cartouche_in_quotation.pl center.pl 
                               commands.pl def.pl 
                               flushleft_flushright.pl 
                               flushleft_flushright_in_quotation.pl 
                               hyphenation.pl insertcopying.pl 
                               lettered_accent_and_spaces.pl math.pl 
                               nested_block_commands.pl 
                               quotation_author.pl 
                               setfilename_in_paragraph.pl test_tie.pl 
                               test_today.pl verbatiminclude.pl 
        tp/t/results/sectioning: node_part_chapter_after_top.pl 
                                 part_before_section.pl 
                                 part_chapter_after_top.pl 
                                 part_node_chapter_after_top.pl 
                                 section_before_chapter.pl 
                                 section_before_part.pl 
                                 section_before_top.pl 
                                 section_before_top_no_node.pl 
                                 section_chapter_before_top.pl 
                                 section_node_before_part.pl 
                                 top_part_chapter.pl 
Added files:
        tp/t           : xml_tests.t 
        tp/t/results/xml_tests: image_inline_or_not.pl 

Log message:
        Find inline command and use it for @image in XML.
        
        Put %commands_args_style in Convert::Converter.
        
        Handle better end lines in XML.
        
        xml_accent accepts the formatting command as an optional 
        argument.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/texi2any.pl?cvsroot=texinfo&r1=1.57&r2=1.58
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Structuring.pm?cvsroot=texinfo&r1=1.80&r2=1.81
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Convert/Converter.pm?cvsroot=texinfo&r1=1.33&r2=1.34
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Convert/Unicode.pm?cvsroot=texinfo&r1=1.14&r2=1.15
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Convert/XML.pm?cvsroot=texinfo&r1=1.15&r2=1.16
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/02coverage.t?cvsroot=texinfo&r1=1.58&r2=1.59
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/test_utils.pl?cvsroot=texinfo&r1=1.94&r2=1.95
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/xml_tests.t?cvsroot=texinfo&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/coverage/accent_and_dash.pl?cvsroot=texinfo&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/coverage/at_after_accent_command.pl?cvsroot=texinfo&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/coverage/block_commands.pl?cvsroot=texinfo&r1=1.40&r2=1.41
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/coverage/cartouche.pl?cvsroot=texinfo&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/coverage/cartouche_in_quotation.pl?cvsroot=texinfo&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/coverage/center.pl?cvsroot=texinfo&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/coverage/commands.pl?cvsroot=texinfo&r1=1.45&r2=1.46
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/coverage/def.pl?cvsroot=texinfo&r1=1.50&r2=1.51
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/coverage/flushleft_flushright.pl?cvsroot=texinfo&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/coverage/flushleft_flushright_in_quotation.pl?cvsroot=texinfo&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/coverage/hyphenation.pl?cvsroot=texinfo&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/coverage/insertcopying.pl?cvsroot=texinfo&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/coverage/lettered_accent_and_spaces.pl?cvsroot=texinfo&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/coverage/math.pl?cvsroot=texinfo&r1=1.26&r2=1.27
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/coverage/nested_block_commands.pl?cvsroot=texinfo&r1=1.24&r2=1.25
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/coverage/quotation_author.pl?cvsroot=texinfo&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/coverage/setfilename_in_paragraph.pl?cvsroot=texinfo&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/coverage/test_tie.pl?cvsroot=texinfo&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/coverage/test_today.pl?cvsroot=texinfo&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/coverage/verbatiminclude.pl?cvsroot=texinfo&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/sectioning/node_part_chapter_after_top.pl?cvsroot=texinfo&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/sectioning/part_before_section.pl?cvsroot=texinfo&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/sectioning/part_chapter_after_top.pl?cvsroot=texinfo&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/sectioning/part_node_chapter_after_top.pl?cvsroot=texinfo&r1=1.16&r2=1.17
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/sectioning/section_before_chapter.pl?cvsroot=texinfo&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/sectioning/section_before_part.pl?cvsroot=texinfo&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/sectioning/section_before_top.pl?cvsroot=texinfo&r1=1.13&r2=1.14
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/sectioning/section_before_top_no_node.pl?cvsroot=texinfo&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/sectioning/section_chapter_before_top.pl?cvsroot=texinfo&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/sectioning/section_node_before_part.pl?cvsroot=texinfo&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/sectioning/top_part_chapter.pl?cvsroot=texinfo&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/xml_tests/image_inline_or_not.pl?cvsroot=texinfo&rev=1.1

Patches:
Index: texi2any.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/texi2any.pl,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -b -r1.57 -r1.58
--- texi2any.pl 3 Sep 2011 17:41:01 -0000       1.57
+++ texi2any.pl 6 Sep 2011 20:20:43 -0000       1.58
@@ -100,7 +100,8 @@
 $messages_textdomain = 'texinfo' if ($messages_textdomain eq '@'.'PACKAGE@');
 my $strings_textdomain = '@PACKAGE@' . '_document';
 # FIXME use texinfo
-$strings_textdomain = 'texi2html_document' if ($strings_textdomain eq 
'@'.'PACKAGE@' . '_document');
+$strings_textdomain = 'texi2html_document' 
+   if ($strings_textdomain eq '@'.'PACKAGE@' . '_document');
 
 sub __($) {
   my $msgid = shift;
@@ -153,6 +154,7 @@
 } else {
   Locale::Messages::bindtextdomain ($strings_textdomain, "$datadir/locale");
 }
+
 Locale::Messages::bindtextdomain ($messages_textdomain, "$datadir/locale");
 
 if ($0 =~ /\.pl$/) {
@@ -185,6 +187,7 @@
 require Texinfo::Convert::Info;
 require Texinfo::Convert::HTML;
 require Texinfo::Convert::XML;
+#require Texinfo::Convert::DocBook;
 require DebugTexinfo::DebugCount;
 
 # determine configuration directories.
@@ -777,6 +780,9 @@
              'nodes_tree' => 1,
              'converter' => sub{Texinfo::Convert::XML->converter(@_)},
            },
+#  'docbook' => {
+#             'converter' => sub{Texinfo::Convert::DocBook->converter(@_)},
+#           },
   'pdf' => {
              'texi2dvi_format' => 1,
            },

Index: Texinfo/Structuring.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Structuring.pm,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -b -r1.80 -r1.81
--- Texinfo/Structuring.pm      30 Aug 2011 22:26:45 -0000      1.80
+++ Texinfo/Structuring.pm      6 Sep 2011 20:20:44 -0000       1.81
@@ -1043,7 +1043,8 @@
       if ($float->{'float_section'}) {
         my $up = $float->{'float_section'};
         while ($up->{'section_up'} 
-               and $command_structuring_level{$up->{'cmdname'}} 
+               #and $command_structuring_level{$up->{'cmdname'}} 
+               and defined($up->{'section_up'}->{'cmdname'})
                and 
$command_structuring_level{$up->{'section_up'}->{'cmdname'}}) {
           $up = $up->{'section_up'};
         }

Index: Texinfo/Convert/Converter.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Convert/Converter.pm,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -b -r1.33 -r1.34
--- Texinfo/Convert/Converter.pm        4 Sep 2011 18:13:16 -0000       1.33
+++ Texinfo/Convert/Converter.pm        6 Sep 2011 20:20:44 -0000       1.34
@@ -278,7 +278,7 @@
 
 my $STDIN_DOCU_NAME = 'stdin';
 
-# This is especially useful for unsplit manuals
+# This is especially useful for unsplit manuals
 sub _set_outfile($$$)
 {
   my $self = shift;
@@ -442,6 +442,53 @@
   return $tree;
 }
 
+my @inline_types = ('def_line', 'paragraph', 'preformatted',
+  'misc_command_arg', 'misc_line_arg', 'block_line_arg',
+  'menu_entry_name', 'menu_entry_node');
+
+my %inline_types;
+foreach my $type (@inline_types) {
+  $inline_types{$type} = 1;
+}
+
+my %not_inline_commands = (%Texinfo::Common::root_commands, 
+  %Texinfo::Common::block_commands, %Texinfo::Common::context_brace_command);
+
+sub _is_inline($$)
+{
+  my $self = shift;
+  my $current = shift;
+  while ($current->{'parent'}) {
+    $current = $current->{'parent'};
+    if ($current->{'type'} and $inline_types{$current->{'type'}}) {
+      return 1;
+    } elsif ($current->{'cmdname'} 
+             and $not_inline_commands{$current->{'cmdname'}}) {
+      return 0;
+    }
+  }
+  return 0;
+}
+
+our %default_args_code_style = (
+  'email' => ['code'],
+  'anchor' => ['code'],
+  'uref' => ['code'],
+  'url' => ['code'],
+  'math' => ['code'],
+  'inforef' => ['code',undef,'code'],
+  'image' => ['code', 'code', 'code', undef, 'code'],
+# and type?
+  'float' => ['code'],
+);
+
+foreach my $code_style_command (keys(%Texinfo::Common::code_style_commands)) {
+  $default_args_code_style{$code_style_command} = ['code'];
+}
+foreach my $ref_cmd ('pxref', 'xref', 'ref') {
+  $default_args_code_style{$ref_cmd} = ['code', undef, undef, 'code'];
+}
+
 sub xml_protect_text($$)
 {
   my $self = shift;
@@ -451,10 +498,9 @@
   $text =~ s/>/&gt;/g;
   $text =~ s/\"/&quot;/g;
   return $text;
-
 }
 
-# 'today' is not set here.
+# 'today' is not set here.
 our %default_xml_commands_formatting; 
 $default_xml_commands_formatting{'normal'} = {
                'TeX'          => 'TeX',
@@ -579,6 +625,9 @@
       
hex($Texinfo::Convert::Unicode::unicode_accented_letters{$accent}->{$text}). 
';';
   }
   return $text . '&lt;' if ($accent eq 'v');
+  # FIXME it is not possible to call xml_protect_text since what is in $text
+  # may already be xml.  But this means that each time ascii_accent changes
+  # it should be changed here too.
   return Texinfo::Convert::Text::ascii_accent($text, $command);
 }
 
@@ -590,17 +639,19 @@
   return xml_accent($text, $command, $in_upper_case, 1);
 }
 
-sub xml_accents($$;$)
+sub xml_accents($$;$$)
 { 
   my $self = shift;
   my $accent = shift;
   my $in_upper_case = shift;
-  my $format_accents;
+  my $format_accents = shift;
+  if (!defined($format_accents)) {
   if ($self->get_conf('USE_NUMERIC_ENTITY')) {
     $format_accents = \&xml_accent_numeric_entities;
   } else {
     $format_accents = \&xml_accent;
   }
+  }
   
   if ($self->get_conf('ENABLE_ENCODING')) {
     if ($self->{'encoding_name'} and $self->{'encoding_name'} eq 'utf-8') {

Index: Texinfo/Convert/Unicode.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Convert/Unicode.pm,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- Texinfo/Convert/Unicode.pm  20 Aug 2011 14:38:47 -0000      1.14
+++ Texinfo/Convert/Unicode.pm  6 Sep 2011 20:20:44 -0000       1.15
@@ -517,8 +517,8 @@
                'guillemotright'    => '00BB',
                'guilsinglleft'     => '2039',
                'guilsinglright'    => '203A',
-               # this should only happen if the @clickstyle argument isn't a 
-               # command with braces and no argument.
+               # this should only happen if the @clickstyle argument isn't a 
+               # command with braces and no argument.
                'click'             => '2192',
              );
 

Index: Texinfo/Convert/XML.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Convert/XML.pm,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- Texinfo/Convert/XML.pm      4 Sep 2011 12:14:03 -0000       1.15
+++ Texinfo/Convert/XML.pm      6 Sep 2011 20:20:44 -0000       1.16
@@ -183,20 +183,8 @@
   delete $xml_misc_commands{$command};
 }
 
-my %commands_args_style = (
-  'email' => ['code'],
-  'anchor' => ['code'],
-  'uref' => ['code'],
-  'url' => ['code'],
-  'inforef' => ['code',undef,'code'],
-  'image' => ['code', 'code', 'code', undef, 'code'],
-# and type?
-  'float' => ['code'],
-);
-
-foreach my $code_style_command (keys(%Texinfo::Common::code_style_commands)) {
-  $commands_args_style{$code_style_command} = ['code']; 
-}
+my %default_args_code_style
+  = %Texinfo::Convert::Converter::default_args_code_style;
 
 my %commands_args_elements = (
   'email' => ['emailaddress', 'emailname'],
@@ -211,7 +199,6 @@
 );
 
 foreach my $ref_cmd ('pxref', 'xref', 'ref') {
-  $commands_args_style{$ref_cmd} = ['code', undef, undef, 'code'];
   $commands_args_elements{$ref_cmd} 
     = ['xrefnodename', 'xrefinfoname', 'xrefprinteddesc', 'xrefinfofile', 
        'xrefprintedname'];
@@ -243,15 +230,15 @@
 );
 
 my %ignored_types;
-foreach my $type ('empty_line_after_command',
-            'empty_spaces_after_command', 'spaces_at_end',
+foreach my $type (#'empty_line_after_command',
+            'empty_spaces_after_command', 
+            #'spaces_at_end',
             'empty_spaces_before_argument', 'empty_spaces_before_paragraph',
             'empty_spaces_after_close_brace', 
             'empty_space_at_end_def_bracketed',
             # FIXME keep those? Information is lost...
             'menu_entry_separator',
             'menu_entry_leading_text',
-            
   ) {
   $ignored_types{$type} = 1;
 }
@@ -489,8 +476,8 @@
         my $in_code;
         $in_code = 1
           if ($format_item_command 
-              and defined($commands_args_style{$format_item_command})
-              and defined($commands_args_style{$format_item_command}->[0]));
+              and defined($default_args_code_style{$format_item_command})
+              and 
defined($default_args_code_style{$format_item_command}->[0]));
         $self->{'document_context'}->[-1]->{'code'}++ if ($in_code);
         $result .= $self->_convert($root->{'args'}->[0]);
         $self->{'document_context'}->[-1]->{'code'}-- if ($in_code);
@@ -538,8 +525,14 @@
                 . $self->xml_protect_text($root->{'extra'}->{'text_arg'}) 
."\"";
           }
         }
-        return "<$command${attribute}>".$self->_convert($root->{'args'}->[0])
-               ."</$command>\n"
+        my $arg = $self->_convert($root->{'args'}->[0]);
+        my $end_line;
+        if (chomp ($arg)) {
+          $end_line = "\n";
+        } else {
+          $end_line = "";
+        }
+        return "<$command${attribute}>$arg</$command>$end_line";
       } elsif ($type eq 'line') {
         if ($root->{'cmdname'} eq 'node') {
           $result .= "<node name=\"$root->{'extra'}->{'normalized'}\">\n";
@@ -583,10 +576,16 @@
             $attribute = '';
           }
           $result .= "<$command${attribute}>\n";
-          $result .= "<title>". 
$self->_convert($root->{'args'}->[0])."</title>\n"
-            if ($root->{'args'} and $root->{'args'}->[0]);
-         # FIXME index entry + new index entries that should appear elsewhere
-        #} elsif {
+          if ($root->{'args'} and $root->{'args'}->[0]) {
+            my $arg = $self->_convert($root->{'args'}->[0]);
+            my $end_line;
+            if (chomp ($arg)) {
+              $end_line = "\n";
+            } else {
+              $end_line = "";
+            }
+            $result .= "<title>$arg</title>$end_line"
+          }
         } else {
           my $attribute = '';
           if ($root->{'cmdname'} eq 'listoffloats' and $root->{'extra'} 
@@ -595,8 +594,13 @@
             $attribute = " 
type=\"$root->{'extra'}->{'type'}->{'normalized'}\"";
           }
           my $arg = $self->_convert($root->{'args'}->[0]);
-          #chomp ($arg);
-          return "<$command${attribute}>$arg</$command>\n";
+          my $end_line;
+          if (chomp ($arg)) {
+            $end_line = "\n";
+          } else {
+            $end_line = "";
+          }
+          return "<$command${attribute}>$arg</$command>$end_line";
         }
       } elsif ($type eq 'skipline' or $type eq 'noarg') {
         return "<$command></$command>\n";
@@ -663,8 +667,8 @@
              and $root->{'type'} eq 'definfoenclose_command') {
       my $in_code;
       $in_code = 1
-        if (defined($commands_args_style{$root->{'cmdname'}})
-            and defined($commands_args_style{$root->{'cmdname'}}->[0]));
+        if (defined($default_args_code_style{$root->{'cmdname'}})
+            and defined($default_args_code_style{$root->{'cmdname'}}->[0]));
       $self->{'document_context'}->[-1]->{'code'}++ if ($in_code);
       my $arg = $self->_convert($root->{'args'}->[0]);
       $result .= "<infoenclose command=\"$root->{'cmdname'}\" begin=\"".
@@ -688,14 +692,14 @@
                        ."\"";
       } elsif ($root->{'cmdname'} eq 'anchor') {
         $attribute = " name=\"$root->{'extra'}->{'normalized'}\"";
-      }
+      };
       my $arg_index = 0;
       foreach my $element (@elements) {
         if (defined($root->{'args'}->[$arg_index])) {
           my $in_code;
           $in_code = 1
-            if (defined($commands_args_style{$root->{'cmdname'}})
-              and 
defined($commands_args_style{$root->{'cmdname'}}->[$arg_index]));
+            if (defined($default_args_code_style{$root->{'cmdname'}})
+              and 
defined($default_args_code_style{$root->{'cmdname'}}->[$arg_index]));
           $self->{'document_context'}->[-1]->{'code'}++ if ($in_code);
           my $arg = $self->_convert($root->{'args'}->[$arg_index]);
           if (!defined($command) or $arg ne '') {
@@ -708,8 +712,14 @@
         }
         $arg_index++;
       }
+      $attribute = '';
+      if ($root->{'cmdname'} eq 'image') {
+        if ($self->_is_inline($root)) {
+          $attribute = " where=\"inline\"";
+        }
+      }
       if (defined($command)) {
-        $result = "<$command>$result<$command>";
+        $result = "<$command${attribute}>$result<$command>";
       }
       if ($Texinfo::Common::context_brace_commands{$root->{'cmdname'}}) {
         pop @{$self->{'document_context'}};
@@ -746,8 +756,8 @@
             if (defined($root->{'args'}->[$arg_index])) {
               my $in_code;
                $in_code = 1
-                if (defined($commands_args_style{$root->{'cmdname'}})
-                  and 
defined($commands_args_style{$root->{'cmdname'}}->[$arg_index]));
+                if (defined($default_args_code_style{$root->{'cmdname'}})
+                  and 
defined($default_args_code_style{$root->{'cmdname'}}->[$arg_index]));
               $self->{'document_context'}->[-1]->{'code'}++ if ($in_code);
               my $arg = $self->_convert($root->{'args'}->[$arg_index]);
               chomp($arg);
@@ -777,8 +787,8 @@
           }
         }
       }
-      chomp($result);
-      $result .= "\n";
+      #chomp($result);
+      #$result .= "\n";
       $close_element = $root->{'cmdname'};
     }
   }

Index: t/02coverage.t
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/02coverage.t,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -b -r1.58 -r1.59
--- t/02coverage.t      3 Sep 2011 07:26:52 -0000       1.58
+++ t/02coverage.t      6 Sep 2011 20:20:44 -0000       1.59
@@ -691,7 +691,7 @@
 foreach my $test (@test_cases) {
   push @{$test->[2]->{'test_formats'}}, 'plaintext';
   push @{$test->[2]->{'test_formats'}}, 'html_text';
-  #push @{$test->[2]->{'test_formats'}}, 'xml';
+  push @{$test->[2]->{'test_formats'}}, 'xml';
 }
 
 our ($arg_test_case, $arg_generate, $arg_debug);

Index: t/test_utils.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/test_utils.pl,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -b -r1.94 -r1.95
--- t/test_utils.pl     30 Aug 2011 22:26:46 -0000      1.94
+++ t/test_utils.pl     6 Sep 2011 20:20:44 -0000       1.95
@@ -477,7 +477,7 @@
     }
   }
   my $directions_text;
-  # re-associate elements with the document_root.
+  # re-associate elements with the document_root.
   Texinfo::Structuring::_unsplit($result);
   my $elements;
   if ($split eq 'node') {
@@ -659,7 +659,8 @@
     if (@tested_formats) {
       foreach my $format (@tested_formats) {
         if (!defined($result_converted{$format})) {
-          print STDERR "\n$format $test_name:\n$converted{$format}";
+          print STDERR "\n$format $test_name:\n$converted{$format}"#;
+             if ($format ne 'xml');
         } else {
           $tests_count += 2;
           ok ($converted{$format} eq $result_converted{$format}->{$test_name},

Index: t/results/coverage/accent_and_dash.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/coverage/accent_and_dash.pl,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- t/results/coverage/accent_and_dash.pl       14 Aug 2011 01:51:59 -0000      
1.6
+++ t/results/coverage/accent_and_dash.pl       6 Sep 2011 20:20:45 -0000       
1.7
@@ -58,4 +58,7 @@
 
 $result_converted{'html_text'}->{'accent_and_dash'} = '<p>a&ndash;^</p>';
 
+
+$result_converted{'xml'}->{'accent_and_dash'} = '<para><accent 
type="circ">a&textndash;</accent></para>';
+
 1;

Index: t/results/coverage/at_after_accent_command.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/coverage/at_after_accent_command.pl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- t/results/coverage/at_after_accent_command.pl       13 Aug 2011 15:33:05 
-0000      1.3
+++ t/results/coverage/at_after_accent_command.pl       6 Sep 2011 20:20:45 
-0000       1.4
@@ -91,4 +91,8 @@
 $result_converted{'html_text'}->{'at_after_accent_command'} = 
'<p>address@hidden address@hidden
 </p>';
 
+
+$result_converted{'xml'}->{'at_after_accent_command'} = '<para><accent 
type="ring"></accent>&arobase;. <accent type="circ"></accent>&arobase;.
+</para>';
+
 1;

Index: t/results/coverage/block_commands.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/coverage/block_commands.pl,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -b -r1.40 -r1.41
--- t/results/coverage/block_commands.pl        13 Aug 2011 15:33:05 -0000      
1.40
+++ t/results/coverage/block_commands.pl        6 Sep 2011 20:20:45 -0000       
1.41
@@ -557,4 +557,25 @@
 </p>
 <p>in caption</p>';
 
+
+$result_converted{'xml'}->{'block_commands'} = '
+<group>
+<para>in group
+</para></group>
+
+<quotation><quotationtype>warning</quotationtype>
+<para>in quotation
+</para></quotation>
+
+<float name="b-float" type="a-float"><floattype>a float</floattype>
+<floatname>b float</floatname>
+<para>In float
+</para>
+
+<caption><para>in caption
+</para>
+<para>in caption</para></caption>
+</float>
+';
+
 1;

Index: t/results/coverage/cartouche.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/coverage/cartouche.pl,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- t/results/coverage/cartouche.pl     13 Aug 2011 15:33:05 -0000      1.11
+++ t/results/coverage/cartouche.pl     6 Sep 2011 20:20:45 -0000       1.12
@@ -112,4 +112,10 @@
 </p></td></tr></table>
 ';
 
+
+$result_converted{'xml'}->{'cartouche'} = '<cartouche>
+<para>in cartouche.
+</para></cartouche>
+';
+
 1;

Index: t/results/coverage/cartouche_in_quotation.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/coverage/cartouche_in_quotation.pl,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- t/results/coverage/cartouche_in_quotation.pl        13 Aug 2011 15:33:05 
-0000      1.8
+++ t/results/coverage/cartouche_in_quotation.pl        6 Sep 2011 20:20:45 
-0000       1.9
@@ -232,4 +232,14 @@
 </p></blockquote>
 ';
 
+
+$result_converted{'xml'}->{'cartouche_in_quotation'} = '<quotation>
+<para>In quotation
+</para><cartouche>
+<para>In cartouche in quotation
+</para></cartouche>
+<para>end quotation
+</para></quotation>
+';
+
 1;

Index: t/results/coverage/center.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/coverage/center.pl,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- t/results/coverage/center.pl        13 Aug 2011 15:33:05 -0000      1.10
+++ t/results/coverage/center.pl        6 Sep 2011 20:20:45 -0000       1.11
@@ -120,4 +120,10 @@
 </p>
 ';
 
+
+$result_converted{'xml'}->{'center'} = '
+<center>in center <code>in code</code></center>
+
+';
+
 1;

Index: t/results/coverage/commands.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/coverage/commands.pl,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -b -r1.45 -r1.46
--- t/results/coverage/commands.pl      4 Sep 2011 12:14:03 -0000       1.45
+++ t/results/coverage/commands.pl      6 Sep 2011 20:20:46 -0000       1.46
@@ -566,4 +566,15 @@
 <h1 class="majorheading">majorheading <b>in b</b></h1>
 ';
 
+
+$result_converted{'xml'}->{'commands'} = '<para>&arobase; &tex; <spacecmd 
type="nl"/><accent type="uml">e</accent> <accent 
type="circ"><dotless>i</dotless></accent> <accent type="tilde">a</accent> 
<accent type="ring">a</accent>
+<clicksequence>File <click command="arrow"/> Open</clicksequence>&eosperiod;
+<email><emailaddress>a</emailaddress><emailname>b</emailname><email> 
<code>code --- -- \'\' ``</code>
+&textmdash; &textndash; &textrdquo; &textldquo;. <sc>small caps</sc>.
+</para>
+<cindex index="cp"><indexterm index="cp">index entry &textldquo;in 
text&textrdquo; &latex;</indexterm></cindex>
+
+<majorheading>majorheading <b>in b</b></majorheading>
+';
+
 1;

Index: t/results/coverage/def.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/coverage/def.pl,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -b -r1.50 -r1.51
--- t/results/coverage/def.pl   3 Sep 2011 21:51:31 -0000       1.50
+++ t/results/coverage/def.pl   6 Sep 2011 20:20:46 -0000       1.51
@@ -2510,4 +2510,33 @@
 </p></dd></dl>
 ';
 
+
+$result_converted{'xml'}->{'def'} = '
+<deffn><definitionterm><indexterm 
index="fn">d--effn_name</indexterm><defcategory>c--ategory</defcategory> 
<deffunction>d--effn_name</deffunction> 
<defparam>a--rguments...</defparam></definitionterm>
+<definitionitem><para>d&textndash;effn
+</para></definitionitem></deffn>
+
+<deffn><definitionterm><indexterm 
index="fn">de--ffn_name</indexterm><defcategory>cate--gory</defcategory> 
<deffunction>de--ffn_name</deffunction> <defparam>ar--guments</defparam>    
<defparam>more</defparam> <defparam>args</defparam> 
<defparam>&linebreak;</defparam> <defparam>even</defparam> 
<defparam>more</defparam> <defparam>so</defparam></definitionterm>
+<definitionitem><para>def&textndash;fn
+</para></definitionitem></deffn>
+
+<deffn><definitionterm><indexterm 
index="fn"><var>i</var></indexterm><defcategory>fset</defcategory> 
<deffunction><var>i</var></deffunction> <defparam>a</defparam> 
<defparam>g</defparam></definitionterm>
+<deffnx><definitionterm><indexterm 
index="fn">truc</indexterm><defcategory>cmde</defcategory> 
<deffunction>truc</deffunction> <defparam></defparam></definitionterm></deffnx>
+<deffnx><definitionterm><indexterm index="fn">log 
trap</indexterm><defcategory>Command</defcategory> <deffunction>log 
trap</deffunction> <defparam></defparam></definitionterm></deffnx>
+<deffnx><definitionterm><indexterm index="fn">log 
trap1</indexterm><defcategory>Command</defcategory> <deffunction>log 
trap1</deffunction> <defparam></defparam></definitionterm></deffnx>
+<deffnx><definitionterm><indexterm index="fn">log 
trap2</indexterm><defcategory>Command</defcategory> <deffunction>log 
trap2</deffunction> <defparam></defparam></definitionterm></deffnx>
+<deffnx><definitionterm><indexterm index="fn"><b>id 
ule</b></indexterm><defcategory>cmde</defcategory> <deffunction><b>id 
ule</b></deffunction> <defparam>truc</defparam></definitionterm></deffnx>
+<deffnx><definitionterm><indexterm index="fn"><b>id <samp>i</samp> 
ule</b></indexterm><defcategory>cmde2</defcategory> <deffunction><b>id 
<samp>i</samp> ule</b></deffunction> 
<defparam>truc</defparam></definitionterm></deffnx>
+<deffnx><definitionterm><indexterm 
index="fn">machin</indexterm><defcategory></defcategory> 
<deffunction>machin</deffunction></definitionterm></deffnx>
+<deffnx><definitionterm><indexterm index="fn">bidule 
machin</indexterm><defcategory></defcategory> <deffunction>bidule 
machin</deffunction></definitionterm></deffnx>
+<deffnx><definitionterm><indexterm 
index="fn">machin</indexterm><defcategory>truc</defcategory> 
<deffunction>machin</deffunction></definitionterm></deffnx>
+<deffnx><definitionterm><indexterm 
index="fn">followed</indexterm><defcategory>truc</defcategory> 
<deffunction>followed</deffunction> <defparam>by</defparam> 
<defparam>a</defparam> <defparam>comment</defparam></definitionterm></deffnx>
+<!--  comment -->
+<deffnx><definitionterm><indexterm 
index="fn">after</indexterm><defcategory>truc</defcategory> 
<deffunction>after</deffunction> <defparam>a</defparam> 
<defparam>deff</defparam> <defparam>item</defparam></definitionterm></deffnx>
+<!--  comment -->
+<deffnx><definitionterm><indexterm 
index="fn">deffnx</indexterm><defcategory>truc</defcategory> 
<deffunction>deffnx</deffunction> <defparam>before</defparam> 
<defparam>end</defparam> <defparam>deffn</defparam></definitionterm></deffnx>
+<definitionitem><para>Various deff lines
+</para></definitionitem></deffn>
+';
+
 1;

Index: t/results/coverage/flushleft_flushright.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/coverage/flushleft_flushright.pl,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- t/results/coverage/flushleft_flushright.pl  13 Aug 2011 15:33:05 -0000      
1.11
+++ t/results/coverage/flushleft_flushright.pl  6 Sep 2011 20:20:46 -0000       
1.12
@@ -327,4 +327,23 @@
 <p align="right">lhds
 </p>';
 
+
+$result_converted{'xml'}->{'flushleft_flushright'} = '
+<flushleft>
+<para>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb ccccccccccccccc
+ldskf dsflj
+     lklsdlv l    lll. Bbb.
+</para>
+<para>lhds
+</para></flushleft>
+
+<flushright>
+<para>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb ccccccccccccccc
+ldskf dsflj
+     lklsdlv l    lll. Bbb.
+</para>
+<para>lhds
+</para></flushright>
+';
+
 1;

Index: t/results/coverage/flushleft_flushright_in_quotation.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/coverage/flushleft_flushright_in_quotation.pl,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- t/results/coverage/flushleft_flushright_in_quotation.pl     13 Aug 2011 
15:33:05 -0000      1.11
+++ t/results/coverage/flushleft_flushright_in_quotation.pl     6 Sep 2011 
20:20:46 -0000       1.12
@@ -321,4 +321,17 @@
 </p></blockquote>
 ';
 
+
+$result_converted{'xml'}->{'flushleft_flushright_in_quotation'} = '
+<quotation>
+<flushleft>
+<para>f l
+</para></flushleft>
+
+<flushright>
+<para>f r
+</para></flushright>
+</quotation>
+';
+
 1;

Index: t/results/coverage/hyphenation.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/coverage/hyphenation.pl,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- t/results/coverage/hyphenation.pl   13 Aug 2011 15:33:05 -0000      1.9
+++ t/results/coverage/hyphenation.pl   6 Sep 2011 20:20:46 -0000       1.10
@@ -74,4 +74,9 @@
 
 $result_converted{'html_text'}->{'hyphenation'} = '';
 
+
+$result_converted{'xml'}->{'hyphenation'} = '
+<hyphenation>some-where </hyphenation>
+';
+
 1;

Index: t/results/coverage/insertcopying.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/coverage/insertcopying.pl,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- t/results/coverage/insertcopying.pl 13 Aug 2011 15:33:05 -0000      1.11
+++ t/results/coverage/insertcopying.pl 6 Sep 2011 20:20:46 -0000       1.12
@@ -272,4 +272,19 @@
 
 ';
 
+
+$result_converted{'xml'}->{'insertcopying'} = '<copying>
+<para>License.
+</para>
+<quotation> 
+<para>You are not allowed.
+</para></quotation>
+</copying>
+
+<para>License:
+</para>
+<insertcopying></insertcopying>
+
+';
+
 1;

Index: t/results/coverage/lettered_accent_and_spaces.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/coverage/lettered_accent_and_spaces.pl,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- t/results/coverage/lettered_accent_and_spaces.pl    13 Aug 2011 15:33:06 
-0000      1.9
+++ t/results/coverage/lettered_accent_and_spaces.pl    6 Sep 2011 20:20:47 
-0000       1.10
@@ -58,4 +58,8 @@
 $result_converted{'html_text'}->{'lettered_accent_and_spaces'} = '<p>&aring;
 </p>';
 
+
+$result_converted{'xml'}->{'lettered_accent_and_spaces'} = '<para><accent 
type="ring">a</accent>
+</para>';
+
 1;

Index: t/results/coverage/math.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/coverage/math.pl,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -b -r1.26 -r1.27
--- t/results/coverage/math.pl  13 Aug 2011 15:33:06 -0000      1.26
+++ t/results/coverage/math.pl  6 Sep 2011 20:20:47 -0000       1.27
@@ -427,4 +427,19 @@
 </p>
 ';
 
+
+$result_converted{'xml'}->{'math'} = '<para>Simple math
+<math>--{x^i}\\over{\\tan y}</math>
+</para>
+<para>Math with &arobase;-command
+<math><code>math code</code> a &lt; b</math>
+</para>
+<para>Complex
+<math>\\underline{<code>math \\hbox{ code }</code>} &backslash;i 
\\sum_{i}{\\underline{f}}</math>
+</para>
+<para>&arobase;\\ outside of math
+&backslash;
+</para>
+';
+
 1;

Index: t/results/coverage/nested_block_commands.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/coverage/nested_block_commands.pl,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- t/results/coverage/nested_block_commands.pl 13 Aug 2011 15:33:06 -0000      
1.24
+++ t/results/coverage/nested_block_commands.pl 6 Sep 2011 20:20:47 -0000       
1.25
@@ -2476,4 +2476,99 @@
 </p>
 ';
 
+
+$result_converted{'xml'}->{'nested_block_commands'} = '<group>
+<para>In group
+</para><quotation>
+<para>in quotation
+</para></quotation>
+</group>
+
+<group>
+<quotation>
+<para>in quotation
+</para></quotation>
+</group>
+
+<group>
+<para>In group
+</para><quotation>
+<para>in quotation
+</para></quotation>
+<para>after quotation
+</para></group>
+
+<group>
+
+<para>In group sp b
+</para><quotation>
+<para>in quotation
+</para></quotation>
+</group>
+
+<group>
+
+<para>In group sp b a
+</para>
+<quotation>
+<para>in quotation
+</para></quotation>
+</group>
+
+<group>
+<para>In group sp a
+</para>
+<quotation>
+<para>in quotation
+</para></quotation>
+</group>
+
+<group>
+<quotation>
+
+<para>in quotation sp b
+</para></quotation>
+</group>
+
+<group>
+<quotation>
+
+<para>in quotation sp b a
+</para>
+</quotation>
+</group>
+
+<group>
+<quotation>
+<para>in quotation sp a
+</para>
+</quotation>
+</group>
+
+<group>
+<quotation>
+<para>in quotation
+</para></quotation>
+
+<para>After quotation sp b
+</para></group>
+
+<group>
+<quotation>
+<para>in quotation
+</para></quotation>
+<para>After quotation sp a
+</para>
+</group>
+
+<group>
+<quotation>
+<para>in quotation
+</para></quotation>
+
+<para>After quotation sp b a
+</para>
+</group>
+';
+
 1;

Index: t/results/coverage/quotation_author.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/coverage/quotation_author.pl,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- t/results/coverage/quotation_author.pl      13 Aug 2011 15:33:06 -0000      
1.11
+++ t/results/coverage/quotation_author.pl      6 Sep 2011 20:20:47 -0000       
1.12
@@ -281,4 +281,15 @@
 </p><p align="center">&mdash; <em>S&#7869;cond author</em>
 </p>';
 
+
+$result_converted{'xml'}->{'quotation_author'} = '<quotation>
+
+<author>First Author</author>
+<para>quotation
+<author>S<accent type="tilde">e</accent>cond author</author>
+quotation continues.
+</para>
+</quotation>
+';
+
 1;

Index: t/results/coverage/setfilename_in_paragraph.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/coverage/setfilename_in_paragraph.pl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- t/results/coverage/setfilename_in_paragraph.pl      13 Aug 2011 15:33:06 
-0000      1.3
+++ t/results/coverage/setfilename_in_paragraph.pl      6 Sep 2011 20:20:47 
-0000       1.4
@@ -87,4 +87,9 @@
 $result_converted{'html_text'}->{'setfilename_in_paragraph'} = '<p>Some text
 </p>';
 
+
+$result_converted{'xml'}->{'setfilename_in_paragraph'} = '<para>Some text
+</para><setfilename file="filename.info">filename.info</setfilename>
+';
+
 1;

Index: t/results/coverage/test_tie.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/coverage/test_tie.pl,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- t/results/coverage/test_tie.pl      13 Aug 2011 15:33:06 -0000      1.6
+++ t/results/coverage/test_tie.pl      6 Sep 2011 20:20:47 -0000       1.7
@@ -61,4 +61,8 @@
 $result_converted{'html_text'}->{'test_tie'} = 
'<p>AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA&nbsp;BBBBBBBBBBB
 </p>';
 
+
+$result_converted{'xml'}->{'test_tie'} = 
'<para>AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA&nbsp;BBBBBBBBBBB
+</para>';
+
 1;

Index: t/results/coverage/test_today.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/coverage/test_today.pl,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- t/results/coverage/test_today.pl    13 Aug 2011 15:33:06 -0000      1.6
+++ t/results/coverage/test_today.pl    6 Sep 2011 20:20:48 -0000       1.7
@@ -52,4 +52,7 @@
 
 $result_converted{'html_text'}->{'test_today'} = '<p>a sunny day.</p>';
 
+
+$result_converted{'xml'}->{'test_today'} = '<para><today/>.</para>';
+
 1;

Index: t/results/coverage/verbatiminclude.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/coverage/verbatiminclude.pl,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- t/results/coverage/verbatiminclude.pl       13 Aug 2011 15:33:06 -0000      
1.10
+++ t/results/coverage/verbatiminclude.pl       6 Sep 2011 20:20:48 -0000       
1.11
@@ -81,4 +81,9 @@
 $result_converted{'html_text'}->{'verbatiminclude'} = '<pre 
class="verbatim">This is the @emph{included} file (include-value2.txi) &lt;&gt; 
---. 
 </pre>';
 
+
+$result_converted{'xml'}->{'verbatiminclude'} = '
+<verbatiminclude file="incl-incl.txi">incl-incl.txi</verbatiminclude>
+';
+
 1;

Index: t/results/sectioning/node_part_chapter_after_top.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/sectioning/node_part_chapter_after_top.pl,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- t/results/sectioning/node_part_chapter_after_top.pl 4 Sep 2011 10:00:00 
-0000       1.8
+++ t/results/sectioning/node_part_chapter_after_top.pl 6 Sep 2011 20:20:48 
-0000       1.9
@@ -877,7 +877,7 @@
 <title>part</title>
 
 <chapter>
-<title>chapter</title>
+<title>chapter </title>
 </chapter>
 </part>
 ';

Index: t/results/sectioning/part_before_section.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/sectioning/part_before_section.pl,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- t/results/sectioning/part_before_section.pl 31 Aug 2011 22:54:52 -0000      
1.9
+++ t/results/sectioning/part_before_section.pl 6 Sep 2011 20:20:48 -0000       
1.10
@@ -229,7 +229,7 @@
 <title>part</title>
 
 <chapter originalcommand="section">
-<title>section</title>
+<title>section </title>
 </chapter>
 </part>
 ';

Index: t/results/sectioning/part_chapter_after_top.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/sectioning/part_chapter_after_top.pl,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- t/results/sectioning/part_chapter_after_top.pl      4 Sep 2011 10:00:00 
-0000       1.8
+++ t/results/sectioning/part_chapter_after_top.pl      6 Sep 2011 20:20:48 
-0000       1.9
@@ -877,7 +877,7 @@
 <nodeup automatic="on">Top</nodeup>
 </node>
 <chapter>
-<title>chapter</title>
+<title>chapter </title>
 </chapter>
 </part>
 ';

Index: t/results/sectioning/part_node_chapter_after_top.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/sectioning/part_node_chapter_after_top.pl,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- t/results/sectioning/part_node_chapter_after_top.pl 4 Sep 2011 10:00:00 
-0000       1.16
+++ t/results/sectioning/part_node_chapter_after_top.pl 6 Sep 2011 20:20:48 
-0000       1.17
@@ -1160,7 +1160,7 @@
 <nodeup automatic="on">Top</nodeup>
 </node>
 <chapter>
-<title>chapter</title>
+<title>chapter </title>
 </chapter>
 </part>
 ';

Index: t/results/sectioning/section_before_chapter.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/sectioning/section_before_chapter.pl,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- t/results/sectioning/section_before_chapter.pl      31 Aug 2011 22:54:52 
-0000      1.7
+++ t/results/sectioning/section_before_chapter.pl      6 Sep 2011 20:20:48 
-0000       1.8
@@ -179,7 +179,7 @@
 
 
 $result_converted{'xml'}->{'section_before_chapter'} = '<section>
-<title>section</title>
+<title>section </title>
 
 </section>
 <section originalcommand="chapter">

Index: t/results/sectioning/section_before_part.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/sectioning/section_before_part.pl,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- t/results/sectioning/section_before_part.pl 1 Sep 2011 22:00:31 -0000       
1.8
+++ t/results/sectioning/section_before_part.pl 6 Sep 2011 20:20:49 -0000       
1.9
@@ -269,7 +269,7 @@
 
 
 $result_converted{'xml'}->{'section_before_part'} = '<section>
-<title>section</title>
+<title>section </title>
 
 </section>
 <part>

Index: t/results/sectioning/section_before_top.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/sectioning/section_before_top.pl,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- t/results/sectioning/section_before_top.pl  4 Sep 2011 10:00:00 -0000       
1.13
+++ t/results/sectioning/section_before_top.pl  6 Sep 2011 20:20:49 -0000       
1.14
@@ -676,7 +676,7 @@
 <nodeup>Top</nodeup>
 </node>
 <section>
-<title>section</title>
+<title>section </title>
 
 </section>
 <node name="Top">

Index: t/results/sectioning/section_before_top_no_node.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/sectioning/section_before_top_no_node.pl,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- t/results/sectioning/section_before_top_no_node.pl  31 Aug 2011 22:54:52 
-0000      1.7
+++ t/results/sectioning/section_before_top_no_node.pl  6 Sep 2011 20:20:49 
-0000       1.8
@@ -177,7 +177,7 @@
 
 
 $result_converted{'xml'}->{'section_before_top_no_node'} = '<section>
-<title>section</title>
+<title>section </title>
 
 </section>
 <unnumberedsec originalcommand="top">

Index: t/results/sectioning/section_chapter_before_top.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/sectioning/section_chapter_before_top.pl,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- t/results/sectioning/section_chapter_before_top.pl  31 Aug 2011 22:54:52 
-0000      1.7
+++ t/results/sectioning/section_chapter_before_top.pl  6 Sep 2011 20:20:49 
-0000       1.8
@@ -261,7 +261,7 @@
 
 
 $result_converted{'xml'}->{'section_chapter_before_top'} = '<section>
-<title>section</title>
+<title>section </title>
 
 </section>
 <section originalcommand="chapter">

Index: t/results/sectioning/section_node_before_part.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/sectioning/section_node_before_part.pl,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- t/results/sectioning/section_node_before_part.pl    4 Sep 2011 10:00:00 
-0000       1.9
+++ t/results/sectioning/section_node_before_part.pl    6 Sep 2011 20:20:49 
-0000       1.10
@@ -362,7 +362,7 @@
 <nodeup automatic="on">(dir)</nodeup>
 </node>
 <section>
-<title>section</title>
+<title>section </title>
 
 </section>
 <part>

Index: t/results/sectioning/top_part_chapter.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/sectioning/top_part_chapter.pl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- t/results/sectioning/top_part_chapter.pl    31 Aug 2011 22:54:52 -0000      
1.3
+++ t/results/sectioning/top_part_chapter.pl    6 Sep 2011 20:20:49 -0000       
1.4
@@ -342,7 +342,7 @@
 <title>part</title>
 
 <chapter>
-<title>chapter</title>
+<title>chapter </title>
 </chapter>
 </part>
 ';

Index: t/xml_tests.t
===================================================================
RCS file: t/xml_tests.t
diff -N t/xml_tests.t
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ t/xml_tests.t       6 Sep 2011 20:20:45 -0000       1.1
@@ -0,0 +1,73 @@
+use strict;
+
+require 't/test_utils.pl';
+
+my @test_cases = (
+['image_inline_or_not',
+'@image{A}
+
+Para @image{hh}.
+
address@hidden Top
+
address@hidden
+
+Para @image{jj}.
+
address@hidden
+
address@hidden
+
+T
address@hidden example after text}
address@hidden example
+
address@hidden @image{in_quotation_arg}
address@hidden
address@hidden quotation
+
address@hidden @asis
address@hidden @image{in_table_item}
+
address@hidden
+
+AA @image{in_table_def_para}
+
address@hidden
address@hidden table
+
address@hidden
+* @image{node_image}:: @image{image_in_description}
+* @image{in_menu_entry_name}: (somewhere)@image{extnode}.
+
address@hidden
address@hidden menu
+
address@hidden @image{node_image}
address@hidden @image{in_chapter_arg}
+
+
address@hidden
address@hidden
+}
+
address@hidden F,g
+
address@hidden
+
address@hidden@image{in_caption} PAra @image{in_caption_para}}
address@hidden float
+'],
+);
+
+foreach my $test (@test_cases) {
+  $test->[2]->{'test_formats'} = ['xml'];
+}
+
+our ($arg_test_case, $arg_generate, $arg_debug);
+
+run_all ('xml_tests', address@hidden, $arg_test_case,
+   $arg_generate, $arg_debug);
+
+1;
+

Index: t/results/xml_tests/image_inline_or_not.pl
===================================================================
RCS file: t/results/xml_tests/image_inline_or_not.pl
diff -N t/results/xml_tests/image_inline_or_not.pl
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ t/results/xml_tests/image_inline_or_not.pl  6 Sep 2011 20:20:49 -0000       
1.1
@@ -0,0 +1,2289 @@
+use vars qw(%result_texis %result_texts %result_trees %result_errors 
+   %result_indices %result_sectioning %result_nodes %result_menus
+   %result_floats %result_converted %result_converted_errors 
+   %result_elements %result_directions_text);
+
+use utf8;
+
+$result_trees{'image_inline_or_not'} = {
+  'contents' => [
+    {
+      'contents' => [
+        {
+          'args' => [
+            {
+              'contents' => [
+                {
+                  'parent' => {},
+                  'text' => 'A'
+                }
+              ],
+              'parent' => {},
+              'type' => 'brace_command_arg'
+            }
+          ],
+          'cmdname' => 'image',
+          'contents' => [],
+          'extra' => {
+            'brace_command_contents' => [
+              [
+                {}
+              ]
+            ]
+          },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 1,
+            'macro' => ''
+          },
+          'parent' => {}
+        },
+        {
+          'parent' => {},
+          'text' => '
+'
+        },
+        {
+          'parent' => {},
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'contents' => [
+            {
+              'parent' => {},
+              'text' => 'Para '
+            },
+            {
+              'args' => [
+                {
+                  'contents' => [
+                    {
+                      'parent' => {},
+                      'text' => 'hh'
+                    }
+                  ],
+                  'parent' => {},
+                  'type' => 'brace_command_arg'
+                }
+              ],
+              'cmdname' => 'image',
+              'contents' => [],
+              'extra' => {
+                'brace_command_contents' => [
+                  [
+                    {}
+                  ]
+                ]
+              },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 3,
+                'macro' => ''
+              },
+              'parent' => {}
+            },
+            {
+              'parent' => {},
+              'text' => '.
+'
+            }
+          ],
+          'parent' => {},
+          'type' => 'paragraph'
+        },
+        {
+          'parent' => {},
+          'text' => '
+',
+          'type' => 'empty_line'
+        }
+      ],
+      'parent' => {},
+      'type' => 'text_root'
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'extra' => {
+                'command' => {}
+              },
+              'parent' => {},
+              'text' => ' ',
+              'type' => 'empty_spaces_after_command'
+            },
+            {
+              'parent' => {},
+              'text' => 'Top'
+            },
+            {
+              'parent' => {},
+              'text' => '
+',
+              'type' => 'spaces_at_end'
+            }
+          ],
+          'parent' => {},
+          'type' => 'misc_line_arg'
+        }
+      ],
+      'cmdname' => 'node',
+      'contents' => [
+        {
+          'parent' => {},
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'args' => [
+            {
+              'contents' => [
+                {
+                  'parent' => {},
+                  'text' => 'B'
+                }
+              ],
+              'parent' => {},
+              'type' => 'brace_command_arg'
+            }
+          ],
+          'cmdname' => 'image',
+          'contents' => [],
+          'extra' => {
+            'brace_command_contents' => [
+              [
+                {}
+              ]
+            ]
+          },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 7,
+            'macro' => ''
+          },
+          'parent' => {}
+        },
+        {
+          'parent' => {},
+          'text' => '
+'
+        },
+        {
+          'parent' => {},
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'contents' => [
+            {
+              'parent' => {},
+              'text' => 'Para '
+            },
+            {
+              'args' => [
+                {
+                  'contents' => [
+                    {
+                      'parent' => {},
+                      'text' => 'jj'
+                    }
+                  ],
+                  'parent' => {},
+                  'type' => 'brace_command_arg'
+                }
+              ],
+              'cmdname' => 'image',
+              'contents' => [],
+              'extra' => {
+                'brace_command_contents' => [
+                  [
+                    {}
+                  ]
+                ]
+              },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 9,
+                'macro' => ''
+              },
+              'parent' => {}
+            },
+            {
+              'parent' => {},
+              'text' => '.
+'
+            }
+          ],
+          'parent' => {},
+          'type' => 'paragraph'
+        },
+        {
+          'parent' => {},
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'cmdname' => 'example',
+          'contents' => [
+            {
+              'extra' => {
+                'command' => {}
+              },
+              'parent' => {},
+              'text' => '
+',
+              'type' => 'empty_line_after_command'
+            },
+            {
+              'contents' => [
+                {
+                  'parent' => {},
+                  'text' => '
+',
+                  'type' => 'empty_line'
+                },
+                {
+                  'args' => [
+                    {
+                      'contents' => [
+                        {
+                          'parent' => {},
+                          'text' => 'in_example'
+                        }
+                      ],
+                      'parent' => {},
+                      'type' => 'brace_command_arg'
+                    }
+                  ],
+                  'cmdname' => 'image',
+                  'contents' => [],
+                  'extra' => {
+                    'brace_command_contents' => [
+                      [
+                        {}
+                      ]
+                    ]
+                  },
+                  'line_nr' => {
+                    'file_name' => '',
+                    'line_nr' => 13,
+                    'macro' => ''
+                  },
+                  'parent' => {}
+                },
+                {
+                  'parent' => {},
+                  'text' => '
+'
+                },
+                {
+                  'parent' => {},
+                  'text' => '
+',
+                  'type' => 'empty_line'
+                },
+                {
+                  'parent' => {},
+                  'text' => 'T
+'
+                },
+                {
+                  'args' => [
+                    {
+                      'contents' => [
+                        {
+                          'parent' => {},
+                          'text' => 'in example after text'
+                        }
+                      ],
+                      'parent' => {},
+                      'type' => 'brace_command_arg'
+                    }
+                  ],
+                  'cmdname' => 'image',
+                  'contents' => [],
+                  'extra' => {
+                    'brace_command_contents' => [
+                      [
+                        {}
+                      ]
+                    ]
+                  },
+                  'line_nr' => {
+                    'file_name' => '',
+                    'line_nr' => 16,
+                    'macro' => ''
+                  },
+                  'parent' => {}
+                },
+                {
+                  'parent' => {},
+                  'text' => '
+'
+                }
+              ],
+              'parent' => {},
+              'type' => 'preformatted'
+            },
+            {
+              'args' => [
+                {
+                  'contents' => [
+                    {
+                      'extra' => {
+                        'command' => {}
+                      },
+                      'parent' => {},
+                      'text' => ' ',
+                      'type' => 'empty_spaces_after_command'
+                    },
+                    {
+                      'parent' => {},
+                      'text' => 'example'
+                    },
+                    {
+                      'parent' => {},
+                      'text' => '
+',
+                      'type' => 'spaces_at_end'
+                    }
+                  ],
+                  'parent' => {},
+                  'type' => 'misc_line_arg'
+                }
+              ],
+              'cmdname' => 'end',
+              'extra' => {
+                'command' => {},
+                'command_argument' => 'example',
+                'text_arg' => 'example'
+              },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 17,
+                'macro' => ''
+              },
+              'parent' => {}
+            }
+          ],
+          'extra' => {
+            'end_command' => {}
+          },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 11,
+            'macro' => ''
+          },
+          'parent' => {}
+        },
+        {
+          'parent' => {},
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'args' => [
+            {
+              'contents' => [
+                {
+                  'extra' => {
+                    'command' => {}
+                  },
+                  'parent' => {},
+                  'text' => ' ',
+                  'type' => 'empty_spaces_after_command'
+                },
+                {
+                  'args' => [
+                    {
+                      'contents' => [
+                        {
+                          'parent' => {},
+                          'text' => 'in_quotation_arg'
+                        }
+                      ],
+                      'parent' => {},
+                      'type' => 'brace_command_arg'
+                    }
+                  ],
+                  'cmdname' => 'image',
+                  'contents' => [],
+                  'extra' => {
+                    'brace_command_contents' => [
+                      [
+                        {}
+                      ]
+                    ]
+                  },
+                  'line_nr' => {
+                    'file_name' => '',
+                    'line_nr' => 19,
+                    'macro' => ''
+                  },
+                  'parent' => {}
+                },
+                {
+                  'parent' => {},
+                  'text' => '
+',
+                  'type' => 'space_at_end_block_command'
+                }
+              ],
+              'parent' => {},
+              'type' => 'block_line_arg'
+            }
+          ],
+          'cmdname' => 'quotation',
+          'contents' => [
+            {
+              'args' => [
+                {
+                  'contents' => [
+                    {
+                      'parent' => {},
+                      'text' => 'in_quotation_content'
+                    }
+                  ],
+                  'parent' => {},
+                  'type' => 'brace_command_arg'
+                }
+              ],
+              'cmdname' => 'image',
+              'contents' => [],
+              'extra' => {
+                'brace_command_contents' => [
+                  [
+                    {}
+                  ]
+                ]
+              },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 20,
+                'macro' => ''
+              },
+              'parent' => {}
+            },
+            {
+              'parent' => {},
+              'text' => '
+'
+            },
+            {
+              'args' => [
+                {
+                  'contents' => [
+                    {
+                      'extra' => {
+                        'command' => {}
+                      },
+                      'parent' => {},
+                      'text' => ' ',
+                      'type' => 'empty_spaces_after_command'
+                    },
+                    {
+                      'parent' => {},
+                      'text' => 'quotation'
+                    },
+                    {
+                      'parent' => {},
+                      'text' => '
+',
+                      'type' => 'spaces_at_end'
+                    }
+                  ],
+                  'parent' => {},
+                  'type' => 'misc_line_arg'
+                }
+              ],
+              'cmdname' => 'end',
+              'extra' => {
+                'command' => {},
+                'command_argument' => 'quotation',
+                'text_arg' => 'quotation'
+              },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 21,
+                'macro' => ''
+              },
+              'parent' => {}
+            }
+          ],
+          'extra' => {
+            'block_command_line_contents' => [
+              [
+                {}
+              ]
+            ],
+            'end_command' => {}
+          },
+          'line_nr' => {},
+          'parent' => {}
+        },
+        {
+          'parent' => {},
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'args' => [
+            {
+              'contents' => [
+                {
+                  'extra' => {
+                    'command' => {}
+                  },
+                  'parent' => {},
+                  'text' => ' ',
+                  'type' => 'empty_spaces_after_command'
+                },
+                {
+                  'cmdname' => 'asis',
+                  'parent' => {},
+                  'type' => 'command_as_argument'
+                },
+                {
+                  'parent' => {},
+                  'text' => '
+',
+                  'type' => 'space_at_end_block_command'
+                }
+              ],
+              'parent' => {},
+              'type' => 'block_line_arg'
+            }
+          ],
+          'cmdname' => 'table',
+          'contents' => [
+            {
+              'contents' => [
+                {
+                  'contents' => [
+                    {
+                      'args' => [
+                        {
+                          'contents' => [
+                            {
+                              'extra' => {
+                                'command' => {}
+                              },
+                              'parent' => {},
+                              'text' => ' ',
+                              'type' => 'empty_spaces_after_command'
+                            },
+                            {
+                              'args' => [
+                                {
+                                  'contents' => [
+                                    {
+                                      'parent' => {},
+                                      'text' => 'in_table_item'
+                                    }
+                                  ],
+                                  'parent' => {},
+                                  'type' => 'brace_command_arg'
+                                }
+                              ],
+                              'cmdname' => 'image',
+                              'contents' => [],
+                              'extra' => {
+                                'brace_command_contents' => [
+                                  [
+                                    {}
+                                  ]
+                                ]
+                              },
+                              'line_nr' => {
+                                'file_name' => '',
+                                'line_nr' => 24,
+                                'macro' => ''
+                              },
+                              'parent' => {}
+                            },
+                            {
+                              'parent' => {},
+                              'text' => '
+',
+                              'type' => 'spaces_at_end'
+                            }
+                          ],
+                          'parent' => {},
+                          'type' => 'misc_line_arg'
+                        }
+                      ],
+                      'cmdname' => 'item',
+                      'extra' => {
+                        'misc_content' => [
+                          {}
+                        ]
+                      },
+                      'line_nr' => {},
+                      'parent' => {}
+                    }
+                  ],
+                  'parent' => {},
+                  'type' => 'table_term'
+                },
+                {
+                  'contents' => [
+                    {
+                      'parent' => {},
+                      'text' => '
+',
+                      'type' => 'empty_line'
+                    },
+                    {
+                      'args' => [
+                        {
+                          'contents' => [
+                            {
+                              'parent' => {},
+                              'text' => 'in_table_def'
+                            }
+                          ],
+                          'parent' => {},
+                          'type' => 'brace_command_arg'
+                        }
+                      ],
+                      'cmdname' => 'image',
+                      'contents' => [],
+                      'extra' => {
+                        'brace_command_contents' => [
+                          [
+                            {}
+                          ]
+                        ]
+                      },
+                      'line_nr' => {
+                        'file_name' => '',
+                        'line_nr' => 26,
+                        'macro' => ''
+                      },
+                      'parent' => {}
+                    },
+                    {
+                      'parent' => {},
+                      'text' => '
+'
+                    },
+                    {
+                      'parent' => {},
+                      'text' => '
+',
+                      'type' => 'empty_line'
+                    },
+                    {
+                      'contents' => [
+                        {
+                          'parent' => {},
+                          'text' => 'AA '
+                        },
+                        {
+                          'args' => [
+                            {
+                              'contents' => [
+                                {
+                                  'parent' => {},
+                                  'text' => 'in_table_def_para'
+                                }
+                              ],
+                              'parent' => {},
+                              'type' => 'brace_command_arg'
+                            }
+                          ],
+                          'cmdname' => 'image',
+                          'contents' => [],
+                          'extra' => {
+                            'brace_command_contents' => [
+                              [
+                                {}
+                              ]
+                            ]
+                          },
+                          'line_nr' => {
+                            'file_name' => '',
+                            'line_nr' => 28,
+                            'macro' => ''
+                          },
+                          'parent' => {}
+                        },
+                        {
+                          'parent' => {},
+                          'text' => '
+'
+                        }
+                      ],
+                      'parent' => {},
+                      'type' => 'paragraph'
+                    },
+                    {
+                      'parent' => {},
+                      'text' => '
+',
+                      'type' => 'empty_line'
+                    },
+                    {
+                      'args' => [
+                        {
+                          'contents' => [
+                            {
+                              'parent' => {},
+                              'text' => 'in_table_def_after'
+                            }
+                          ],
+                          'parent' => {},
+                          'type' => 'brace_command_arg'
+                        }
+                      ],
+                      'cmdname' => 'image',
+                      'contents' => [],
+                      'extra' => {
+                        'brace_command_contents' => [
+                          [
+                            {}
+                          ]
+                        ]
+                      },
+                      'line_nr' => {
+                        'file_name' => '',
+                        'line_nr' => 30,
+                        'macro' => ''
+                      },
+                      'parent' => {}
+                    },
+                    {
+                      'parent' => {},
+                      'text' => '
+'
+                    }
+                  ],
+                  'parent' => {},
+                  'type' => 'table_item'
+                }
+              ],
+              'parent' => {},
+              'type' => 'table_entry'
+            },
+            {
+              'args' => [
+                {
+                  'contents' => [
+                    {
+                      'extra' => {
+                        'command' => {}
+                      },
+                      'parent' => {},
+                      'text' => ' ',
+                      'type' => 'empty_spaces_after_command'
+                    },
+                    {
+                      'parent' => {},
+                      'text' => 'table'
+                    },
+                    {
+                      'parent' => {},
+                      'text' => '
+',
+                      'type' => 'spaces_at_end'
+                    }
+                  ],
+                  'parent' => {},
+                  'type' => 'misc_line_arg'
+                }
+              ],
+              'cmdname' => 'end',
+              'extra' => {
+                'command' => {},
+                'command_argument' => 'table',
+                'text_arg' => 'table'
+              },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 31,
+                'macro' => ''
+              },
+              'parent' => {}
+            }
+          ],
+          'extra' => {
+            'block_command_line_contents' => [
+              [
+                {}
+              ]
+            ],
+            'command_as_argument' => {},
+            'end_command' => {}
+          },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 23,
+            'macro' => ''
+          },
+          'parent' => {}
+        },
+        {
+          'parent' => {},
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'cmdname' => 'menu',
+          'contents' => [
+            {
+              'extra' => {
+                'command' => {}
+              },
+              'parent' => {},
+              'text' => '
+',
+              'type' => 'empty_line_after_command'
+            },
+            {
+              'args' => [
+                {
+                  'parent' => {},
+                  'text' => '* ',
+                  'type' => 'menu_entry_leading_text'
+                },
+                {
+                  'contents' => [
+                    {
+                      'args' => [
+                        {
+                          'contents' => [
+                            {
+                              'parent' => {},
+                              'text' => 'node_image'
+                            }
+                          ],
+                          'parent' => {},
+                          'type' => 'brace_command_arg'
+                        }
+                      ],
+                      'cmdname' => 'image',
+                      'contents' => [],
+                      'extra' => {
+                        'brace_command_contents' => [
+                          [
+                            {}
+                          ]
+                        ]
+                      },
+                      'line_nr' => {
+                        'file_name' => '',
+                        'line_nr' => 34,
+                        'macro' => ''
+                      },
+                      'parent' => {}
+                    }
+                  ],
+                  'parent' => {},
+                  'type' => 'menu_entry_node'
+                },
+                {
+                  'parent' => {},
+                  'text' => ':: ',
+                  'type' => 'menu_entry_separator'
+                },
+                {
+                  'contents' => [
+                    {
+                      'contents' => [
+                        {
+                          'args' => [
+                            {
+                              'contents' => [
+                                {
+                                  'parent' => {},
+                                  'text' => 'image_in_description'
+                                }
+                              ],
+                              'parent' => {},
+                              'type' => 'brace_command_arg'
+                            }
+                          ],
+                          'cmdname' => 'image',
+                          'contents' => [],
+                          'extra' => {
+                            'brace_command_contents' => [
+                              [
+                                {}
+                              ]
+                            ]
+                          },
+                          'line_nr' => {},
+                          'parent' => {}
+                        },
+                        {
+                          'parent' => {},
+                          'text' => '
+'
+                        }
+                      ],
+                      'parent' => {},
+                      'type' => 'preformatted'
+                    }
+                  ],
+                  'parent' => {},
+                  'type' => 'menu_entry_description'
+                }
+              ],
+              'extra' => {
+                'menu_entry_description' => {},
+                'menu_entry_node' => {
+                  'node_content' => [
+                    {}
+                  ],
+                  'normalized' => 'node_005fimage'
+                }
+              },
+              'line_nr' => {},
+              'parent' => {},
+              'type' => 'menu_entry'
+            },
+            {
+              'args' => [
+                {
+                  'parent' => {},
+                  'text' => '* ',
+                  'type' => 'menu_entry_leading_text'
+                },
+                {
+                  'contents' => [
+                    {
+                      'args' => [
+                        {
+                          'contents' => [
+                            {
+                              'parent' => {},
+                              'text' => 'in_menu_entry_name'
+                            }
+                          ],
+                          'parent' => {},
+                          'type' => 'brace_command_arg'
+                        }
+                      ],
+                      'cmdname' => 'image',
+                      'contents' => [],
+                      'extra' => {
+                        'brace_command_contents' => [
+                          [
+                            {}
+                          ]
+                        ]
+                      },
+                      'line_nr' => {
+                        'file_name' => '',
+                        'line_nr' => 35,
+                        'macro' => ''
+                      },
+                      'parent' => {}
+                    }
+                  ],
+                  'parent' => {},
+                  'type' => 'menu_entry_name'
+                },
+                {
+                  'parent' => {},
+                  'text' => ': ',
+                  'type' => 'menu_entry_separator'
+                },
+                {
+                  'contents' => [
+                    {
+                      'parent' => {},
+                      'text' => '(somewhere)'
+                    },
+                    {
+                      'args' => [
+                        {
+                          'contents' => [
+                            {
+                              'parent' => {},
+                              'text' => 'extnode'
+                            }
+                          ],
+                          'parent' => {},
+                          'type' => 'brace_command_arg'
+                        }
+                      ],
+                      'cmdname' => 'image',
+                      'contents' => [],
+                      'extra' => {
+                        'brace_command_contents' => [
+                          [
+                            {}
+                          ]
+                        ]
+                      },
+                      'line_nr' => {},
+                      'parent' => {}
+                    }
+                  ],
+                  'parent' => {},
+                  'type' => 'menu_entry_node'
+                },
+                {
+                  'parent' => {},
+                  'text' => '.',
+                  'type' => 'menu_entry_separator'
+                },
+                {
+                  'contents' => [
+                    {
+                      'contents' => [
+                        {
+                          'parent' => {},
+                          'text' => '
+'
+                        }
+                      ],
+                      'parent' => {},
+                      'type' => 'preformatted'
+                    }
+                  ],
+                  'parent' => {},
+                  'type' => 'menu_entry_description'
+                }
+              ],
+              'extra' => {
+                'menu_entry_description' => {},
+                'menu_entry_name' => {},
+                'menu_entry_node' => {
+                  'manual_content' => [
+                    {
+                      'parent' => {},
+                      'text' => 'somewhere'
+                    }
+                  ],
+                  'node_content' => [
+                    {}
+                  ],
+                  'normalized' => 'extnode'
+                }
+              },
+              'line_nr' => {},
+              'parent' => {},
+              'type' => 'menu_entry'
+            },
+            {
+              'contents' => [
+                {
+                  'contents' => [
+                    {
+                      'parent' => {},
+                      'text' => '
+',
+                      'type' => 'after_description_line'
+                    },
+                    {
+                      'args' => [
+                        {
+                          'contents' => [
+                            {
+                              'parent' => {},
+                              'text' => 'in_menu_comment'
+                            }
+                          ],
+                          'parent' => {},
+                          'type' => 'brace_command_arg'
+                        }
+                      ],
+                      'cmdname' => 'image',
+                      'contents' => [],
+                      'extra' => {
+                        'brace_command_contents' => [
+                          [
+                            {}
+                          ]
+                        ]
+                      },
+                      'line_nr' => {
+                        'file_name' => '',
+                        'line_nr' => 37,
+                        'macro' => ''
+                      },
+                      'parent' => {}
+                    },
+                    {
+                      'parent' => {},
+                      'text' => '
+'
+                    }
+                  ],
+                  'parent' => {},
+                  'type' => 'preformatted'
+                }
+              ],
+              'parent' => {},
+              'type' => 'menu_comment'
+            },
+            {
+              'args' => [
+                {
+                  'contents' => [
+                    {
+                      'extra' => {
+                        'command' => {}
+                      },
+                      'parent' => {},
+                      'text' => ' ',
+                      'type' => 'empty_spaces_after_command'
+                    },
+                    {
+                      'parent' => {},
+                      'text' => 'menu'
+                    },
+                    {
+                      'parent' => {},
+                      'text' => '
+',
+                      'type' => 'spaces_at_end'
+                    }
+                  ],
+                  'parent' => {},
+                  'type' => 'misc_line_arg'
+                }
+              ],
+              'cmdname' => 'end',
+              'extra' => {
+                'command' => {},
+                'command_argument' => 'menu',
+                'text_arg' => 'menu'
+              },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 38,
+                'macro' => ''
+              },
+              'parent' => {}
+            }
+          ],
+          'extra' => {
+            'end_command' => {}
+          },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 33,
+            'macro' => ''
+          },
+          'parent' => {}
+        },
+        {
+          'parent' => {},
+          'text' => '
+',
+          'type' => 'empty_line'
+        }
+      ],
+      'extra' => {
+        'node_content' => [
+          {}
+        ],
+        'nodes_manuals' => [
+          {
+            'node_content' => [],
+            'normalized' => 'Top'
+          }
+        ],
+        'normalized' => 'Top'
+      },
+      'line_nr' => {
+        'file_name' => '',
+        'line_nr' => 5,
+        'macro' => ''
+      },
+      'parent' => {}
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'extra' => {
+                'command' => {}
+              },
+              'parent' => {},
+              'text' => ' ',
+              'type' => 'empty_spaces_after_command'
+            },
+            {
+              'args' => [
+                {
+                  'contents' => [
+                    {
+                      'parent' => {},
+                      'text' => 'node_image'
+                    }
+                  ],
+                  'parent' => {},
+                  'type' => 'brace_command_arg'
+                }
+              ],
+              'cmdname' => 'image',
+              'contents' => [],
+              'extra' => {
+                'brace_command_contents' => [
+                  [
+                    {}
+                  ]
+                ]
+              },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 40,
+                'macro' => ''
+              },
+              'parent' => {}
+            },
+            {
+              'parent' => {},
+              'text' => '
+',
+              'type' => 'spaces_at_end'
+            }
+          ],
+          'parent' => {},
+          'type' => 'misc_line_arg'
+        }
+      ],
+      'cmdname' => 'node',
+      'contents' => [],
+      'extra' => {
+        'node_content' => [
+          {}
+        ],
+        'nodes_manuals' => [
+          {
+            'node_content' => [],
+            'normalized' => 'node_005fimage'
+          }
+        ],
+        'normalized' => 'node_005fimage'
+      },
+      'line_nr' => {},
+      'parent' => {}
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'extra' => {
+                'command' => {}
+              },
+              'parent' => {},
+              'text' => ' ',
+              'type' => 'empty_spaces_after_command'
+            },
+            {
+              'args' => [
+                {
+                  'contents' => [
+                    {
+                      'parent' => {},
+                      'text' => 'in_chapter_arg'
+                    }
+                  ],
+                  'parent' => {},
+                  'type' => 'brace_command_arg'
+                }
+              ],
+              'cmdname' => 'image',
+              'contents' => [],
+              'extra' => {
+                'brace_command_contents' => [
+                  [
+                    {}
+                  ]
+                ]
+              },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 41,
+                'macro' => ''
+              },
+              'parent' => {}
+            },
+            {
+              'parent' => {},
+              'text' => '
+',
+              'type' => 'spaces_at_end'
+            }
+          ],
+          'parent' => {},
+          'type' => 'misc_line_arg'
+        }
+      ],
+      'cmdname' => 'chapter',
+      'contents' => [
+        {
+          'parent' => {},
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'parent' => {},
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'contents' => [
+            {
+              'parent' => {},
+              'text' => 'T'
+            },
+            {
+              'args' => [
+                {
+                  'contents' => [
+                    {
+                      'parent' => {},
+                      'text' => '
+',
+                      'type' => 'empty_spaces_before_argument'
+                    },
+                    {
+                      'args' => [
+                        {
+                          'contents' => [
+                            {
+                              'parent' => {},
+                              'text' => 'in_footnote'
+                            }
+                          ],
+                          'parent' => {},
+                          'type' => 'brace_command_arg'
+                        }
+                      ],
+                      'cmdname' => 'image',
+                      'contents' => [],
+                      'extra' => {
+                        'brace_command_contents' => [
+                          [
+                            {}
+                          ]
+                        ]
+                      },
+                      'line_nr' => {
+                        'file_name' => '',
+                        'line_nr' => 45,
+                        'macro' => ''
+                      },
+                      'parent' => {}
+                    },
+                    {
+                      'parent' => {},
+                      'text' => '
+'
+                    }
+                  ],
+                  'parent' => {},
+                  'type' => 'brace_command_context'
+                }
+              ],
+              'cmdname' => 'footnote',
+              'contents' => [],
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 44,
+                'macro' => ''
+              },
+              'parent' => {}
+            },
+            {
+              'parent' => {},
+              'text' => '
+'
+            }
+          ],
+          'parent' => {},
+          'type' => 'paragraph'
+        },
+        {
+          'parent' => {},
+          'text' => '
+',
+          'type' => 'empty_line'
+        },
+        {
+          'args' => [
+            {
+              'contents' => [
+                {
+                  'extra' => {
+                    'command' => {}
+                  },
+                  'parent' => {},
+                  'text' => ' ',
+                  'type' => 'empty_spaces_after_command'
+                },
+                {
+                  'parent' => {},
+                  'text' => 'F'
+                }
+              ],
+              'parent' => {},
+              'type' => 'block_line_arg'
+            },
+            {
+              'contents' => [
+                {
+                  'parent' => {},
+                  'text' => 'g'
+                },
+                {
+                  'parent' => {},
+                  'text' => '
+',
+                  'type' => 'space_at_end_block_command'
+                }
+              ],
+              'parent' => {},
+              'type' => 'block_line_arg'
+            }
+          ],
+          'cmdname' => 'float',
+          'contents' => [
+            {
+              'parent' => {},
+              'text' => '
+',
+              'type' => 'empty_line'
+            },
+            {
+              'args' => [
+                {
+                  'contents' => [
+                    {
+                      'parent' => {},
+                      'text' => 'in_float'
+                    }
+                  ],
+                  'parent' => {},
+                  'type' => 'brace_command_arg'
+                }
+              ],
+              'cmdname' => 'image',
+              'contents' => [],
+              'extra' => {
+                'brace_command_contents' => [
+                  [
+                    {}
+                  ]
+                ]
+              },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 50,
+                'macro' => ''
+              },
+              'parent' => {}
+            },
+            {
+              'parent' => {},
+              'text' => '
+'
+            },
+            {
+              'parent' => {},
+              'text' => '
+',
+              'type' => 'empty_line'
+            },
+            {
+              'args' => [
+                {
+                  'contents' => [
+                    {
+                      'args' => [
+                        {
+                          'contents' => [
+                            {
+                              'parent' => {},
+                              'text' => 'in_caption'
+                            }
+                          ],
+                          'parent' => {},
+                          'type' => 'brace_command_arg'
+                        }
+                      ],
+                      'cmdname' => 'image',
+                      'contents' => [],
+                      'extra' => {
+                        'brace_command_contents' => [
+                          [
+                            {}
+                          ]
+                        ]
+                      },
+                      'line_nr' => {
+                        'file_name' => '',
+                        'line_nr' => 52,
+                        'macro' => ''
+                      },
+                      'parent' => {}
+                    },
+                    {
+                      'contents' => [
+                        {
+                          'parent' => {},
+                          'text' => ' PAra '
+                        },
+                        {
+                          'args' => [
+                            {
+                              'contents' => [
+                                {
+                                  'parent' => {},
+                                  'text' => 'in_caption_para'
+                                }
+                              ],
+                              'parent' => {},
+                              'type' => 'brace_command_arg'
+                            }
+                          ],
+                          'cmdname' => 'image',
+                          'contents' => [],
+                          'extra' => {
+                            'brace_command_contents' => [
+                              [
+                                {}
+                              ]
+                            ]
+                          },
+                          'line_nr' => {},
+                          'parent' => {}
+                        }
+                      ],
+                      'parent' => {},
+                      'type' => 'paragraph'
+                    }
+                  ],
+                  'parent' => {},
+                  'type' => 'brace_command_context'
+                }
+              ],
+              'cmdname' => 'caption',
+              'contents' => [],
+              'extra' => {
+                'float' => {}
+              },
+              'line_nr' => {},
+              'parent' => {}
+            },
+            {
+              'parent' => {},
+              'text' => '
+'
+            },
+            {
+              'args' => [
+                {
+                  'contents' => [
+                    {
+                      'extra' => {
+                        'command' => {}
+                      },
+                      'parent' => {},
+                      'text' => ' ',
+                      'type' => 'empty_spaces_after_command'
+                    },
+                    {
+                      'parent' => {},
+                      'text' => 'float'
+                    },
+                    {
+                      'parent' => {},
+                      'text' => '
+',
+                      'type' => 'spaces_at_end'
+                    }
+                  ],
+                  'parent' => {},
+                  'type' => 'misc_line_arg'
+                }
+              ],
+              'cmdname' => 'end',
+              'extra' => {
+                'command' => {},
+                'command_argument' => 'float',
+                'text_arg' => 'float'
+              },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 53,
+                'macro' => ''
+              },
+              'parent' => {}
+            }
+          ],
+          'extra' => {
+            'block_command_line_contents' => [
+              [
+                {}
+              ],
+              [
+                {}
+              ]
+            ],
+            'caption' => {},
+            'end_command' => {},
+            'node_content' => [
+              {}
+            ],
+            'normalized' => 'g',
+            'type' => {
+              'content' => [
+                {}
+              ],
+              'normalized' => 'F'
+            }
+          },
+          'float_section' => {},
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 48,
+            'macro' => ''
+          },
+          'number' => '1.1',
+          'parent' => {}
+        }
+      ],
+      'extra' => {
+        'misc_content' => [
+          {}
+        ]
+      },
+      'level' => 1,
+      'line_nr' => {},
+      'number' => 1,
+      'parent' => {}
+    }
+  ],
+  'type' => 'document_root'
+};
+$result_trees{'image_inline_or_not'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[0]{'contents'}[0]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'parent'}
 = $result_trees{'image_inline_or_not'}{'contents'}[0]{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[0]{'contents'}[0]{'extra'}{'brace_command_contents'}[0][0]
 = 
$result_trees{'image_inline_or_not'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[0]{'contents'}[0]{'parent'} = 
$result_trees{'image_inline_or_not'}{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[0]{'contents'}[1]{'parent'} = 
$result_trees{'image_inline_or_not'}{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[0]{'contents'}[2]{'parent'} = 
$result_trees{'image_inline_or_not'}{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[0]{'contents'}[3]{'contents'}[0]{'parent'}
 = $result_trees{'image_inline_or_not'}{'contents'}[0]{'contents'}[3];
+$result_trees{'image_inline_or_not'}{'contents'}[0]{'contents'}[3]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[0]{'contents'}[3]{'contents'}[1]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[0]{'contents'}[3]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[0]{'contents'}[3]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[0]{'contents'}[3]{'contents'}[1]{'extra'}{'brace_command_contents'}[0][0]
 = 
$result_trees{'image_inline_or_not'}{'contents'}[0]{'contents'}[3]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[0]{'contents'}[3]{'contents'}[1]{'parent'}
 = $result_trees{'image_inline_or_not'}{'contents'}[0]{'contents'}[3];
+$result_trees{'image_inline_or_not'}{'contents'}[0]{'contents'}[3]{'contents'}[2]{'parent'}
 = $result_trees{'image_inline_or_not'}{'contents'}[0]{'contents'}[3];
+$result_trees{'image_inline_or_not'}{'contents'}[0]{'contents'}[3]{'parent'} = 
$result_trees{'image_inline_or_not'}{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[0]{'contents'}[4]{'parent'} = 
$result_trees{'image_inline_or_not'}{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[0]{'parent'} = 
$result_trees{'image_inline_or_not'};
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
 = $result_trees{'image_inline_or_not'}{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
 = $result_trees{'image_inline_or_not'}{'contents'}[1]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
 = $result_trees{'image_inline_or_not'}{'contents'}[1]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'}
 = $result_trees{'image_inline_or_not'}{'contents'}[1]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'args'}[0]{'parent'} = 
$result_trees{'image_inline_or_not'}{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[0]{'parent'} = 
$result_trees{'image_inline_or_not'}{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[1]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[1]{'args'}[0]{'parent'}
 = $result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[1]{'extra'}{'brace_command_contents'}[0][0]
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[1]{'parent'} = 
$result_trees{'image_inline_or_not'}{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[2]{'parent'} = 
$result_trees{'image_inline_or_not'}{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[3]{'parent'} = 
$result_trees{'image_inline_or_not'}{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[4]{'contents'}[0]{'parent'}
 = $result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[4];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[4]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[4]{'contents'}[1]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[4]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[4]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[4]{'contents'}[1]{'extra'}{'brace_command_contents'}[0][0]
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[4]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[4]{'contents'}[1]{'parent'}
 = $result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[4];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[4]{'contents'}[2]{'parent'}
 = $result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[4];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[4]{'parent'} = 
$result_trees{'image_inline_or_not'}{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[5]{'parent'} = 
$result_trees{'image_inline_or_not'}{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6]{'contents'}[0]{'extra'}{'command'}
 = $result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6]{'contents'}[0]{'parent'}
 = $result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6]{'contents'}[1]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6]{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6]{'contents'}[1]{'contents'}[1]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6]{'contents'}[1]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6]{'contents'}[1]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6]{'contents'}[1]{'contents'}[1]{'extra'}{'brace_command_contents'}[0][0]
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6]{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6]{'contents'}[1]{'contents'}[1]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6]{'contents'}[1]{'contents'}[2]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6]{'contents'}[1]{'contents'}[3]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6]{'contents'}[1]{'contents'}[4]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6]{'contents'}[1]{'contents'}[5]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6]{'contents'}[1]{'contents'}[5]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6]{'contents'}[1]{'contents'}[5]{'args'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6]{'contents'}[1]{'contents'}[5];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6]{'contents'}[1]{'contents'}[5]{'extra'}{'brace_command_contents'}[0][0]
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6]{'contents'}[1]{'contents'}[5]{'args'}[0]{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6]{'contents'}[1]{'contents'}[5]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6]{'contents'}[1]{'contents'}[6]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6]{'contents'}[1]{'parent'}
 = $result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6]{'contents'}[2]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6]{'contents'}[2];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6]{'contents'}[2]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6]{'contents'}[2]{'args'}[0]{'contents'}[1]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6]{'contents'}[2]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6]{'contents'}[2]{'args'}[0]{'contents'}[2]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6]{'contents'}[2]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6]{'contents'}[2]{'args'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6]{'contents'}[2];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6]{'contents'}[2]{'extra'}{'command'}
 = $result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6]{'contents'}[2]{'parent'}
 = $result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6]{'extra'}{'end_command'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6]{'contents'}[2];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[6]{'parent'} = 
$result_trees{'image_inline_or_not'}{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[7]{'parent'} = 
$result_trees{'image_inline_or_not'}{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
 = $result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8]{'args'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8]{'args'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8]{'args'}[0]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8]{'args'}[0]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8]{'args'}[0]{'contents'}[1]{'extra'}{'brace_command_contents'}[0][0]
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8]{'args'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8]{'args'}[0]{'contents'}[1]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8]{'args'}[0]{'contents'}[2]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8]{'args'}[0]{'parent'}
 = $result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8]{'contents'}[0]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8]{'contents'}[0]{'args'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8]{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8]{'contents'}[0]{'extra'}{'brace_command_contents'}[0][0]
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8]{'contents'}[0]{'args'}[0]{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8]{'contents'}[0]{'parent'}
 = $result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8]{'contents'}[1]{'parent'}
 = $result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8]{'contents'}[2]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8]{'contents'}[2];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8]{'contents'}[2]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8]{'contents'}[2]{'args'}[0]{'contents'}[1]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8]{'contents'}[2]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8]{'contents'}[2]{'args'}[0]{'contents'}[2]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8]{'contents'}[2]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8]{'contents'}[2]{'args'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8]{'contents'}[2];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8]{'contents'}[2]{'extra'}{'command'}
 = $result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8]{'contents'}[2]{'parent'}
 = $result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8]{'extra'}{'block_command_line_contents'}[0][0]
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8]{'args'}[0]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8]{'extra'}{'end_command'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8]{'contents'}[2];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8]{'line_nr'} 
= 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8]{'args'}[0]{'contents'}[1]{'line_nr'};
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[8]{'parent'} = 
$result_trees{'image_inline_or_not'}{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[9]{'parent'} = 
$result_trees{'image_inline_or_not'}{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
 = $result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'args'}[0]{'contents'}[1]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'args'}[0]{'contents'}[2]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'args'}[0]{'parent'}
 = $result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[0]{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[1]{'extra'}{'brace_command_contents'}[0][0]
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[1]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[2]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[0]{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'extra'}{'misc_content'}[0]
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'line_nr'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[1]{'line_nr'};
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[1]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[1]{'contents'}[1]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[1]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[1]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[1]{'contents'}[1]{'extra'}{'brace_command_contents'}[0][0]
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[1]{'contents'}[1]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[1]{'contents'}[2]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[1]{'contents'}[3]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[1]{'contents'}[4]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[1]{'contents'}[4];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[1]{'contents'}[4]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[1]{'contents'}[4]{'contents'}[1]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[1]{'contents'}[4]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[1]{'contents'}[4]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[1]{'contents'}[4]{'contents'}[1]{'extra'}{'brace_command_contents'}[0][0]
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[1]{'contents'}[4]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[1]{'contents'}[4]{'contents'}[1]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[1]{'contents'}[4];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[1]{'contents'}[4]{'contents'}[2]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[1]{'contents'}[4];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[1]{'contents'}[4]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[1]{'contents'}[5]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[1]{'contents'}[6]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[1]{'contents'}[6]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[1]{'contents'}[6]{'args'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[1]{'contents'}[6];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[1]{'contents'}[6]{'extra'}{'brace_command_contents'}[0][0]
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[1]{'contents'}[6]{'args'}[0]{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[1]{'contents'}[6]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[1]{'contents'}[7]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'contents'}[1]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'parent'}
 = $result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[1]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[1]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[1]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[1]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[1]{'extra'}{'command'}
 = $result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[1]{'parent'}
 = $result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'extra'}{'block_command_line_contents'}[0][0]
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'args'}[0]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'extra'}{'command_as_argument'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'args'}[0]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'extra'}{'end_command'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[10]{'parent'} 
= $result_trees{'image_inline_or_not'}{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[11]{'parent'} 
= $result_trees{'image_inline_or_not'}{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[0]{'extra'}{'command'}
 = $result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[0]{'parent'}
 = $result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[1]{'args'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[1]{'args'}[1]{'contents'}[0]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[1]{'args'}[1]{'contents'}[0]{'args'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[1]{'args'}[1]{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[1]{'args'}[1]{'contents'}[0]{'extra'}{'brace_command_contents'}[0][0]
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[1]{'args'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[1]{'args'}[1]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[1]{'args'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[1]{'args'}[1]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[1]{'args'}[2]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[1]{'args'}[3]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[1]{'args'}[3]{'contents'}[0]{'contents'}[0]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[1]{'args'}[3]{'contents'}[0]{'contents'}[0]{'args'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[1]{'args'}[3]{'contents'}[0]{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[1]{'args'}[3]{'contents'}[0]{'contents'}[0]{'extra'}{'brace_command_contents'}[0][0]
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[1]{'args'}[3]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[1]{'args'}[3]{'contents'}[0]{'contents'}[0]{'line_nr'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[1]{'args'}[1]{'contents'}[0]{'line_nr'};
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[1]{'args'}[3]{'contents'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[1]{'args'}[3]{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[1]{'args'}[3]{'contents'}[0]{'contents'}[1]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[1]{'args'}[3]{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[1]{'args'}[3]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[1]{'args'}[3];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[1]{'args'}[3]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[1]{'extra'}{'menu_entry_description'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[1]{'args'}[3];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[1]{'extra'}{'menu_entry_node'}{'node_content'}[0]
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[1]{'args'}[1]{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[1]{'line_nr'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[1]{'args'}[1]{'contents'}[0]{'line_nr'};
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[1]{'parent'}
 = $result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2]{'args'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2]{'args'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2]{'args'}[1]{'contents'}[0]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2]{'args'}[1]{'contents'}[0]{'args'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2]{'args'}[1]{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2]{'args'}[1]{'contents'}[0]{'extra'}{'brace_command_contents'}[0][0]
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2]{'args'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2]{'args'}[1]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2]{'args'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2]{'args'}[1]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2]{'args'}[2]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2]{'args'}[3]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2]{'args'}[3];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2]{'args'}[3]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2]{'args'}[3]{'contents'}[1]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2]{'args'}[3]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2]{'args'}[3]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2]{'args'}[3]{'contents'}[1]{'extra'}{'brace_command_contents'}[0][0]
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2]{'args'}[3]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2]{'args'}[3]{'contents'}[1]{'line_nr'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2]{'args'}[1]{'contents'}[0]{'line_nr'};
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2]{'args'}[3]{'contents'}[1]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2]{'args'}[3];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2]{'args'}[3]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2]{'args'}[4]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2]{'args'}[5]{'contents'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2]{'args'}[5]{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2]{'args'}[5]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2]{'args'}[5];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2]{'args'}[5]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2]{'extra'}{'menu_entry_description'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2]{'args'}[5];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2]{'extra'}{'menu_entry_name'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2]{'args'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2]{'extra'}{'menu_entry_node'}{'manual_content'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2]{'args'}[3];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2]{'extra'}{'menu_entry_node'}{'node_content'}[0]
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2]{'args'}[3]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2]{'line_nr'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2]{'args'}[1]{'contents'}[0]{'line_nr'};
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[2]{'parent'}
 = $result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[3]{'contents'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[3]{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[3]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[3]{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[3]{'contents'}[0]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[3]{'contents'}[0]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[3]{'contents'}[0]{'contents'}[1]{'extra'}{'brace_command_contents'}[0][0]
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[3]{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[3]{'contents'}[0]{'contents'}[1]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[3]{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[3]{'contents'}[0]{'contents'}[2]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[3]{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[3]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[3];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[3]{'parent'}
 = $result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[4]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[4];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[4]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[4]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[4]{'args'}[0]{'contents'}[1]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[4]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[4]{'args'}[0]{'contents'}[2]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[4]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[4]{'args'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[4];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[4]{'extra'}{'command'}
 = $result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[4]{'parent'}
 = $result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'extra'}{'end_command'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'contents'}[4];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[12]{'parent'} 
= $result_trees{'image_inline_or_not'}{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'contents'}[13]{'parent'} 
= $result_trees{'image_inline_or_not'}{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'extra'}{'node_content'}[0]
 = 
$result_trees{'image_inline_or_not'}{'contents'}[1]{'args'}[0]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'extra'}{'nodes_manuals'}[0]{'node_content'}
 = $result_trees{'image_inline_or_not'}{'contents'}[1]{'extra'}{'node_content'};
+$result_trees{'image_inline_or_not'}{'contents'}[1]{'parent'} = 
$result_trees{'image_inline_or_not'};
+$result_trees{'image_inline_or_not'}{'contents'}[2]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
 = $result_trees{'image_inline_or_not'}{'contents'}[2];
+$result_trees{'image_inline_or_not'}{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
 = $result_trees{'image_inline_or_not'}{'contents'}[2]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[2]{'args'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[2]{'args'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[2]{'args'}[0]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[2]{'args'}[0]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[2]{'args'}[0]{'contents'}[1]{'extra'}{'brace_command_contents'}[0][0]
 = 
$result_trees{'image_inline_or_not'}{'contents'}[2]{'args'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[2]{'args'}[0]{'contents'}[1]{'parent'}
 = $result_trees{'image_inline_or_not'}{'contents'}[2]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[2]{'args'}[0]{'contents'}[2]{'parent'}
 = $result_trees{'image_inline_or_not'}{'contents'}[2]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[2]{'args'}[0]{'parent'} = 
$result_trees{'image_inline_or_not'}{'contents'}[2];
+$result_trees{'image_inline_or_not'}{'contents'}[2]{'extra'}{'node_content'}[0]
 = 
$result_trees{'image_inline_or_not'}{'contents'}[2]{'args'}[0]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[2]{'extra'}{'nodes_manuals'}[0]{'node_content'}
 = $result_trees{'image_inline_or_not'}{'contents'}[2]{'extra'}{'node_content'};
+$result_trees{'image_inline_or_not'}{'contents'}[2]{'line_nr'} = 
$result_trees{'image_inline_or_not'}{'contents'}[2]{'args'}[0]{'contents'}[1]{'line_nr'};
+$result_trees{'image_inline_or_not'}{'contents'}[2]{'parent'} = 
$result_trees{'image_inline_or_not'};
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
 = $result_trees{'image_inline_or_not'}{'contents'}[3];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'args'}[0]{'contents'}[0]{'parent'}
 = $result_trees{'image_inline_or_not'}{'contents'}[3]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'args'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[3]{'args'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'args'}[0]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[3]{'args'}[0]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'args'}[0]{'contents'}[1]{'extra'}{'brace_command_contents'}[0][0]
 = 
$result_trees{'image_inline_or_not'}{'contents'}[3]{'args'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'args'}[0]{'contents'}[1]{'parent'}
 = $result_trees{'image_inline_or_not'}{'contents'}[3]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'args'}[0]{'contents'}[2]{'parent'}
 = $result_trees{'image_inline_or_not'}{'contents'}[3]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'args'}[0]{'parent'} = 
$result_trees{'image_inline_or_not'}{'contents'}[3];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[0]{'parent'} = 
$result_trees{'image_inline_or_not'}{'contents'}[3];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[1]{'parent'} = 
$result_trees{'image_inline_or_not'}{'contents'}[3];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[2]{'contents'}[0]{'parent'}
 = $result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[2];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[2]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[2]{'contents'}[1]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[2]{'contents'}[1]{'args'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[2]{'contents'}[1]{'args'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[2]{'contents'}[1]{'args'}[0]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[2]{'contents'}[1]{'args'}[0]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[2]{'contents'}[1]{'args'}[0]{'contents'}[1]{'extra'}{'brace_command_contents'}[0][0]
 = 
$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[2]{'contents'}[1]{'args'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[2]{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[2]{'contents'}[1]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[2]{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[2]{'contents'}[1]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[2]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[2]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[2]{'contents'}[1]{'parent'}
 = $result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[2];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[2]{'contents'}[2]{'parent'}
 = $result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[2];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[2]{'parent'} = 
$result_trees{'image_inline_or_not'}{'contents'}[3];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[3]{'parent'} = 
$result_trees{'image_inline_or_not'}{'contents'}[3];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
 = $result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'args'}[0]{'contents'}[1]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'args'}[0]{'parent'}
 = $result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'args'}[1]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'args'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'args'}[1]{'contents'}[1]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'args'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'args'}[1]{'parent'}
 = $result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[0]{'parent'}
 = $result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[1]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[1]{'extra'}{'brace_command_contents'}[0][0]
 = 
$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[1]{'parent'}
 = $result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[2]{'parent'}
 = $result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[3]{'parent'}
 = $result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[4]{'args'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[4]{'args'}[0]{'contents'}[0]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[4]{'args'}[0]{'contents'}[0]{'args'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[4]{'args'}[0]{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[4]{'args'}[0]{'contents'}[0]{'extra'}{'brace_command_contents'}[0][0]
 = 
$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[4]{'args'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[4]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[4]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[4]{'args'}[0]{'contents'}[1]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[4]{'args'}[0]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[4]{'args'}[0]{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[4]{'args'}[0]{'contents'}[1]{'contents'}[1]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[4]{'args'}[0]{'contents'}[1]{'contents'}[1]{'args'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[4]{'args'}[0]{'contents'}[1]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[4]{'args'}[0]{'contents'}[1]{'contents'}[1]{'extra'}{'brace_command_contents'}[0][0]
 = 
$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[4]{'args'}[0]{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[4]{'args'}[0]{'contents'}[1]{'contents'}[1]{'line_nr'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[4]{'args'}[0]{'contents'}[0]{'line_nr'};
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[4]{'args'}[0]{'contents'}[1]{'contents'}[1]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[4]{'args'}[0]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[4]{'args'}[0]{'contents'}[1]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[4]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[4]{'args'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[4];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[4]{'extra'}{'float'}
 = $result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[4]{'line_nr'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[4]{'args'}[0]{'contents'}[0]{'line_nr'};
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[4]{'parent'}
 = $result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[5]{'parent'}
 = $result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[6]{'args'}[0]{'contents'}[0]{'extra'}{'command'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[6];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[6]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[6]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[6]{'args'}[0]{'contents'}[1]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[6]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[6]{'args'}[0]{'contents'}[2]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[6]{'args'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[6]{'args'}[0]{'parent'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[6];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[6]{'extra'}{'command'}
 = $result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[6]{'parent'}
 = $result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'extra'}{'block_command_line_contents'}[0][0]
 = 
$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'args'}[0]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'extra'}{'block_command_line_contents'}[1][0]
 = 
$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'args'}[1]{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'extra'}{'caption'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[4];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'extra'}{'end_command'}
 = 
$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'contents'}[6];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'extra'}{'node_content'}[0]
 = 
$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'args'}[1]{'contents'}[0];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'extra'}{'type'}{'content'}[0]
 = 
$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'args'}[0]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'float_section'}
 = $result_trees{'image_inline_or_not'}{'contents'}[3];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'contents'}[4]{'parent'} = 
$result_trees{'image_inline_or_not'}{'contents'}[3];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'extra'}{'misc_content'}[0]
 = 
$result_trees{'image_inline_or_not'}{'contents'}[3]{'args'}[0]{'contents'}[1];
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'line_nr'} = 
$result_trees{'image_inline_or_not'}{'contents'}[3]{'args'}[0]{'contents'}[1]{'line_nr'};
+$result_trees{'image_inline_or_not'}{'contents'}[3]{'parent'} = 
$result_trees{'image_inline_or_not'};
+
+$result_texis{'image_inline_or_not'} = '@image{A}
+
+Para @image{hh}.
+
address@hidden Top
+
address@hidden
+
+Para @image{jj}.
+
address@hidden
+
address@hidden
+
+T
address@hidden example after text}
address@hidden example
+
address@hidden @image{in_quotation_arg}
address@hidden
address@hidden quotation
+
address@hidden @asis
address@hidden @image{in_table_item}
+
address@hidden
+
+AA @image{in_table_def_para}
+
address@hidden
address@hidden table
+
address@hidden
+* @image{node_image}:: @image{image_in_description}
+* @image{in_menu_entry_name}: (somewhere)@image{extnode}.
+
address@hidden
address@hidden menu
+
address@hidden @image{node_image}
address@hidden @image{in_chapter_arg}
+
+
address@hidden
address@hidden
+}
+
address@hidden F,g
+
address@hidden
+
address@hidden@image{in_caption} PAra @image{in_caption_para}}
address@hidden float
+';
+
+
+$result_texts{'image_inline_or_not'} = 'A
+
+Para hh.
+
+
+B
+
+Para jj.
+
+
+in_example
+
+T
+in example after text
+
+in_quotation_arg
+in_quotation_content
+
+in_table_item
+
+in_table_def
+
+AA in_table_def_para
+
+in_table_def_after
+
+* node_image:: image_in_description
+* in_menu_entry_name: (somewhere)extnode.
+
+in_menu_comment
+
+1 in_chapter_arg
+****************
+
+
+T
+
+F, g
+
+in_float
+
+
+';
+
+$result_sectioning{'image_inline_or_not'} = {
+  'level' => 0,
+  'section_childs' => [
+    {
+      'cmdname' => 'chapter',
+      'extra' => {
+        'associated_node' => {
+          'cmdname' => 'node',
+          'extra' => {
+            'normalized' => 'node_005fimage'
+          }
+        }
+      },
+      'level' => 1,
+      'number' => 1,
+      'section_up' => {}
+    }
+  ]
+};
+$result_sectioning{'image_inline_or_not'}{'section_childs'}[0]{'section_up'} = 
$result_sectioning{'image_inline_or_not'};
+
+$result_nodes{'image_inline_or_not'} = {
+  'cmdname' => 'node',
+  'extra' => {
+    'normalized' => 'Top'
+  },
+  'menu_child' => {
+    'cmdname' => 'node',
+    'extra' => {
+      'associated_section' => {
+        'cmdname' => 'chapter',
+        'extra' => {},
+        'level' => 1,
+        'number' => 1
+      },
+      'normalized' => 'node_005fimage'
+    },
+    'node_next' => {
+      'extra' => {
+        'manual_content' => [
+          {
+            'text' => 'somewhere'
+          }
+        ],
+        'normalized' => 'extnode'
+      }
+    },
+    'node_prev' => {},
+    'node_up' => {}
+  },
+  'menus' => [
+    {
+      'cmdname' => 'menu',
+      'extra' => {
+        'end_command' => {
+          'cmdname' => 'end',
+          'extra' => {
+            'command' => {},
+            'command_argument' => 'menu',
+            'text_arg' => 'menu'
+          }
+        }
+      }
+    }
+  ],
+  'node_next' => {},
+  'node_up' => {
+    'extra' => {
+      'manual_content' => [
+        {
+          'text' => 'dir'
+        }
+      ],
+      'top_node_up' => {}
+    },
+    'type' => 'top_node_up'
+  }
+};
+$result_nodes{'image_inline_or_not'}{'menu_child'}{'node_prev'} = 
$result_nodes{'image_inline_or_not'};
+$result_nodes{'image_inline_or_not'}{'menu_child'}{'node_up'} = 
$result_nodes{'image_inline_or_not'};
+$result_nodes{'image_inline_or_not'}{'menus'}[0]{'extra'}{'end_command'}{'extra'}{'command'}
 = $result_nodes{'image_inline_or_not'}{'menus'}[0];
+$result_nodes{'image_inline_or_not'}{'node_next'} = 
$result_nodes{'image_inline_or_not'}{'menu_child'};
+$result_nodes{'image_inline_or_not'}{'node_up'}{'extra'}{'top_node_up'} = 
$result_nodes{'image_inline_or_not'};
+
+$result_menus{'image_inline_or_not'} = {
+  'cmdname' => 'node',
+  'extra' => {
+    'normalized' => 'Top'
+  },
+  'menu_child' => {
+    'cmdname' => 'node',
+    'extra' => {
+      'normalized' => 'node_005fimage'
+    },
+    'menu_next' => {
+      'extra' => {
+        'manual_content' => [
+          {
+            'text' => 'somewhere'
+          }
+        ],
+        'normalized' => 'extnode'
+      }
+    },
+    'menu_up' => {},
+    'menu_up_hash' => {
+      'Top' => 1
+    }
+  }
+};
+$result_menus{'image_inline_or_not'}{'menu_child'}{'menu_up'} = 
$result_menus{'image_inline_or_not'};
+
+$result_errors{'image_inline_or_not'} = [];
+
+
+$result_floats{'image_inline_or_not'} = {
+  'F' => [
+    {
+      'cmdname' => 'float',
+      'extra' => {
+        'caption' => {
+          'cmdname' => 'caption',
+          'extra' => {
+            'float' => {}
+          }
+        },
+        'end_command' => {
+          'cmdname' => 'end',
+          'extra' => {
+            'command' => {},
+            'command_argument' => 'float',
+            'text_arg' => 'float'
+          }
+        },
+        'normalized' => 'g',
+        'type' => {
+          'content' => [
+            {
+              'text' => 'F'
+            }
+          ],
+          'normalized' => 'F'
+        }
+      },
+      'float_section' => {
+        'cmdname' => 'chapter',
+        'extra' => {},
+        'level' => 1,
+        'number' => 1
+      },
+      'number' => '1.1'
+    }
+  ]
+};
+$result_floats{'image_inline_or_not'}{'F'}[0]{'extra'}{'caption'}{'extra'}{'float'}
 = $result_floats{'image_inline_or_not'}{'F'}[0];
+$result_floats{'image_inline_or_not'}{'F'}[0]{'extra'}{'end_command'}{'extra'}{'command'}
 = $result_floats{'image_inline_or_not'}{'F'}[0];
+
+
+
+$result_converted{'xml'}->{'image_inline_or_not'} = 
'<image><imagefile>A</imagefile><image>
+
+<para>Para <image where="inline"><imagefile>hh</imagefile><image>.
+</para>
+<node name="Top">
+<nodename>Top</nodename>
+<nodenext automatic="on"><image 
where="inline"><imagefile>node_image</imagefile><image></nodenext>
+<nodeup automatic="on">(dir)</nodeup>
+</node>
+
+<image><imagefile>B</imagefile><image>
+
+<para>Para <image where="inline"><imagefile>jj</imagefile><image>.
+</para>
+<example>
+
+<image where="inline"><imagefile>in_example</imagefile><image>
+
+T
+<image where="inline"><imagefile>in example after text</imagefile><image>
+</example>
+
+<quotation><quotationtype><image 
where="inline"><imagefile>in_quotation_arg</imagefile><image></quotationtype>
+<image><imagefile>in_quotation_content</imagefile><image>
+</quotation>
+
+<table commandarg="asis"><tableitem><tableterm command="item" 
itemfunction="asis"><image 
where="inline"><imagefile>in_table_item</imagefile><image></tableterm>
+<item>
+<image><imagefile>in_table_def</imagefile><image>
+
+<para>AA <image where="inline"><imagefile>in_table_def_para</imagefile><image>
+</para>
+<image><imagefile>in_table_def_after</imagefile><image>
+</item></tableitem></table>
+
+<menu>
+<menuentry><menunode><image 
where="inline"><imagefile>node_image</imagefile><image></menunode><menudescription><image
 where="inline"><imagefile>image_in_description</imagefile><image>
+</menudescription></menuentry><menuentry><menutitle><image 
where="inline"><imagefile>in_menu_entry_name</imagefile><image></menutitle><menunode>(somewhere)<image
 
where="inline"><imagefile>extnode</imagefile><image></menunode><menudescription>
+</menudescription></menuentry><menucomment>
+<image where="inline"><imagefile>in_menu_comment</imagefile><image>
+</menucomment></menu>
+
+<node name="node_005fimage">
+<nodename><image 
where="inline"><imagefile>node_image</imagefile><image></nodename>
+<nodenext automatic="on">(somewhere)<image 
where="inline"><imagefile>extnode</imagefile><image></nodenext>
+<nodeprev automatic="on">Top</nodeprev>
+<nodeup automatic="on">Top</nodeup>
+</node>
+<chapter>
+<title><image 
where="inline"><imagefile>in_chapter_arg</imagefile><image></title>
+
+
+<para>T<footnote><image 
where="inline"><imagefile>in_footnote</imagefile><image>
+</footnote>
+</para>
+<float name="g" type="F"><floattype>F</floattype>
+<floatname>g</floatname>
+
+<image><imagefile>in_float</imagefile><image>
+
+<caption><image><imagefile>in_caption</imagefile><image><para> PAra <image 
where="inline"><imagefile>in_caption_para</imagefile><image></para></caption>
+</float>
+</chapter>
+';
+
+1;



reply via email to

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