[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
texinfo/tp TODO Texinfo/Convert/DocBook.pm Texi...
From: |
Patrice Dumas |
Subject: |
texinfo/tp TODO Texinfo/Convert/DocBook.pm Texi... |
Date: |
Thu, 05 Jan 2012 21:03:57 +0000 |
CVSROOT: /sources/texinfo
Module name: texinfo
Changes by: Patrice Dumas <pertusus> 12/01/05 21:03:57
Modified files:
tp : TODO
tp/Texinfo/Convert: DocBook.pm HTML.pm
tp/t : converters_tests.t
Added files:
tp/t/results/converters_tests: inline.pl inline_expand_tex.pl
Log message:
Handle @inline* in DocBook and HTML.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/TODO?cvsroot=texinfo&r1=1.233&r2=1.234
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Convert/DocBook.pm?cvsroot=texinfo&r1=1.37&r2=1.38
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Convert/HTML.pm?cvsroot=texinfo&r1=1.220&r2=1.221
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/converters_tests.t?cvsroot=texinfo&r1=1.13&r2=1.14
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/converters_tests/inline.pl?cvsroot=texinfo&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/converters_tests/inline_expand_tex.pl?cvsroot=texinfo&rev=1.1
Patches:
Index: TODO
===================================================================
RCS file: /sources/texinfo/texinfo/tp/TODO,v
retrieving revision 1.233
retrieving revision 1.234
diff -u -b -r1.233 -r1.234
--- TODO 5 Jan 2012 20:24:21 -0000 1.233
+++ TODO 5 Jan 2012 21:03:56 -0000 1.234
@@ -10,7 +10,7 @@
add hashcahar, rbracechar... to tests.
Redo macros/space_macro_after_end with @verbatim
-duplicate coverage_braces/'raw_in_style','raw_expanded_in_style'
+remove duplicated coverage_braces/'raw_in_style','raw_expanded_in_style'
and raw/'raw_in_brace_command'
Do a sed script to change VERSION in all modules that have
Index: Texinfo/Convert/DocBook.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Convert/DocBook.pm,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -b -r1.37 -r1.38
--- Texinfo/Convert/DocBook.pm 5 Jan 2012 20:24:21 -0000 1.37
+++ Texinfo/Convert/DocBook.pm 5 Jan 2012 21:03:56 -0000 1.38
@@ -973,8 +973,24 @@
} else {
return '';
}
+ } elsif ($Texinfo::Common::inline_format_commands{$root->{'cmdname'}}
+ and $root->{'extra'} and $root->{'extra'}->{'format'}
+ and
$self->{'expanded_formats_hash'}->{$root->{'extra'}->{'format'}}) {
+ if ($root->{'cmdname'} eq 'inlineraw') {
+ push @{$self->{'document_context'}}, {};
+ $self->{'document_context'}->[-1]->{'raw'} = 1;
+ }
+ if (scalar (@{$root->{'extra'}->{'brace_command_contents'}}) == 2
+ and defined($root->{'extra'}->{'brace_command_contents'}->[-1])) {
+ $result .= $self->_convert({'contents'
+ =>
$root->{'extra'}->{'brace_command_contents'}->[-1]});
+ }
+ if ($root->{'cmdname'} eq 'inlineraw') {
+ pop @{$self->{'document_context'}};
+ }
+ return $result;
} else {
- # ignored command
+ # ignored brace command
return '';
}
# special case to ensure that @w leads to something even if empty
Index: Texinfo/Convert/HTML.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Convert/HTML.pm,v
retrieving revision 1.220
retrieving revision 1.221
diff -u -b -r1.220 -r1.221
--- Texinfo/Convert/HTML.pm 3 Jan 2012 22:54:35 -0000 1.220
+++ Texinfo/Convert/HTML.pm 5 Jan 2012 21:03:57 -0000 1.221
@@ -72,6 +72,7 @@
my %item_container_commands = %Texinfo::Common::item_container_commands;
my %raw_commands = %Texinfo::Common::raw_commands;
my %format_raw_commands = %Texinfo::Common::format_raw_commands;
+my %inline_format_commands = %Texinfo::Common::inline_format_commands;
my %code_style_commands = %Texinfo::Common::code_style_commands;
my %preformatted_code_commands = %Texinfo::Common::preformatted_code_commands;
my %default_index_commands = %Texinfo::Common::default_index_commands;
@@ -1078,6 +1079,8 @@
'pxref' => [['code'],['normal'],['normal'],['codetext'],['normal']],
'ref' => [['code'],['normal'],['normal'],['codetext'],['normal']],
'image' => [['codetext'],['codetext'],['codetext'],['string',
'normal'],['codetext']],
+ 'inlinefmt' => [['codetext'],['normal']],
+ 'inlineraw' => [['codetext'],['raw']],
'item' => [[]],
'itemx' => [[]],
);
@@ -2294,6 +2297,38 @@
$default_commands_conversion{$command} = \&_convert_raw_command;
}
+sub _convert_inline_command($$$$)
+{
+ my $self = shift;
+ my $cmdname = shift;
+ my $command = shift;
+ my $args = shift;
+
+ my $format_arg = shift @$args;
+ my $text_arg = shift @$args;
+
+ my $format;
+ if (defined($format_arg)) {
+ $format = $format_arg->{'codetext'};
+ }
+ return '' if (!defined($format) or $format eq '');
+
+ if ($self->{'expanded_formats_hash'}->{$format}) {
+ if ($text_arg) {
+ if ($text_arg->{'normal'}) {
+ return $text_arg->{'normal'};
+ } elsif ($text_arg->{'raw'}) {
+ return $text_arg->{'raw'};
+ }
+ }
+ } else {
+ return '';
+ }
+}
+
+foreach my $command (keys(%inline_format_commands)) {
+ $default_commands_conversion{$command} = \&_convert_inline_command;
+}
my $html_menu_entry_index = 0;
sub _convert_preformatted_commands($$$$)
@@ -7230,6 +7265,10 @@
$arg_formatted->{$arg_type}
= Texinfo::Convert::Text::convert($arg, {'code' => 1,
Texinfo::Common::_convert_text_options($self)});
+ } elsif ($arg_type eq 'raw') {
+ $self->{'document_context'}->[-1]->{'raw'}++;
+ $arg_formatted->{$arg_type} = $self->_convert($arg,
$explanation);
+ $self->{'document_context'}->[-1]->{'raw'}--;
}
}
Index: t/converters_tests.t
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/converters_tests.t,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- t/converters_tests.t 5 Jan 2012 20:24:21 -0000 1.13
+++ t/converters_tests.t 5 Jan 2012 21:03:57 -0000 1.14
@@ -106,14 +106,14 @@
@inlinefmt{html, <blink>html</blink> ``},
@inlinefmt{plaintext, plaintext ``},
@inlinefmt{xml, <para>xml</para> ``},
address@hidden, <emphasis>docbook</emphasis> ``},
address@hidden, <emphasis>docbook</emphasis> ``},
@inlinefmt{tex, $\underline{a < b @code{tex \hbox{ code }}}$ ``}
@inlineraw{html, raw <blink>html</blink> ``},
@inlineraw{plaintext, raw plaintext ``},
@inlineraw{xml, raw <para>xml</para> ``},
address@hidden, raw <emphasis>docbook</emphasis> ``},
address@hidden, raw <emphasis>docbook</emphasis> ``},
@inlineraw{tex, raw $\underline{a < b @code{tex \hbox{ code }}}$ ``}
';
@@ -319,15 +319,12 @@
['raw_block_commands_expand_tex',
$raw_commands_text, {'expanded_formats' => ['tex']},
],
-
-#['inline',
-#$inline_text
-#],
-#['inline_expand_tex',
-#$inline_text, {'expanded_formats' => ['tex']},
-#]
-
-
+['inline',
+$inline_text
+],
+['inline_expand_tex',
+$inline_text, {'expanded_formats' => ['tex']},
+]
);
# This should go to a file, not to code...
Index: t/results/converters_tests/inline.pl
===================================================================
RCS file: t/results/converters_tests/inline.pl
diff -N t/results/converters_tests/inline.pl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ t/results/converters_tests/inline.pl 5 Jan 2012 21:03:57 -0000
1.1
@@ -0,0 +1,857 @@
+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{'inline'} = {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'html'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ },
+ {
+ 'contents' => [
+ {
+ 'text' => ' ',
+ 'type' => 'empty_spaces_before_argument'
+ },
+ {
+ 'parent' => {},
+ 'text' => '<blink>html</blink> ``'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'inlinefmt',
+ 'contents' => [],
+ 'extra' => {
+ 'brace_command_contents' => [
+ [
+ {}
+ ],
+ [
+ {}
+ ]
+ ],
+ 'format' => 'html'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 2,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => ',
+'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'plaintext'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ },
+ {
+ 'contents' => [
+ {
+ 'text' => ' ',
+ 'type' => 'empty_spaces_before_argument'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'plaintext ``'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'inlinefmt',
+ 'contents' => [],
+ 'extra' => {
+ 'brace_command_contents' => [
+ [
+ {}
+ ],
+ [
+ {}
+ ]
+ ],
+ 'format' => 'plaintext'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 3,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => ',
+'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'xml'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ },
+ {
+ 'contents' => [
+ {
+ 'text' => ' ',
+ 'type' => 'empty_spaces_before_argument'
+ },
+ {
+ 'parent' => {},
+ 'text' => '<para>xml</para> ``'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'inlinefmt',
+ 'contents' => [],
+ 'extra' => {
+ 'brace_command_contents' => [
+ [
+ {}
+ ],
+ [
+ {}
+ ]
+ ],
+ 'format' => 'xml'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 4,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => ',
+'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'docbook'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ },
+ {
+ 'contents' => [
+ {
+ 'text' => ' ',
+ 'type' => 'empty_spaces_before_argument'
+ },
+ {
+ 'parent' => {},
+ 'text' => '<emphasis>docbook</emphasis> ``'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'inlinefmt',
+ 'contents' => [],
+ 'extra' => {
+ 'brace_command_contents' => [
+ [
+ {}
+ ],
+ [
+ {}
+ ]
+ ],
+ 'format' => 'docbook'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 5,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => ',
+'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'tex'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ },
+ {
+ 'contents' => [
+ {
+ 'text' => ' ',
+ 'type' => 'empty_spaces_before_argument'
+ },
+ {
+ 'parent' => {},
+ 'text' => '$\\underlinea < b '
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'tex \\hbox code '
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'code',
+ 'contents' => [],
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 6,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'inlinefmt',
+ 'contents' => [],
+ 'extra' => {
+ 'brace_command_contents' => [
+ [
+ {}
+ ],
+ [
+ {},
+ {}
+ ]
+ ],
+ 'format' => 'tex'
+ },
+ 'line_nr' => {},
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '$ ``
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'html'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ },
+ {
+ 'contents' => [
+ {
+ 'text' => ' ',
+ 'type' => 'empty_spaces_before_argument'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'raw <blink>html</blink> ``'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'inlineraw',
+ 'contents' => [],
+ 'extra' => {
+ 'brace_command_contents' => [
+ [
+ {}
+ ],
+ [
+ {}
+ ]
+ ],
+ 'format' => 'html'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 9,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => ',
+'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'plaintext'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ },
+ {
+ 'contents' => [
+ {
+ 'text' => ' ',
+ 'type' => 'empty_spaces_before_argument'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'raw plaintext ``'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'inlineraw',
+ 'contents' => [],
+ 'extra' => {
+ 'brace_command_contents' => [
+ [
+ {}
+ ],
+ [
+ {}
+ ]
+ ],
+ 'format' => 'plaintext'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 10,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => ',
+'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'xml'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ },
+ {
+ 'contents' => [
+ {
+ 'text' => ' ',
+ 'type' => 'empty_spaces_before_argument'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'raw <para>xml</para> ``'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'inlineraw',
+ 'contents' => [],
+ 'extra' => {
+ 'brace_command_contents' => [
+ [
+ {}
+ ],
+ [
+ {}
+ ]
+ ],
+ 'format' => 'xml'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 11,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => ',
+'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'docbook'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ },
+ {
+ 'contents' => [
+ {
+ 'text' => ' ',
+ 'type' => 'empty_spaces_before_argument'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'raw <emphasis>docbook</emphasis> ``'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'inlineraw',
+ 'contents' => [],
+ 'extra' => {
+ 'brace_command_contents' => [
+ [
+ {}
+ ],
+ [
+ {}
+ ]
+ ],
+ 'format' => 'docbook'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 12,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => ',
+'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'tex'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ },
+ {
+ 'contents' => [
+ {
+ 'text' => ' ',
+ 'type' => 'empty_spaces_before_argument'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'raw $\\underline'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'a < b '
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'tex \\hbox'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' code '
+ }
+ ],
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 13,
+ 'macro' => ''
+ },
+ 'parent' => {},
+ 'type' => 'bracketed'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'code',
+ 'contents' => [],
+ 'line_nr' => {},
+ 'parent' => {}
+ }
+ ],
+ 'line_nr' => {},
+ 'parent' => {},
+ 'type' => 'bracketed'
+ },
+ {
+ 'parent' => {},
+ 'text' => '$ ``'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'inlineraw',
+ 'contents' => [],
+ 'extra' => {
+ 'brace_command_contents' => [
+ [
+ {}
+ ],
+ [
+ {},
+ {},
+ {}
+ ]
+ ],
+ 'format' => 'tex'
+ },
+ 'line_nr' => {},
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ }
+ ],
+ 'type' => 'text_root'
+};
+$result_trees{'inline'}{'contents'}[0]{'parent'} = $result_trees{'inline'};
+$result_trees{'inline'}{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'inline'}{'contents'}[1]{'contents'}[0]{'args'}[0];
+$result_trees{'inline'}{'contents'}[1]{'contents'}[0]{'args'}[0]{'parent'} =
$result_trees{'inline'}{'contents'}[1]{'contents'}[0];
+$result_trees{'inline'}{'contents'}[1]{'contents'}[0]{'args'}[1]{'contents'}[1]{'parent'}
= $result_trees{'inline'}{'contents'}[1]{'contents'}[0]{'args'}[1];
+$result_trees{'inline'}{'contents'}[1]{'contents'}[0]{'args'}[1]{'parent'} =
$result_trees{'inline'}{'contents'}[1]{'contents'}[0];
+$result_trees{'inline'}{'contents'}[1]{'contents'}[0]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'inline'}{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0];
+$result_trees{'inline'}{'contents'}[1]{'contents'}[0]{'extra'}{'brace_command_contents'}[1][0]
=
$result_trees{'inline'}{'contents'}[1]{'contents'}[0]{'args'}[1]{'contents'}[1];
+$result_trees{'inline'}{'contents'}[1]{'contents'}[0]{'parent'} =
$result_trees{'inline'}{'contents'}[1];
+$result_trees{'inline'}{'contents'}[1]{'contents'}[1]{'parent'} =
$result_trees{'inline'}{'contents'}[1];
+$result_trees{'inline'}{'contents'}[1]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'inline'}{'contents'}[1]{'contents'}[2]{'args'}[0];
+$result_trees{'inline'}{'contents'}[1]{'contents'}[2]{'args'}[0]{'parent'} =
$result_trees{'inline'}{'contents'}[1]{'contents'}[2];
+$result_trees{'inline'}{'contents'}[1]{'contents'}[2]{'args'}[1]{'contents'}[1]{'parent'}
= $result_trees{'inline'}{'contents'}[1]{'contents'}[2]{'args'}[1];
+$result_trees{'inline'}{'contents'}[1]{'contents'}[2]{'args'}[1]{'parent'} =
$result_trees{'inline'}{'contents'}[1]{'contents'}[2];
+$result_trees{'inline'}{'contents'}[1]{'contents'}[2]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'inline'}{'contents'}[1]{'contents'}[2]{'args'}[0]{'contents'}[0];
+$result_trees{'inline'}{'contents'}[1]{'contents'}[2]{'extra'}{'brace_command_contents'}[1][0]
=
$result_trees{'inline'}{'contents'}[1]{'contents'}[2]{'args'}[1]{'contents'}[1];
+$result_trees{'inline'}{'contents'}[1]{'contents'}[2]{'parent'} =
$result_trees{'inline'}{'contents'}[1];
+$result_trees{'inline'}{'contents'}[1]{'contents'}[3]{'parent'} =
$result_trees{'inline'}{'contents'}[1];
+$result_trees{'inline'}{'contents'}[1]{'contents'}[4]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'inline'}{'contents'}[1]{'contents'}[4]{'args'}[0];
+$result_trees{'inline'}{'contents'}[1]{'contents'}[4]{'args'}[0]{'parent'} =
$result_trees{'inline'}{'contents'}[1]{'contents'}[4];
+$result_trees{'inline'}{'contents'}[1]{'contents'}[4]{'args'}[1]{'contents'}[1]{'parent'}
= $result_trees{'inline'}{'contents'}[1]{'contents'}[4]{'args'}[1];
+$result_trees{'inline'}{'contents'}[1]{'contents'}[4]{'args'}[1]{'parent'} =
$result_trees{'inline'}{'contents'}[1]{'contents'}[4];
+$result_trees{'inline'}{'contents'}[1]{'contents'}[4]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'inline'}{'contents'}[1]{'contents'}[4]{'args'}[0]{'contents'}[0];
+$result_trees{'inline'}{'contents'}[1]{'contents'}[4]{'extra'}{'brace_command_contents'}[1][0]
=
$result_trees{'inline'}{'contents'}[1]{'contents'}[4]{'args'}[1]{'contents'}[1];
+$result_trees{'inline'}{'contents'}[1]{'contents'}[4]{'parent'} =
$result_trees{'inline'}{'contents'}[1];
+$result_trees{'inline'}{'contents'}[1]{'contents'}[5]{'parent'} =
$result_trees{'inline'}{'contents'}[1];
+$result_trees{'inline'}{'contents'}[1]{'contents'}[6]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'inline'}{'contents'}[1]{'contents'}[6]{'args'}[0];
+$result_trees{'inline'}{'contents'}[1]{'contents'}[6]{'args'}[0]{'parent'} =
$result_trees{'inline'}{'contents'}[1]{'contents'}[6];
+$result_trees{'inline'}{'contents'}[1]{'contents'}[6]{'args'}[1]{'contents'}[1]{'parent'}
= $result_trees{'inline'}{'contents'}[1]{'contents'}[6]{'args'}[1];
+$result_trees{'inline'}{'contents'}[1]{'contents'}[6]{'args'}[1]{'parent'} =
$result_trees{'inline'}{'contents'}[1]{'contents'}[6];
+$result_trees{'inline'}{'contents'}[1]{'contents'}[6]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'inline'}{'contents'}[1]{'contents'}[6]{'args'}[0]{'contents'}[0];
+$result_trees{'inline'}{'contents'}[1]{'contents'}[6]{'extra'}{'brace_command_contents'}[1][0]
=
$result_trees{'inline'}{'contents'}[1]{'contents'}[6]{'args'}[1]{'contents'}[1];
+$result_trees{'inline'}{'contents'}[1]{'contents'}[6]{'parent'} =
$result_trees{'inline'}{'contents'}[1];
+$result_trees{'inline'}{'contents'}[1]{'contents'}[7]{'parent'} =
$result_trees{'inline'}{'contents'}[1];
+$result_trees{'inline'}{'contents'}[1]{'contents'}[8]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'inline'}{'contents'}[1]{'contents'}[8]{'args'}[0];
+$result_trees{'inline'}{'contents'}[1]{'contents'}[8]{'args'}[0]{'parent'} =
$result_trees{'inline'}{'contents'}[1]{'contents'}[8];
+$result_trees{'inline'}{'contents'}[1]{'contents'}[8]{'args'}[1]{'contents'}[1]{'parent'}
= $result_trees{'inline'}{'contents'}[1]{'contents'}[8]{'args'}[1];
+$result_trees{'inline'}{'contents'}[1]{'contents'}[8]{'args'}[1]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'inline'}{'contents'}[1]{'contents'}[8]{'args'}[1]{'contents'}[2]{'args'}[0];
+$result_trees{'inline'}{'contents'}[1]{'contents'}[8]{'args'}[1]{'contents'}[2]{'args'}[0]{'parent'}
=
$result_trees{'inline'}{'contents'}[1]{'contents'}[8]{'args'}[1]{'contents'}[2];
+$result_trees{'inline'}{'contents'}[1]{'contents'}[8]{'args'}[1]{'contents'}[2]{'parent'}
= $result_trees{'inline'}{'contents'}[1]{'contents'}[8]{'args'}[1];
+$result_trees{'inline'}{'contents'}[1]{'contents'}[8]{'args'}[1]{'parent'} =
$result_trees{'inline'}{'contents'}[1]{'contents'}[8];
+$result_trees{'inline'}{'contents'}[1]{'contents'}[8]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'inline'}{'contents'}[1]{'contents'}[8]{'args'}[0]{'contents'}[0];
+$result_trees{'inline'}{'contents'}[1]{'contents'}[8]{'extra'}{'brace_command_contents'}[1][0]
=
$result_trees{'inline'}{'contents'}[1]{'contents'}[8]{'args'}[1]{'contents'}[1];
+$result_trees{'inline'}{'contents'}[1]{'contents'}[8]{'extra'}{'brace_command_contents'}[1][1]
=
$result_trees{'inline'}{'contents'}[1]{'contents'}[8]{'args'}[1]{'contents'}[2];
+$result_trees{'inline'}{'contents'}[1]{'contents'}[8]{'line_nr'} =
$result_trees{'inline'}{'contents'}[1]{'contents'}[8]{'args'}[1]{'contents'}[2]{'line_nr'};
+$result_trees{'inline'}{'contents'}[1]{'contents'}[8]{'parent'} =
$result_trees{'inline'}{'contents'}[1];
+$result_trees{'inline'}{'contents'}[1]{'contents'}[9]{'parent'} =
$result_trees{'inline'}{'contents'}[1];
+$result_trees{'inline'}{'contents'}[1]{'parent'} = $result_trees{'inline'};
+$result_trees{'inline'}{'contents'}[2]{'parent'} = $result_trees{'inline'};
+$result_trees{'inline'}{'contents'}[3]{'parent'} = $result_trees{'inline'};
+$result_trees{'inline'}{'contents'}[4]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'inline'}{'contents'}[4]{'contents'}[0]{'args'}[0];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[0]{'args'}[0]{'parent'} =
$result_trees{'inline'}{'contents'}[4]{'contents'}[0];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[0]{'args'}[1]{'contents'}[1]{'parent'}
= $result_trees{'inline'}{'contents'}[4]{'contents'}[0]{'args'}[1];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[0]{'args'}[1]{'parent'} =
$result_trees{'inline'}{'contents'}[4]{'contents'}[0];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[0]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'inline'}{'contents'}[4]{'contents'}[0]{'args'}[0]{'contents'}[0];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[0]{'extra'}{'brace_command_contents'}[1][0]
=
$result_trees{'inline'}{'contents'}[4]{'contents'}[0]{'args'}[1]{'contents'}[1];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[0]{'parent'} =
$result_trees{'inline'}{'contents'}[4];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[1]{'parent'} =
$result_trees{'inline'}{'contents'}[4];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'inline'}{'contents'}[4]{'contents'}[2]{'args'}[0];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[2]{'args'}[0]{'parent'} =
$result_trees{'inline'}{'contents'}[4]{'contents'}[2];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[2]{'args'}[1]{'contents'}[1]{'parent'}
= $result_trees{'inline'}{'contents'}[4]{'contents'}[2]{'args'}[1];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[2]{'args'}[1]{'parent'} =
$result_trees{'inline'}{'contents'}[4]{'contents'}[2];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[2]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'inline'}{'contents'}[4]{'contents'}[2]{'args'}[0]{'contents'}[0];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[2]{'extra'}{'brace_command_contents'}[1][0]
=
$result_trees{'inline'}{'contents'}[4]{'contents'}[2]{'args'}[1]{'contents'}[1];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[2]{'parent'} =
$result_trees{'inline'}{'contents'}[4];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[3]{'parent'} =
$result_trees{'inline'}{'contents'}[4];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[4]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'inline'}{'contents'}[4]{'contents'}[4]{'args'}[0];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[4]{'args'}[0]{'parent'} =
$result_trees{'inline'}{'contents'}[4]{'contents'}[4];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[4]{'args'}[1]{'contents'}[1]{'parent'}
= $result_trees{'inline'}{'contents'}[4]{'contents'}[4]{'args'}[1];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[4]{'args'}[1]{'parent'} =
$result_trees{'inline'}{'contents'}[4]{'contents'}[4];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[4]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'inline'}{'contents'}[4]{'contents'}[4]{'args'}[0]{'contents'}[0];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[4]{'extra'}{'brace_command_contents'}[1][0]
=
$result_trees{'inline'}{'contents'}[4]{'contents'}[4]{'args'}[1]{'contents'}[1];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[4]{'parent'} =
$result_trees{'inline'}{'contents'}[4];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[5]{'parent'} =
$result_trees{'inline'}{'contents'}[4];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[6]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'inline'}{'contents'}[4]{'contents'}[6]{'args'}[0];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[6]{'args'}[0]{'parent'} =
$result_trees{'inline'}{'contents'}[4]{'contents'}[6];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[6]{'args'}[1]{'contents'}[1]{'parent'}
= $result_trees{'inline'}{'contents'}[4]{'contents'}[6]{'args'}[1];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[6]{'args'}[1]{'parent'} =
$result_trees{'inline'}{'contents'}[4]{'contents'}[6];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[6]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'inline'}{'contents'}[4]{'contents'}[6]{'args'}[0]{'contents'}[0];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[6]{'extra'}{'brace_command_contents'}[1][0]
=
$result_trees{'inline'}{'contents'}[4]{'contents'}[6]{'args'}[1]{'contents'}[1];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[6]{'parent'} =
$result_trees{'inline'}{'contents'}[4];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[7]{'parent'} =
$result_trees{'inline'}{'contents'}[4];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[8]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'inline'}{'contents'}[4]{'contents'}[8]{'args'}[0];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[8]{'args'}[0]{'parent'} =
$result_trees{'inline'}{'contents'}[4]{'contents'}[8];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[1]{'parent'}
= $result_trees{'inline'}{'contents'}[4]{'contents'}[8]{'args'}[1];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[2]{'contents'}[0]{'parent'}
=
$result_trees{'inline'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[2];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[2]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'inline'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[2]{'contents'}[1]{'args'}[0];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[2]{'contents'}[1]{'args'}[0]{'contents'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'inline'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[2]{'contents'}[1]{'args'}[0]{'contents'}[1];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[2]{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'inline'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[2]{'contents'}[1]{'args'}[0];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[2]{'contents'}[1]{'args'}[0]{'parent'}
=
$result_trees{'inline'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[2]{'contents'}[1];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[2]{'contents'}[1]{'line_nr'}
=
$result_trees{'inline'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[2]{'contents'}[1]{'args'}[0]{'contents'}[1]{'line_nr'};
+$result_trees{'inline'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[2]{'contents'}[1]{'parent'}
=
$result_trees{'inline'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[2];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[2]{'line_nr'}
=
$result_trees{'inline'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[2]{'contents'}[1]{'args'}[0]{'contents'}[1]{'line_nr'};
+$result_trees{'inline'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[2]{'parent'}
= $result_trees{'inline'}{'contents'}[4]{'contents'}[8]{'args'}[1];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[3]{'parent'}
= $result_trees{'inline'}{'contents'}[4]{'contents'}[8]{'args'}[1];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'parent'} =
$result_trees{'inline'}{'contents'}[4]{'contents'}[8];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[8]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'inline'}{'contents'}[4]{'contents'}[8]{'args'}[0]{'contents'}[0];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[8]{'extra'}{'brace_command_contents'}[1][0]
=
$result_trees{'inline'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[1];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[8]{'extra'}{'brace_command_contents'}[1][1]
=
$result_trees{'inline'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[2];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[8]{'extra'}{'brace_command_contents'}[1][2]
=
$result_trees{'inline'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[3];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[8]{'line_nr'} =
$result_trees{'inline'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[2]{'contents'}[1]{'args'}[0]{'contents'}[1]{'line_nr'};
+$result_trees{'inline'}{'contents'}[4]{'contents'}[8]{'parent'} =
$result_trees{'inline'}{'contents'}[4];
+$result_trees{'inline'}{'contents'}[4]{'contents'}[9]{'parent'} =
$result_trees{'inline'}{'contents'}[4];
+$result_trees{'inline'}{'contents'}[4]{'parent'} = $result_trees{'inline'};
+
+$result_texis{'inline'} = '
address@hidden, <blink>html</blink> ``},
address@hidden, plaintext ``},
address@hidden, <para>xml</para> ``},
address@hidden, <emphasis>docbook</emphasis> ``},
address@hidden, $\\underlinea < b @code{tex \\hbox code }}$ ``
+
+
address@hidden, raw <blink>html</blink> ``},
address@hidden, raw plaintext ``},
address@hidden, raw <para>xml</para> ``},
address@hidden, raw <emphasis>docbook</emphasis> ``},
address@hidden, raw $\\underline{a < b @code{tex \\hbox{ code }}}$ ``}
+';
+
+
+$result_texts{'inline'} = '
+,
+,
+,
+,
+$ "
+
+
+,
+,
+,
+,
+
+';
+
+$result_errors{'inline'} = [
+ {
+ 'error_line' => ':6: Misplaced {
+',
+ 'file_name' => '',
+ 'line_nr' => 6,
+ 'macro' => '',
+ 'text' => 'Misplaced {',
+ 'type' => 'error'
+ },
+ {
+ 'error_line' => ':6: Misplaced {
+',
+ 'file_name' => '',
+ 'line_nr' => 6,
+ 'macro' => '',
+ 'text' => 'Misplaced {',
+ 'type' => 'error'
+ },
+ {
+ 'error_line' => ':6: Misplaced }
+',
+ 'file_name' => '',
+ 'line_nr' => 6,
+ 'macro' => '',
+ 'text' => 'Misplaced }',
+ 'type' => 'error'
+ },
+ {
+ 'error_line' => ':6: Misplaced }
+',
+ 'file_name' => '',
+ 'line_nr' => 6,
+ 'macro' => '',
+ 'text' => 'Misplaced }',
+ 'type' => 'error'
+ }
+];
+
+
+
+$result_converted{'plaintext'}->{'inline'} = ', plaintext ", , , $ "
+
+ , raw plaintext ``, , ,
+';
+
+
+$result_converted{'html_text'}->{'inline'} = '
+<p><blink>html</blink> “,
+,
+,
+,
+$ “
+</p>
+
+<p>raw <blink>html</blink> ``,
+,
+,
+,
+
+</p>';
+
+
+$result_converted{'xml'}->{'inline'} = '
+<para><inlinefmt><inlinefmtformat>html</inlinefmtformat><inlinefmtcontent><blink>html</blink>
&textldquo;</inlinefmtcontent></inlinefmt>,
+<inlinefmt><inlinefmtformat>plaintext</inlinefmtformat><inlinefmtcontent>plaintext
&textldquo;</inlinefmtcontent></inlinefmt>,
+<para>xml</para> &textldquo;,
+<inlinefmt><inlinefmtformat>docbook</inlinefmtformat><inlinefmtcontent><emphasis>docbook</emphasis>
&textldquo;</inlinefmtcontent></inlinefmt>,
+<inlinefmt><inlinefmtformat>tex</inlinefmtformat><inlinefmtcontent>$\\underlinea
< b <code>tex \\hbox code </code></inlinefmtcontent></inlinefmt>$
&textldquo;
+</para>
+
+<para><inlineraw><inlinerawformat>html</inlinerawformat><inlinerawcontent>raw
<blink>html</blink> &textldquo;</inlinerawcontent></inlineraw>,
+<inlineraw><inlinerawformat>plaintext</inlinerawformat><inlinerawcontent>raw
plaintext &textldquo;</inlinerawcontent></inlineraw>,
+raw <para>xml</para> ``,
+<inlineraw><inlinerawformat>docbook</inlinerawformat><inlinerawcontent>raw
<emphasis>docbook</emphasis>
&textldquo;</inlinerawcontent></inlineraw>,
+<inlineraw><inlinerawformat>tex</inlinerawformat><inlinerawcontent>raw
$\\underline{a < b <code>tex \\hbox{ code }</code>}$
&textldquo;</inlinerawcontent></inlineraw>
+</para>';
+
+
+$result_converted{'docbook'}->{'inline'} = '
+<para>,
+,
+,
+<emphasis>docbook</emphasis> “,
+$ “
+</para>
+
+<para>,
+,
+,
+raw <emphasis>docbook</emphasis> ``,
+
+</para>';
+
+1;
Index: t/results/converters_tests/inline_expand_tex.pl
===================================================================
RCS file: t/results/converters_tests/inline_expand_tex.pl
diff -N t/results/converters_tests/inline_expand_tex.pl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ t/results/converters_tests/inline_expand_tex.pl 5 Jan 2012 21:03:57
-0000 1.1
@@ -0,0 +1,857 @@
+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{'inline_expand_tex'} = {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'html'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ },
+ {
+ 'contents' => [
+ {
+ 'text' => ' ',
+ 'type' => 'empty_spaces_before_argument'
+ },
+ {
+ 'parent' => {},
+ 'text' => '<blink>html</blink> ``'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'inlinefmt',
+ 'contents' => [],
+ 'extra' => {
+ 'brace_command_contents' => [
+ [
+ {}
+ ],
+ [
+ {}
+ ]
+ ],
+ 'format' => 'html'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 2,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => ',
+'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'plaintext'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ },
+ {
+ 'contents' => [
+ {
+ 'text' => ' ',
+ 'type' => 'empty_spaces_before_argument'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'plaintext ``'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'inlinefmt',
+ 'contents' => [],
+ 'extra' => {
+ 'brace_command_contents' => [
+ [
+ {}
+ ],
+ [
+ {}
+ ]
+ ],
+ 'format' => 'plaintext'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 3,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => ',
+'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'xml'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ },
+ {
+ 'contents' => [
+ {
+ 'text' => ' ',
+ 'type' => 'empty_spaces_before_argument'
+ },
+ {
+ 'parent' => {},
+ 'text' => '<para>xml</para> ``'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'inlinefmt',
+ 'contents' => [],
+ 'extra' => {
+ 'brace_command_contents' => [
+ [
+ {}
+ ],
+ [
+ {}
+ ]
+ ],
+ 'format' => 'xml'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 4,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => ',
+'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'docbook'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ },
+ {
+ 'contents' => [
+ {
+ 'text' => ' ',
+ 'type' => 'empty_spaces_before_argument'
+ },
+ {
+ 'parent' => {},
+ 'text' => '<emphasis>docbook</emphasis> ``'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'inlinefmt',
+ 'contents' => [],
+ 'extra' => {
+ 'brace_command_contents' => [
+ [
+ {}
+ ],
+ [
+ {}
+ ]
+ ],
+ 'format' => 'docbook'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 5,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => ',
+'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'tex'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ },
+ {
+ 'contents' => [
+ {
+ 'text' => ' ',
+ 'type' => 'empty_spaces_before_argument'
+ },
+ {
+ 'parent' => {},
+ 'text' => '$\\underlinea < b '
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'tex \\hbox code '
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'code',
+ 'contents' => [],
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 6,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'inlinefmt',
+ 'contents' => [],
+ 'extra' => {
+ 'brace_command_contents' => [
+ [
+ {}
+ ],
+ [
+ {},
+ {}
+ ]
+ ],
+ 'format' => 'tex'
+ },
+ 'line_nr' => {},
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '$ ``
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'html'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ },
+ {
+ 'contents' => [
+ {
+ 'text' => ' ',
+ 'type' => 'empty_spaces_before_argument'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'raw <blink>html</blink> ``'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'inlineraw',
+ 'contents' => [],
+ 'extra' => {
+ 'brace_command_contents' => [
+ [
+ {}
+ ],
+ [
+ {}
+ ]
+ ],
+ 'format' => 'html'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 9,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => ',
+'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'plaintext'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ },
+ {
+ 'contents' => [
+ {
+ 'text' => ' ',
+ 'type' => 'empty_spaces_before_argument'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'raw plaintext ``'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'inlineraw',
+ 'contents' => [],
+ 'extra' => {
+ 'brace_command_contents' => [
+ [
+ {}
+ ],
+ [
+ {}
+ ]
+ ],
+ 'format' => 'plaintext'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 10,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => ',
+'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'xml'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ },
+ {
+ 'contents' => [
+ {
+ 'text' => ' ',
+ 'type' => 'empty_spaces_before_argument'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'raw <para>xml</para> ``'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'inlineraw',
+ 'contents' => [],
+ 'extra' => {
+ 'brace_command_contents' => [
+ [
+ {}
+ ],
+ [
+ {}
+ ]
+ ],
+ 'format' => 'xml'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 11,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => ',
+'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'docbook'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ },
+ {
+ 'contents' => [
+ {
+ 'text' => ' ',
+ 'type' => 'empty_spaces_before_argument'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'raw <emphasis>docbook</emphasis> ``'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'inlineraw',
+ 'contents' => [],
+ 'extra' => {
+ 'brace_command_contents' => [
+ [
+ {}
+ ],
+ [
+ {}
+ ]
+ ],
+ 'format' => 'docbook'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 12,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => ',
+'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'tex'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ },
+ {
+ 'contents' => [
+ {
+ 'text' => ' ',
+ 'type' => 'empty_spaces_before_argument'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'raw $\\underline'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'a < b '
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'tex \\hbox'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' code '
+ }
+ ],
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 13,
+ 'macro' => ''
+ },
+ 'parent' => {},
+ 'type' => 'bracketed'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'code',
+ 'contents' => [],
+ 'line_nr' => {},
+ 'parent' => {}
+ }
+ ],
+ 'line_nr' => {},
+ 'parent' => {},
+ 'type' => 'bracketed'
+ },
+ {
+ 'parent' => {},
+ 'text' => '$ ``'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'inlineraw',
+ 'contents' => [],
+ 'extra' => {
+ 'brace_command_contents' => [
+ [
+ {}
+ ],
+ [
+ {},
+ {},
+ {}
+ ]
+ ],
+ 'format' => 'tex'
+ },
+ 'line_nr' => {},
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ }
+ ],
+ 'type' => 'text_root'
+};
+$result_trees{'inline_expand_tex'}{'contents'}[0]{'parent'} =
$result_trees{'inline_expand_tex'};
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[0]{'args'}[0];
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[0]{'args'}[0]{'parent'}
= $result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[0];
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[0]{'args'}[1]{'contents'}[1]{'parent'}
= $result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[0]{'args'}[1];
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[0]{'args'}[1]{'parent'}
= $result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[0];
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[0]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0];
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[0]{'extra'}{'brace_command_contents'}[1][0]
=
$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[0]{'args'}[1]{'contents'}[1];
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[0]{'parent'} =
$result_trees{'inline_expand_tex'}{'contents'}[1];
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[1]{'parent'} =
$result_trees{'inline_expand_tex'}{'contents'}[1];
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[2]{'args'}[0];
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[2]{'args'}[0]{'parent'}
= $result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[2];
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[2]{'args'}[1]{'contents'}[1]{'parent'}
= $result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[2]{'args'}[1];
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[2]{'args'}[1]{'parent'}
= $result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[2];
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[2]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[2]{'args'}[0]{'contents'}[0];
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[2]{'extra'}{'brace_command_contents'}[1][0]
=
$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[2]{'args'}[1]{'contents'}[1];
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[2]{'parent'} =
$result_trees{'inline_expand_tex'}{'contents'}[1];
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[3]{'parent'} =
$result_trees{'inline_expand_tex'}{'contents'}[1];
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[4]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[4]{'args'}[0];
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[4]{'args'}[0]{'parent'}
= $result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[4];
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[4]{'args'}[1]{'contents'}[1]{'parent'}
= $result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[4]{'args'}[1];
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[4]{'args'}[1]{'parent'}
= $result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[4];
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[4]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[4]{'args'}[0]{'contents'}[0];
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[4]{'extra'}{'brace_command_contents'}[1][0]
=
$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[4]{'args'}[1]{'contents'}[1];
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[4]{'parent'} =
$result_trees{'inline_expand_tex'}{'contents'}[1];
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[5]{'parent'} =
$result_trees{'inline_expand_tex'}{'contents'}[1];
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[6]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[6]{'args'}[0];
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[6]{'args'}[0]{'parent'}
= $result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[6];
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[6]{'args'}[1]{'contents'}[1]{'parent'}
= $result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[6]{'args'}[1];
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[6]{'args'}[1]{'parent'}
= $result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[6];
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[6]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[6]{'args'}[0]{'contents'}[0];
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[6]{'extra'}{'brace_command_contents'}[1][0]
=
$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[6]{'args'}[1]{'contents'}[1];
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[6]{'parent'} =
$result_trees{'inline_expand_tex'}{'contents'}[1];
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[7]{'parent'} =
$result_trees{'inline_expand_tex'}{'contents'}[1];
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[8]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[8]{'args'}[0];
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[8]{'args'}[0]{'parent'}
= $result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[8];
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[8]{'args'}[1]{'contents'}[1]{'parent'}
= $result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[8]{'args'}[1];
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[8]{'args'}[1]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[8]{'args'}[1]{'contents'}[2]{'args'}[0];
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[8]{'args'}[1]{'contents'}[2]{'args'}[0]{'parent'}
=
$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[8]{'args'}[1]{'contents'}[2];
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[8]{'args'}[1]{'contents'}[2]{'parent'}
= $result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[8]{'args'}[1];
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[8]{'args'}[1]{'parent'}
= $result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[8];
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[8]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[8]{'args'}[0]{'contents'}[0];
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[8]{'extra'}{'brace_command_contents'}[1][0]
=
$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[8]{'args'}[1]{'contents'}[1];
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[8]{'extra'}{'brace_command_contents'}[1][1]
=
$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[8]{'args'}[1]{'contents'}[2];
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[8]{'line_nr'} =
$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[8]{'args'}[1]{'contents'}[2]{'line_nr'};
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[8]{'parent'} =
$result_trees{'inline_expand_tex'}{'contents'}[1];
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'contents'}[9]{'parent'} =
$result_trees{'inline_expand_tex'}{'contents'}[1];
+$result_trees{'inline_expand_tex'}{'contents'}[1]{'parent'} =
$result_trees{'inline_expand_tex'};
+$result_trees{'inline_expand_tex'}{'contents'}[2]{'parent'} =
$result_trees{'inline_expand_tex'};
+$result_trees{'inline_expand_tex'}{'contents'}[3]{'parent'} =
$result_trees{'inline_expand_tex'};
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[0]{'args'}[0];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[0]{'args'}[0]{'parent'}
= $result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[0];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[0]{'args'}[1]{'contents'}[1]{'parent'}
= $result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[0]{'args'}[1];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[0]{'args'}[1]{'parent'}
= $result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[0];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[0]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[0]{'args'}[0]{'contents'}[0];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[0]{'extra'}{'brace_command_contents'}[1][0]
=
$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[0]{'args'}[1]{'contents'}[1];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[0]{'parent'} =
$result_trees{'inline_expand_tex'}{'contents'}[4];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[1]{'parent'} =
$result_trees{'inline_expand_tex'}{'contents'}[4];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[2]{'args'}[0];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[2]{'args'}[0]{'parent'}
= $result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[2];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[2]{'args'}[1]{'contents'}[1]{'parent'}
= $result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[2]{'args'}[1];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[2]{'args'}[1]{'parent'}
= $result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[2];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[2]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[2]{'args'}[0]{'contents'}[0];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[2]{'extra'}{'brace_command_contents'}[1][0]
=
$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[2]{'args'}[1]{'contents'}[1];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[2]{'parent'} =
$result_trees{'inline_expand_tex'}{'contents'}[4];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[3]{'parent'} =
$result_trees{'inline_expand_tex'}{'contents'}[4];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[4]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[4]{'args'}[0];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[4]{'args'}[0]{'parent'}
= $result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[4];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[4]{'args'}[1]{'contents'}[1]{'parent'}
= $result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[4]{'args'}[1];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[4]{'args'}[1]{'parent'}
= $result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[4];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[4]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[4]{'args'}[0]{'contents'}[0];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[4]{'extra'}{'brace_command_contents'}[1][0]
=
$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[4]{'args'}[1]{'contents'}[1];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[4]{'parent'} =
$result_trees{'inline_expand_tex'}{'contents'}[4];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[5]{'parent'} =
$result_trees{'inline_expand_tex'}{'contents'}[4];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[6]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[6]{'args'}[0];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[6]{'args'}[0]{'parent'}
= $result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[6];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[6]{'args'}[1]{'contents'}[1]{'parent'}
= $result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[6]{'args'}[1];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[6]{'args'}[1]{'parent'}
= $result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[6];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[6]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[6]{'args'}[0]{'contents'}[0];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[6]{'extra'}{'brace_command_contents'}[1][0]
=
$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[6]{'args'}[1]{'contents'}[1];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[6]{'parent'} =
$result_trees{'inline_expand_tex'}{'contents'}[4];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[7]{'parent'} =
$result_trees{'inline_expand_tex'}{'contents'}[4];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[8]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[8]{'args'}[0];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[8]{'args'}[0]{'parent'}
= $result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[8];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[1]{'parent'}
= $result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[8]{'args'}[1];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[2]{'contents'}[0]{'parent'}
=
$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[2];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[2]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[2]{'contents'}[1]{'args'}[0];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[2]{'contents'}[1]{'args'}[0]{'contents'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[2]{'contents'}[1]{'args'}[0]{'contents'}[1];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[2]{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[2]{'contents'}[1]{'args'}[0];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[2]{'contents'}[1]{'args'}[0]{'parent'}
=
$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[2]{'contents'}[1];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[2]{'contents'}[1]{'line_nr'}
=
$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[2]{'contents'}[1]{'args'}[0]{'contents'}[1]{'line_nr'};
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[2]{'contents'}[1]{'parent'}
=
$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[2];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[2]{'line_nr'}
=
$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[2]{'contents'}[1]{'args'}[0]{'contents'}[1]{'line_nr'};
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[2]{'parent'}
= $result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[8]{'args'}[1];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[3]{'parent'}
= $result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[8]{'args'}[1];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'parent'}
= $result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[8];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[8]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[8]{'args'}[0]{'contents'}[0];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[8]{'extra'}{'brace_command_contents'}[1][0]
=
$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[1];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[8]{'extra'}{'brace_command_contents'}[1][1]
=
$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[2];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[8]{'extra'}{'brace_command_contents'}[1][2]
=
$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[3];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[8]{'line_nr'} =
$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[8]{'args'}[1]{'contents'}[2]{'contents'}[1]{'args'}[0]{'contents'}[1]{'line_nr'};
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[8]{'parent'} =
$result_trees{'inline_expand_tex'}{'contents'}[4];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'contents'}[9]{'parent'} =
$result_trees{'inline_expand_tex'}{'contents'}[4];
+$result_trees{'inline_expand_tex'}{'contents'}[4]{'parent'} =
$result_trees{'inline_expand_tex'};
+
+$result_texis{'inline_expand_tex'} = '
address@hidden, <blink>html</blink> ``},
address@hidden, plaintext ``},
address@hidden, <para>xml</para> ``},
address@hidden, <emphasis>docbook</emphasis> ``},
address@hidden, $\\underlinea < b @code{tex \\hbox code }}$ ``
+
+
address@hidden, raw <blink>html</blink> ``},
address@hidden, raw plaintext ``},
address@hidden, raw <para>xml</para> ``},
address@hidden, raw <emphasis>docbook</emphasis> ``},
address@hidden, raw $\\underline{a < b @code{tex \\hbox{ code }}}$ ``}
+';
+
+
+$result_texts{'inline_expand_tex'} = '
+,
+,
+,
+,
+$ "
+
+
+,
+,
+,
+,
+
+';
+
+$result_errors{'inline_expand_tex'} = [
+ {
+ 'error_line' => ':6: Misplaced {
+',
+ 'file_name' => '',
+ 'line_nr' => 6,
+ 'macro' => '',
+ 'text' => 'Misplaced {',
+ 'type' => 'error'
+ },
+ {
+ 'error_line' => ':6: Misplaced {
+',
+ 'file_name' => '',
+ 'line_nr' => 6,
+ 'macro' => '',
+ 'text' => 'Misplaced {',
+ 'type' => 'error'
+ },
+ {
+ 'error_line' => ':6: Misplaced }
+',
+ 'file_name' => '',
+ 'line_nr' => 6,
+ 'macro' => '',
+ 'text' => 'Misplaced }',
+ 'type' => 'error'
+ },
+ {
+ 'error_line' => ':6: Misplaced }
+',
+ 'file_name' => '',
+ 'line_nr' => 6,
+ 'macro' => '',
+ 'text' => 'Misplaced }',
+ 'type' => 'error'
+ }
+];
+
+
+
+$result_converted{'plaintext'}->{'inline_expand_tex'} = ', , , , $\\underlinea
< b `tex \\hbox code \'$ "
+
+ , , , , raw $\\underline{a < b `tex \\hbox{ code }\'}$ ``
+';
+
+
+$result_converted{'html_text'}->{'inline_expand_tex'} = '
+<p>,
+,
+,
+,
+$\\underlinea < b <code>tex \\hbox code </code>$ “
+</p>
+
+<p>,
+,
+,
+,
+raw $\\underline{a < b <code>tex \\hbox{ code }</code>}$ ``
+</p>';
+
+
+$result_converted{'xml'}->{'inline_expand_tex'} = '
+<para><inlinefmt><inlinefmtformat>html</inlinefmtformat><inlinefmtcontent><blink>html</blink>
&textldquo;</inlinefmtcontent></inlinefmt>,
+<inlinefmt><inlinefmtformat>plaintext</inlinefmtformat><inlinefmtcontent>plaintext
&textldquo;</inlinefmtcontent></inlinefmt>,
+<inlinefmt><inlinefmtformat>xml</inlinefmtformat><inlinefmtcontent><para>xml</para>
&textldquo;</inlinefmtcontent></inlinefmt>,
+<inlinefmt><inlinefmtformat>docbook</inlinefmtformat><inlinefmtcontent><emphasis>docbook</emphasis>
&textldquo;</inlinefmtcontent></inlinefmt>,
+$\\underlinea < b <code>tex \\hbox code </code>$ &textldquo;
+</para>
+
+<para><inlineraw><inlinerawformat>html</inlinerawformat><inlinerawcontent>raw
<blink>html</blink> &textldquo;</inlinerawcontent></inlineraw>,
+<inlineraw><inlinerawformat>plaintext</inlinerawformat><inlinerawcontent>raw
plaintext &textldquo;</inlinerawcontent></inlineraw>,
+<inlineraw><inlinerawformat>xml</inlinerawformat><inlinerawcontent>raw
<para>xml</para> &textldquo;</inlinerawcontent></inlineraw>,
+<inlineraw><inlinerawformat>docbook</inlinerawformat><inlinerawcontent>raw
<emphasis>docbook</emphasis>
&textldquo;</inlinerawcontent></inlineraw>,
+raw $\\underline{a < b <code>tex \\hbox{ code }</code>}$ ``
+</para>';
+
+
+$result_converted{'docbook'}->{'inline_expand_tex'} = '
+<para>,
+,
+,
+,
+$\\underlinea < b <literal>tex \\hbox code </literal>$ “
+</para>
+
+<para>,
+,
+,
+,
+raw $\\underline{a < b <literal>tex \\hbox{ code }</literal>}$ ``
+</para>';
+
+1;