[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
texinfo/tp TODO Texinfo/Common.pm Texinfo/Conve...
From: |
Patrice Dumas |
Subject: |
texinfo/tp TODO Texinfo/Common.pm Texinfo/Conve... |
Date: |
Sat, 19 Feb 2011 11:05:43 +0000 |
CVSROOT: /sources/texinfo
Module name: texinfo
Changes by: Patrice Dumas <pertusus> 11/02/19 11:05:42
Modified files:
tp : TODO
tp/Texinfo : Common.pm
tp/Texinfo/Convert: Info.pm Plaintext.pm
tp/t : 03coverage_braces.t 05paragraph.t
20preformatted.t info_tests.t plaintext_tests.t
Added files:
tp/t/include : this_is_a_long_unknown_file.png
tp/t/results/coverage_braces: heading_in_footnote.pl
tp/t/results/info_tests: file_only_png.pl
tp/t/results/paragraph: comment_in_quotation.pl
tp/t/results/plaintext_tests: empty_multitable_in_itemize.pl
tp/t/results/preformatted: nested_example_and_comment.pl
Log message:
Support for output to null.
No over warning when image files are missing.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/TODO?cvsroot=texinfo&r1=1.86&r2=1.87
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Common.pm?cvsroot=texinfo&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Convert/Info.pm?cvsroot=texinfo&r1=1.26&r2=1.27
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Convert/Plaintext.pm?cvsroot=texinfo&r1=1.89&r2=1.90
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/03coverage_braces.t?cvsroot=texinfo&r1=1.25&r2=1.26
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/05paragraph.t?cvsroot=texinfo&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/20preformatted.t?cvsroot=texinfo&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/info_tests.t?cvsroot=texinfo&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/plaintext_tests.t?cvsroot=texinfo&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/include/this_is_a_long_unknown_file.png?cvsroot=texinfo&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/coverage_braces/heading_in_footnote.pl?cvsroot=texinfo&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/info_tests/file_only_png.pl?cvsroot=texinfo&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/paragraph/comment_in_quotation.pl?cvsroot=texinfo&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/plaintext_tests/empty_multitable_in_itemize.pl?cvsroot=texinfo&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/preformatted/nested_example_and_comment.pl?cvsroot=texinfo&rev=1.1
Patches:
Index: TODO
===================================================================
RCS file: /sources/texinfo/texinfo/tp/TODO,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -b -r1.86 -r1.87
--- TODO 17 Feb 2011 22:20:34 -0000 1.86
+++ TODO 19 Feb 2011 11:05:38 -0000 1.87
@@ -1,5 +1,5 @@
Handle
address@hidden
address@hidden on|off
(does nothing in info, in HTML automatically set the section name as 3rd
arg of @*ref).
@@ -133,6 +133,13 @@
indices/recursive_synindex.texi (only done: @synindex aaa bbb
@synindex bbb aaa)
+In info_coverage, everything is tested for, but the following are not
+especially in the test suite
+code.texi
+commentexample.texi the comment is in fact in comments_in_example
+ but no test for vertical spacing (not needed)
+
+
done:
formatting/def_end_of_line.texi
formatting/def_end_of_line_footnote.texi
@@ -213,8 +220,6 @@
invalid/verb_not_closed.texi
invalid/verbatim_not_closed.texi
-info_coverage/exdent_and_commands.texi
-info_coverage/exdent_and_formats.texi
coverage/pass0_macro.texi (not everything, but tests are redundant)
Index: Texinfo/Common.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Common.pm,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- Texinfo/Common.pm 14 Feb 2011 23:50:01 -0000 1.12
+++ Texinfo/Common.pm 19 Feb 2011 11:05:40 -0000 1.13
@@ -22,6 +22,10 @@
use strict;
+# to determine the null file
+use Config;
+use File::Spec;
+
use Texinfo::Documentlanguages;
require Exporter;
@@ -51,6 +55,18 @@
return $_[0];
}
+# determine the null devices
+my $default_null_device = File::Spec->devnull();
+our %null_device_file = (
+ $default_null_device => 1
+);
+# special case, djgpp recognizes both null devices
+if ($Config{osname} eq 'dos' and $Config{osvers} eq 'djgpp') {
+ $null_device_file{'/dev/null'} = 1;
+ $null_device_file{'NUL'} = 1;
+}
+
+
our %no_brace_commands; # commands never taking braces
foreach my $no_brace_command ('*',' ',"\t","\n",'-', '|', '/',':','!',
Index: Texinfo/Convert/Info.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Convert/Info.pm,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -b -r1.26 -r1.27
--- Texinfo/Convert/Info.pm 16 Feb 2011 22:48:40 -0000 1.26
+++ Texinfo/Convert/Info.pm 19 Feb 2011 11:05:40 -0000 1.27
@@ -88,6 +88,12 @@
if (defined($self->{'SUBDIR'}) and $self->{'OUTFILE'} ne '') {
$self->{'OUTFILE'} = "$self->{'SUBDIR'}/$self->{'OUTFILE'}";
}
+ } else {
+ #Â no splitting when writing to the null device or to stdout
+ if ($Texinfo::Common::null_device_file{$self->{'OUTFILE'}}
+ or $self->{'OUTFILE'} eq '-') {
+ $self->{'SPLIT_SIZE'} = undef;
+ }
}
my $output_basename = $self->{'OUTFILE'};
@@ -503,13 +509,13 @@
last;
}
}
- my $txt_file =
- $self->Texinfo::Parser::_locate_include_file ($basefile.'.txt');
my $text = $self->_image_text($root, $basefile);
if (defined($text)) {
if (!$self->{'formatters'}->[-1]->{'_top_formatter'}) {
$text = '['.$text.']';
}
+ } elsif (!defined($image_file)) {
+ $self->line_warn(sprintf($self->__("Cannot find address@hidden file
`%s.txt'"), $basefile), $root->{'line_nr'});
}
my $result;
Index: Texinfo/Convert/Plaintext.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Convert/Plaintext.pm,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -b -r1.89 -r1.90
--- Texinfo/Convert/Plaintext.pm 19 Feb 2011 02:26:38 -0000 1.89
+++ Texinfo/Convert/Plaintext.pm 19 Feb 2011 11:05:40 -0000 1.90
@@ -1013,7 +1013,8 @@
my $txt_file = $self->Texinfo::Parser::_locate_include_file
($basefile.'.txt');
if (!defined($txt_file)) {
- $self->line_warn(sprintf($self->__("Cannot find address@hidden file
`%s.txt'"), $basefile), $root->{'line_nr'});
+ #$self->line_warn(sprintf($self->__("Cannot find address@hidden file
`%s.txt'"), $basefile), $root->{'line_nr'});
+ return undef;
} else {
if (open (TXT, $txt_file)) {
# FIXME encoding
Index: t/03coverage_braces.t
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/03coverage_braces.t,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- t/03coverage_braces.t 14 Feb 2011 23:50:08 -0000 1.25
+++ t/03coverage_braces.t 19 Feb 2011 11:05:41 -0000 1.26
@@ -42,6 +42,14 @@
['footnote_ending_on_empty_line','address@hidden in footnote.
}'],
+['heading_in_footnote',
+'address@hidden
+AAA
address@hidden H1
address@hidden ind e
+BBB
+}
+'],
['space_in_image','@image{ a ,bb, cc,dd ,e }. @image{ f }.'],
['end_line_in_anchor',
'@anchor{an
Index: t/05paragraph.t
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/05paragraph.t,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- t/05paragraph.t 17 Feb 2011 20:07:35 -0000 1.11
+++ t/05paragraph.t 19 Feb 2011 11:05:41 -0000 1.12
@@ -51,7 +51,17 @@
@end example
After.
-']
+'],
+['comment_in_quotation',
+'
address@hidden
+Quotation @c
address@hidden quotation
+
address@hidden
+Quotation no address@hidden
address@hidden quotation
+'],
);
my @test_invalid = (
Index: t/20preformatted.t
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/20preformatted.t,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- t/20preformatted.t 4 Feb 2011 23:45:37 -0000 1.6
+++ t/20preformatted.t 19 Feb 2011 11:05:41 -0000 1.7
@@ -71,6 +71,31 @@
line @c comment
@end example
'],
+['nested_example_and_comment',
+'@example
+First line 0 @c
address@hidden
+Nested example
address@hidden example
+In first one
address@hidden example
+
address@hidden
+First line 1 @c
address@hidden
+Nested example @c
address@hidden example
+In first one
address@hidden example
+
address@hidden
+First line 2 @c
address@hidden
+Nested example @c
address@hidden example
+In first one @c
address@hidden example
+'],
);
my @test_invalid = (
Index: t/info_tests.t
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/info_tests.t,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- t/info_tests.t 19 Feb 2011 02:26:38 -0000 1.12
+++ t/info_tests.t 19 Feb 2011 11:05:41 -0000 1.13
@@ -198,6 +198,11 @@
@printindex fn
'],
+['file_only_png',
+'@node Top
+
+Just before an image @image{this_is_a_long_unknown_file} text after the image,
and more text, and more @image{this_is_a_long_unknown_file} text.
+'],
);
foreach my $test (@test_cases) {
Index: t/plaintext_tests.t
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/plaintext_tests.t,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- t/plaintext_tests.t 18 Feb 2011 00:34:43 -0000 1.4
+++ t/plaintext_tests.t 19 Feb 2011 11:05:41 -0000 1.5
@@ -283,6 +283,15 @@
@item other item @tab in tab
@end multitable
'],
+['empty_multitable_in_itemize',
+'@itemize a--n itemize line
address@hidden in macro
+
address@hidden
address@hidden multitable
+
address@hidden itemize
+'],
);
Index: t/include/this_is_a_long_unknown_file.png
===================================================================
RCS file: t/include/this_is_a_long_unknown_file.png
diff -N t/include/this_is_a_long_unknown_file.png
Index: t/results/coverage_braces/heading_in_footnote.pl
===================================================================
RCS file: t/results/coverage_braces/heading_in_footnote.pl
diff -N t/results/coverage_braces/heading_in_footnote.pl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ t/results/coverage_braces/heading_in_footnote.pl 19 Feb 2011 11:05:41
-0000 1.1
@@ -0,0 +1,208 @@
+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_trees{'heading_in_footnote'} = {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'T'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'AAA
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'H1'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'heading',
+ 'extra' => {
+ 'misc_content' => [
+ {}
+ ]
+ },
+ 'level' => 2,
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 3,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'ind e'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'cindex',
+ 'extra' => {
+ 'index_entry' => {
+ 'command' => {},
+ 'content' => [
+ {}
+ ],
+ 'index_at_command' => 'cindex',
+ 'index_name' => 'cp',
+ 'index_prefix' => 'c',
+ 'number' => 1
+ },
+ 'misc_content' => []
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 4,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'BBB
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_context'
+ }
+ ],
+ 'cmdname' => 'footnote',
+ 'contents' => [],
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 1,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ }
+ ],
+ 'type' => 'text_root'
+};
+$result_trees{'heading_in_footnote'}{'contents'}[0]{'contents'}[0]{'parent'} =
$result_trees{'heading_in_footnote'}{'contents'}[0];
+$result_trees{'heading_in_footnote'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'heading_in_footnote'}{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'heading_in_footnote'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'heading_in_footnote'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1];
+$result_trees{'heading_in_footnote'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'heading_in_footnote'}{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'heading_in_footnote'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'heading_in_footnote'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[2]{'args'}[0];
+$result_trees{'heading_in_footnote'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[2]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'heading_in_footnote'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[2]{'args'}[0];
+$result_trees{'heading_in_footnote'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[2]{'args'}[0]{'contents'}[2]{'parent'}
=
$result_trees{'heading_in_footnote'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[2]{'args'}[0];
+$result_trees{'heading_in_footnote'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[2]{'args'}[0]{'parent'}
=
$result_trees{'heading_in_footnote'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[2];
+$result_trees{'heading_in_footnote'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[2]{'extra'}{'misc_content'}[0]
=
$result_trees{'heading_in_footnote'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[2]{'args'}[0]{'contents'}[1];
+$result_trees{'heading_in_footnote'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'}
=
$result_trees{'heading_in_footnote'}{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'heading_in_footnote'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[3]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'heading_in_footnote'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[3]{'args'}[0];
+$result_trees{'heading_in_footnote'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[3]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'heading_in_footnote'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[3]{'args'}[0];
+$result_trees{'heading_in_footnote'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[3]{'args'}[0]{'contents'}[2]{'parent'}
=
$result_trees{'heading_in_footnote'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[3]{'args'}[0];
+$result_trees{'heading_in_footnote'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[3]{'args'}[0]{'parent'}
=
$result_trees{'heading_in_footnote'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[3];
+$result_trees{'heading_in_footnote'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[3]{'extra'}{'index_entry'}{'command'}
=
$result_trees{'heading_in_footnote'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[3];
+$result_trees{'heading_in_footnote'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[3]{'extra'}{'index_entry'}{'content'}[0]
=
$result_trees{'heading_in_footnote'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[3]{'args'}[0]{'contents'}[1];
+$result_trees{'heading_in_footnote'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[3]{'extra'}{'misc_content'}
=
$result_trees{'heading_in_footnote'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[3]{'extra'}{'index_entry'}{'content'};
+$result_trees{'heading_in_footnote'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[3]{'parent'}
=
$result_trees{'heading_in_footnote'}{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'heading_in_footnote'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[4]{'contents'}[0]{'parent'}
=
$result_trees{'heading_in_footnote'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[4];
+$result_trees{'heading_in_footnote'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[4]{'parent'}
=
$result_trees{'heading_in_footnote'}{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'heading_in_footnote'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'parent'}
= $result_trees{'heading_in_footnote'}{'contents'}[0]{'contents'}[1];
+$result_trees{'heading_in_footnote'}{'contents'}[0]{'contents'}[1]{'parent'} =
$result_trees{'heading_in_footnote'}{'contents'}[0];
+$result_trees{'heading_in_footnote'}{'contents'}[0]{'contents'}[2]{'parent'} =
$result_trees{'heading_in_footnote'}{'contents'}[0];
+$result_trees{'heading_in_footnote'}{'contents'}[0]{'parent'} =
$result_trees{'heading_in_footnote'};
+
+$result_texis{'heading_in_footnote'} = 'address@hidden
+AAA
address@hidden H1
address@hidden ind e
+BBB
+}
+';
+
+
+$result_texts{'heading_in_footnote'} = 'T
+';
+
+$result_errors{'heading_in_footnote'} = [];
+
+
+
+$result_converted{'plaintext'}->{'heading_in_footnote'} = 'T(1)
+
+ ---------- Footnotes ----------
+
+ (1) AAA
+
+H1
+==
+
+BBB
+
+';
+
+1;
Index: t/results/info_tests/file_only_png.pl
===================================================================
RCS file: t/results/info_tests/file_only_png.pl
diff -N t/results/info_tests/file_only_png.pl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ t/results/info_tests/file_only_png.pl 19 Feb 2011 11:05:41 -0000
1.1
@@ -0,0 +1,217 @@
+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_trees{'file_only_png'} = {
+ 'contents' => [
+ {
+ 'contents' => [],
+ 'parent' => {},
+ 'type' => 'text_root'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ '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'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'Just before an image '
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'this_is_a_long_unknown_file'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'image',
+ 'contents' => [],
+ 'extra' => {
+ 'brace_command_contents' => [
+ [
+ {}
+ ]
+ ]
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 3,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => ' text after the image, and more text, and more '
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'this_is_a_long_unknown_file'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'image',
+ 'contents' => [],
+ 'extra' => {
+ 'brace_command_contents' => [
+ [
+ {}
+ ]
+ ]
+ },
+ 'line_nr' => {},
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => ' text.
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ }
+ ],
+ 'extra' => {
+ 'node_content' => [
+ {}
+ ],
+ 'nodes_manuals' => [
+ {
+ 'node_content' => [],
+ 'normalized' => 'Top'
+ }
+ ],
+ 'normalized' => 'Top'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 1,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ }
+ ],
+ 'type' => 'document_root'
+};
+$result_trees{'file_only_png'}{'contents'}[0]{'parent'} =
$result_trees{'file_only_png'};
+$result_trees{'file_only_png'}{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'file_only_png'}{'contents'}[1]{'args'}[0];
+$result_trees{'file_only_png'}{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'file_only_png'}{'contents'}[1]{'args'}[0];
+$result_trees{'file_only_png'}{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'file_only_png'}{'contents'}[1]{'args'}[0];
+$result_trees{'file_only_png'}{'contents'}[1]{'args'}[0]{'parent'} =
$result_trees{'file_only_png'}{'contents'}[1];
+$result_trees{'file_only_png'}{'contents'}[1]{'contents'}[0]{'parent'} =
$result_trees{'file_only_png'}{'contents'}[1];
+$result_trees{'file_only_png'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'parent'}
= $result_trees{'file_only_png'}{'contents'}[1]{'contents'}[1];
+$result_trees{'file_only_png'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'file_only_png'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[0];
+$result_trees{'file_only_png'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[0]{'parent'}
= $result_trees{'file_only_png'}{'contents'}[1]{'contents'}[1]{'contents'}[1];
+$result_trees{'file_only_png'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'file_only_png'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'file_only_png'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'parent'}
= $result_trees{'file_only_png'}{'contents'}[1]{'contents'}[1];
+$result_trees{'file_only_png'}{'contents'}[1]{'contents'}[1]{'contents'}[2]{'parent'}
= $result_trees{'file_only_png'}{'contents'}[1]{'contents'}[1];
+$result_trees{'file_only_png'}{'contents'}[1]{'contents'}[1]{'contents'}[3]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'file_only_png'}{'contents'}[1]{'contents'}[1]{'contents'}[3]{'args'}[0];
+$result_trees{'file_only_png'}{'contents'}[1]{'contents'}[1]{'contents'}[3]{'args'}[0]{'parent'}
= $result_trees{'file_only_png'}{'contents'}[1]{'contents'}[1]{'contents'}[3];
+$result_trees{'file_only_png'}{'contents'}[1]{'contents'}[1]{'contents'}[3]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'file_only_png'}{'contents'}[1]{'contents'}[1]{'contents'}[3]{'args'}[0]{'contents'}[0];
+$result_trees{'file_only_png'}{'contents'}[1]{'contents'}[1]{'contents'}[3]{'line_nr'}
=
$result_trees{'file_only_png'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'line_nr'};
+$result_trees{'file_only_png'}{'contents'}[1]{'contents'}[1]{'contents'}[3]{'parent'}
= $result_trees{'file_only_png'}{'contents'}[1]{'contents'}[1];
+$result_trees{'file_only_png'}{'contents'}[1]{'contents'}[1]{'contents'}[4]{'parent'}
= $result_trees{'file_only_png'}{'contents'}[1]{'contents'}[1];
+$result_trees{'file_only_png'}{'contents'}[1]{'contents'}[1]{'parent'} =
$result_trees{'file_only_png'}{'contents'}[1];
+$result_trees{'file_only_png'}{'contents'}[1]{'extra'}{'node_content'}[0] =
$result_trees{'file_only_png'}{'contents'}[1]{'args'}[0]{'contents'}[1];
+$result_trees{'file_only_png'}{'contents'}[1]{'extra'}{'nodes_manuals'}[0]{'node_content'}
= $result_trees{'file_only_png'}{'contents'}[1]{'extra'}{'node_content'};
+$result_trees{'file_only_png'}{'contents'}[1]{'parent'} =
$result_trees{'file_only_png'};
+
+$result_texis{'file_only_png'} = '@node Top
+
+Just before an image @image{this_is_a_long_unknown_file} text after the image,
and more text, and more @image{this_is_a_long_unknown_file} text.
+';
+
+
+$result_texts{'file_only_png'} = '
+Just before an image this_is_a_long_unknown_file text after the image, and
more text, and more this_is_a_long_unknown_file text.
+';
+
+$result_sectioning{'file_only_png'} = {};
+
+$result_nodes{'file_only_png'} = {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Top'
+ },
+ 'node_up' => {
+ 'extra' => {
+ 'manual_content' => [
+ {
+ 'text' => 'dir'
+ }
+ ]
+ }
+ }
+};
+
+$result_menus{'file_only_png'} = {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Top'
+ }
+};
+
+$result_errors{'file_only_png'} = [];
+
+
+
+$result_converted{'info'}->{'file_only_png'} = 'This is , produced by makeinfo
version 4.13 from .
+
+
+File: , Node: Top, Up: (dir)
+
+Just before an image [image src="this_is_a_long_unknown_file.png"