[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Gavin D. Smith |
Date: |
Sat, 12 Nov 2022 17:25:44 -0500 (EST) |
branch: release/7.0
commit aad3debaf684b8f104f91d8bf7f8925eff28b4eb
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sat Nov 12 20:39:00 2022 +0000
* tp/Texinfo/Convert/Info.pm (format_image): avoid crash on empty
@image extension. Report from Werner Lemberg.
---
ChangeLog | 5 +
tp/Texinfo/Convert/Info.pm | 1 +
tp/t/converters_tests.t | 1 +
tp/t/results/converters_tests/image_formatting.pl | 198 +++--
tp/tests/coverage_macro.texi | 1 +
.../layout/res_parser/formatting/formatting.html | 6 +
.../layout/res_parser/formatting_chm/anchor.html | 1 +
.../layout/res_parser/formatting_chm/chapter.html | 4 +
.../layout/res_parser/formatting_chm/chapter2.html | 1 +
.../res_parser/formatting_chm/formatting.html | 3 +
.../res_parser/formatting_chm/formatting_abt.html | 1 +
.../res_parser/formatting_chm/formatting_ovr.html | 1 +
.../res_parser/formatting_chm/formatting_toc.html | 1 +
.../layout/res_parser/formatting_chm/index.html | 1 +
.../formatting_chm/s_002d_002dect_002cion.html | 1 +
.../res_parser/formatting_chm/subsection.html | 1 +
...tion-_0060_0060simple_002ddouble_002d_002d.html | 1 +
...02d_002dfour_002d_002d_002d_002d_0027_0027.html | 1 +
.../res_parser/formatting_docbook/formatting.xml | 8 +
.../formatting_enable_encoding/formatting.html | 6 +
.../formatting_epub_package/EPUB/formatting.opf | 71 +-
.../images/{10-f--ile.e--xt => 11-f--ile.e--xt} | 0
.../EPUB/images/{14-f--ile.png => 16-f--ile.png} | 0
.../images/{16-f--ile.e--xt => 17-f--ile.e--xt} | 0
.../EPUB/images/{17-f--ile.png => 19-f--ile.png} | 0
.../images/{19-f--ile.e--xt => 20-f--ile.e--xt} | 0
.../EPUB/images/{21-f--ile.e--xt => 21-f--ile.png} | 0
.../EPUB/images/{25-f--ile.png => 23-f--ile.e--xt} | 0
.../EPUB/images/{26-f--ile.png => 27-f--ile.png} | 0
.../images/{27-f--ile.e--xt => 29-f--ile.e--xt} | 0
.../EPUB/images/{29-f--ile.png => 30-f--ile.png} | 0
.../EPUB/images/{30-f--ile.e--xt => 31-f--ile.png} | 0
.../EPUB/images/{36-f--ile.png => 33-f--ile.png} | 0
.../EPUB/images/{37-f--ile.png => 35-f--ile.e--xt} | 0
.../EPUB/images/{38-f--ile.e--xt => 42-f--ile.png} | 0
.../EPUB/images/{43-f--ile.e--xt => 43-f--ile.png} | 0
.../EPUB/images/{47-f--ile.png => 44-f--ile.e--xt} | 0
.../EPUB/images/{48-f--ile.png => 45-f--ile.png} | 0
.../images/{49-f--ile.e--xt => 47-f--ile.e--xt} | 0
.../EPUB/images/{50-f--ile.png => 52-f--ile.png} | 0
.../images/{52-f--ile.e--xt => 53-f--ile.e--xt} | 0
.../EPUB/images/{54-f--ile.e--xt => 54-f--ile.png} | 0
.../EPUB/images/55-f--ile.png} | 0
.../EPUB/images/56-f--ile.e--xt} | 0
.../EPUB/images/57-f--ile.png} | 0
.../EPUB/images/59-f--ile.e--xt} | 0
.../EPUB/images/9-f--ile.png} | 0
.../EPUB/xhtml/chapter.xhtml | 70 +-
.../EPUB/xhtml/chapter2.xhtml | 1 +
.../EPUB/xhtml/formatting.xhtml | 31 +-
.../EPUB/xhtml/formatting_abt.xhtml | 1 +
.../EPUB/xhtml/formatting_fot.xhtml | 1 +
.../EPUB/xhtml/formatting_ovr.xhtml | 1 +
.../EPUB/xhtml/formatting_toc.xhtml | 1 +
.../formatting_epub_package/EPUB/formatting.opf | 71 +-
.../images/{21-f--ile.e--xt => 11-f--ile.e--xt} | 0
.../EPUB/images/{25-f--ile.png => 16-f--ile.png} | 0
.../EPUB/images/{26-f--ile.png => 17-f--ile.e--xt} | 0
.../EPUB/images/{27-f--ile.e--xt => 19-f--ile.png} | 0
.../EPUB/images/{29-f--ile.png => 20-f--ile.e--xt} | 0
.../EPUB/images/{30-f--ile.e--xt => 21-f--ile.png} | 0
.../EPUB/images/{36-f--ile.png => 23-f--ile.e--xt} | 0
.../EPUB/images/{37-f--ile.png => 27-f--ile.png} | 0
.../images/{38-f--ile.e--xt => 29-f--ile.e--xt} | 0
.../EPUB/images/{43-f--ile.e--xt => 30-f--ile.png} | 0
.../EPUB/images/{47-f--ile.png => 31-f--ile.png} | 0
.../EPUB/images/{48-f--ile.png => 33-f--ile.png} | 0
.../images/{49-f--ile.e--xt => 35-f--ile.e--xt} | 0
.../EPUB/images/{50-f--ile.png => 42-f--ile.png} | 0
.../EPUB/images/{52-f--ile.e--xt => 43-f--ile.png} | 0
.../images/{54-f--ile.e--xt => 44-f--ile.e--xt} | 0
.../EPUB/images/45-f--ile.png} | 0
.../EPUB/images/47-f--ile.e--xt} | 0
.../EPUB/images/52-f--ile.png} | 0
.../EPUB/images/53-f--ile.e--xt} | 0
.../EPUB/images/54-f--ile.png} | 0
.../EPUB/images/55-f--ile.png} | 0
.../EPUB/images/56-f--ile.e--xt} | 0
.../EPUB/images/57-f--ile.png} | 0
.../EPUB/images/59-f--ile.e--xt} | 0
.../EPUB/images/9-f--ile.png} | 0
.../EPUB/xhtml/chapter.xhtml | 70 +-
.../EPUB/xhtml/chapter2.xhtml | 1 +
.../EPUB/xhtml/formatting.xhtml | 31 +-
.../EPUB/xhtml/formatting_abt.xhtml | 1 +
.../EPUB/xhtml/formatting_fot.xhtml | 1 +
.../EPUB/xhtml/formatting_ovr.xhtml | 1 +
.../EPUB/xhtml/formatting_toc.xhtml | 1 +
.../EPUB/xhtml/s_002d_002dect_002cion.xhtml | 1 +
.../EPUB/xhtml/subsection.xhtml | 1 +
...ion-_0060_0060simple_002ddouble_002d_002d.xhtml | 1 +
...2d_002dfour_002d_002d_002d_002d_0027_0027.xhtml | 1 +
.../res_parser/formatting_exotic/anchor.html | 1 +
.../res_parser/formatting_exotic/chapter.html | 4 +
.../res_parser/formatting_exotic/chapter2.html | 1 +
.../formatting_exotic/formatting_abt.html | 1 +
.../formatting_exotic/formatting_ovr.html | 1 +
.../formatting_exotic/formatting_toc.html | 1 +
.../layout/res_parser/formatting_exotic/index.html | 1 +
.../formatting_exotic/s_002d_002dect_002cion.html | 1 +
.../res_parser/formatting_exotic/subsection.html | 1 +
...tion-_0060_0060simple_002ddouble_002d_002d.html | 1 +
...02d_002dfour_002d_002d_002d_002d_0027_0027.html | 1 +
.../res_parser/formatting_fr_icons/formatting.html | 6 +
.../res_parser/formatting_html/formatting.html | 6 +
.../res_parser/formatting_html32/formatting.html | 6 +
.../formatting_html_no_texi2html/formatting.html | 4 +
.../res_parser/formatting_html_nodes/anchor.html | 1 +
.../res_parser/formatting_html_nodes/chapter.html | 4 +
.../res_parser/formatting_html_nodes/chapter2.html | 1 +
.../formatting_html_nodes/formatting_abt.html | 1 +
.../formatting_html_nodes/formatting_fot.html | 1 +
.../formatting_html_nodes/formatting_ovr.html | 1 +
.../formatting_html_nodes/formatting_toc.html | 1 +
.../res_parser/formatting_html_nodes/index.html | 3 +
.../s_002d_002dect_002cion.html | 1 +
.../formatting_html_nodes/subsection.html | 1 +
...tion-_0060_0060simple_002ddouble_002d_002d.html | 1 +
...02d_002dfour_002d_002d_002d_002d_0027_0027.html | 1 +
.../res_parser/formatting_info/formatting.info | 165 ++---
.../formatting_inline_css/formatting.html | 6 +
.../res_parser/formatting_latex/formatting.tex | 5 +
.../formatting_macro_expand/formatting.texi | 5 +
.../res_parser/formatting_mathjax/formatting.html | 6 +
.../layout/res_parser/formatting_nodes/anchor.html | 1 +
.../res_parser/formatting_nodes/chapter.html | 4 +
.../res_parser/formatting_nodes/chapter2.html | 1 +
.../formatting_nodes/formatting_abt.html | 1 +
.../formatting_nodes/formatting_fot.html | 1 +
.../formatting_nodes/formatting_ovr.html | 1 +
.../formatting_nodes/formatting_toc.html | 1 +
.../layout/res_parser/formatting_nodes/index.html | 3 +
.../formatting_nodes/s_002d_002dect_002cion.html | 1 +
.../res_parser/formatting_nodes/subsection.html | 1 +
...tion-_0060_0060simple_002ddouble_002d_002d.html | 1 +
...02d_002dfour_002d_002d_002d_002d_0027_0027.html | 1 +
.../formatting_numerical_entities/formatting.html | 6 +
.../res_parser/formatting_plaintext/formatting.txt | 800 +++++++++++----------
.../res_parser/formatting_rawtext/formatting.txt | 2 +
.../formatting_regions/formatting_regions.html | 6 +
.../res_parser/formatting_textcontent/formatting | 4 +
.../formatting_weird_quotes/formatting.html | 6 +
.../res_parser/formatting_xhtml/formatting.html | 6 +
.../res_parser/formatting_xml/formatting.xml | 5 +
.../res_parser/formatting_singular/anchor.html | 1 +
.../res_parser/formatting_singular/chapter.html | 4 +
.../res_parser/formatting_singular/chapter2.html | 1 +
.../res_parser/formatting_singular/index.htm | 1 +
.../res_parser/formatting_singular/index.html | 1 +
.../s_002d_002dect_002cion.html | 1 +
.../res_parser/formatting_singular/sing_abt.htm | 1 +
.../res_parser/formatting_singular/sing_fot.htm | 1 +
.../res_parser/formatting_singular/sing_ovr.htm | 1 +
.../res_parser/formatting_singular/sing_toc.htm | 1 +
.../res_parser/formatting_singular/subsection.html | 1 +
...tion-_0060_0060simple_002ddouble_002d_002d.html | 1 +
...02d_002dfour_002d_002d_002d_002d_0027_0027.html | 1 +
157 files changed, 1017 insertions(+), 692 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index bfa989967d..9e86cf1ac9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2022-11-08 Patrice Dumas <pertusus@free.fr>
+
+ * tp/Texinfo/Convert/Info.pm (format_image): avoid crash on empty
+ @image extension. Report from Werner Lemberg.
+
2022-11-12 Gavin Smith <gavinsmith0123@gmail.com>
* doc/texinfo.texi (Generating HTML): Correct name of
diff --git a/tp/Texinfo/Convert/Info.pm b/tp/Texinfo/Convert/Info.pm
index 73e00a4809..7c6ff88f24 100644
--- a/tp/Texinfo/Convert/Info.pm
+++ b/tp/Texinfo/Convert/Info.pm
@@ -543,6 +543,7 @@ sub format_image($$)
{'code' => 1,
Texinfo::Convert::Text::copy_options_for_convert_text($self)});
if (defined($element->{'args'}->[4])
+ and $element->{'args'}->[4]->{'contents'}
and @{$element->{'args'}->[4]->{'contents'}}) {
my $extension = Texinfo::Convert::Text::convert_to_text(
{'contents' => $element->{'args'}->[4]->{'contents'}},
diff --git a/tp/t/converters_tests.t b/tp/t/converters_tests.t
index d42ebde3e0..b200035b80 100644
--- a/tp/t/converters_tests.t
+++ b/tp/t/converters_tests.t
@@ -588,6 +588,7 @@ explanation
@code{@@image@{f--ile,,,alt@}} @image{f--ile,,,alt}
@code{@@image@{f--ile,,,,e-d-xt@}} @image{f--ile,,,,e--xt}
@code{@@image@{f--ile,aze,az,alt,e--xt@}} @image{f--ile,aze,az,alt,e--xt}
+@code{@@image@{f--ile,aze,az,alt,} @image{f--ile,aze,az,alt,}
@code{@@image@{f-ile,aze,,a--lt@}} @image{f-ile,aze,,a--lt}
@code{@@image@{@@file@{f--ile@}@@@@@@.,aze,az,alt,@@file@{file ext@}
e--xt@@@}} @image{@file{f--ile}@@@.,aze,az,alt,@file{file ext} e--xt@}}
@image{image} @image{image}
diff --git a/tp/t/results/converters_tests/image_formatting.pl
b/tp/t/results/converters_tests/image_formatting.pl
index 7609334f02..be158739f7 100644
--- a/tp/t/results/converters_tests/image_formatting.pl
+++ b/tp/t/results/converters_tests/image_formatting.pl
@@ -568,6 +568,88 @@ $result_trees{'image_formatting'} = {
},
{
'text' => '
+'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'cmdname' => '@'
+ },
+ {
+ 'text' => 'image'
+ },
+ {
+ 'cmdname' => '{'
+ },
+ {
+ 'text' => 'f--ile,aze,az,alt,'
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'code',
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 13,
+ 'macro' => ''
+ }
+ },
+ {
+ 'text' => ' '
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'f--ile'
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ },
+ {
+ 'contents' => [
+ {
+ 'text' => 'aze'
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ },
+ {
+ 'contents' => [
+ {
+ 'text' => 'az'
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ },
+ {
+ 'contents' => [
+ {
+ 'text' => 'alt'
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ },
+ {
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'image',
+ 'extra' => {
+ 'input_perl_encoding' => 'utf-8'
+ },
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 13,
+ 'macro' => ''
+ }
+ },
+ {
+ 'text' => '
'
},
{
@@ -596,7 +678,7 @@ $result_trees{'image_formatting'} = {
'cmdname' => 'code',
'source_info' => {
'file_name' => '',
- 'line_nr' => 13,
+ 'line_nr' => 14,
'macro' => ''
}
},
@@ -639,7 +721,7 @@ $result_trees{'image_formatting'} = {
},
'source_info' => {
'file_name' => '',
- 'line_nr' => 13,
+ 'line_nr' => 14,
'macro' => ''
}
},
@@ -718,7 +800,7 @@ $result_trees{'image_formatting'} = {
'cmdname' => 'code',
'source_info' => {
'file_name' => '',
- 'line_nr' => 14,
+ 'line_nr' => 15,
'macro' => ''
}
},
@@ -743,7 +825,7 @@ $result_trees{'image_formatting'} = {
'cmdname' => 'file',
'source_info' => {
'file_name' => '',
- 'line_nr' => 14,
+ 'line_nr' => 15,
'macro' => ''
}
},
@@ -796,7 +878,7 @@ $result_trees{'image_formatting'} = {
'cmdname' => 'file',
'source_info' => {
'file_name' => '',
- 'line_nr' => 14,
+ 'line_nr' => 15,
'macro' => ''
}
},
@@ -816,7 +898,7 @@ $result_trees{'image_formatting'} = {
},
'source_info' => {
'file_name' => '',
- 'line_nr' => 14,
+ 'line_nr' => 15,
'macro' => ''
}
},
@@ -841,7 +923,7 @@ $result_trees{'image_formatting'} = {
},
'source_info' => {
'file_name' => '',
- 'line_nr' => 15,
+ 'line_nr' => 16,
'macro' => ''
}
},
@@ -865,7 +947,7 @@ $result_trees{'image_formatting'} = {
},
'source_info' => {
'file_name' => '',
- 'line_nr' => 15,
+ 'line_nr' => 16,
'macro' => ''
}
},
@@ -921,7 +1003,7 @@ $result_trees{'image_formatting'} = {
'cmdname' => 'code',
'source_info' => {
'file_name' => '',
- 'line_nr' => 18,
+ 'line_nr' => 19,
'macro' => ''
}
},
@@ -945,7 +1027,7 @@ $result_trees{'image_formatting'} = {
},
'source_info' => {
'file_name' => '',
- 'line_nr' => 18,
+ 'line_nr' => 19,
'macro' => ''
}
},
@@ -979,7 +1061,7 @@ $result_trees{'image_formatting'} = {
'cmdname' => 'code',
'source_info' => {
'file_name' => '',
- 'line_nr' => 19,
+ 'line_nr' => 20,
'macro' => ''
}
},
@@ -1011,7 +1093,7 @@ $result_trees{'image_formatting'} = {
},
'source_info' => {
'file_name' => '',
- 'line_nr' => 19,
+ 'line_nr' => 20,
'macro' => ''
}
},
@@ -1045,7 +1127,7 @@ $result_trees{'image_formatting'} = {
'cmdname' => 'code',
'source_info' => {
'file_name' => '',
- 'line_nr' => 20,
+ 'line_nr' => 21,
'macro' => ''
}
},
@@ -1080,7 +1162,7 @@ $result_trees{'image_formatting'} = {
},
'source_info' => {
'file_name' => '',
- 'line_nr' => 20,
+ 'line_nr' => 21,
'macro' => ''
}
},
@@ -1114,7 +1196,7 @@ $result_trees{'image_formatting'} = {
'cmdname' => 'code',
'source_info' => {
'file_name' => '',
- 'line_nr' => 21,
+ 'line_nr' => 22,
'macro' => ''
}
},
@@ -1152,7 +1234,7 @@ $result_trees{'image_formatting'} = {
},
'source_info' => {
'file_name' => '',
- 'line_nr' => 21,
+ 'line_nr' => 22,
'macro' => ''
}
},
@@ -1186,7 +1268,7 @@ $result_trees{'image_formatting'} = {
'cmdname' => 'code',
'source_info' => {
'file_name' => '',
- 'line_nr' => 22,
+ 'line_nr' => 23,
'macro' => ''
}
},
@@ -1227,7 +1309,7 @@ $result_trees{'image_formatting'} = {
},
'source_info' => {
'file_name' => '',
- 'line_nr' => 22,
+ 'line_nr' => 23,
'macro' => ''
}
},
@@ -1261,7 +1343,7 @@ $result_trees{'image_formatting'} = {
'cmdname' => 'code',
'source_info' => {
'file_name' => '',
- 'line_nr' => 23,
+ 'line_nr' => 24,
'macro' => ''
}
},
@@ -1317,7 +1399,7 @@ $result_trees{'image_formatting'} = {
},
'source_info' => {
'file_name' => '',
- 'line_nr' => 23,
+ 'line_nr' => 24,
'macro' => ''
}
},
@@ -1351,7 +1433,7 @@ $result_trees{'image_formatting'} = {
'cmdname' => 'code',
'source_info' => {
'file_name' => '',
- 'line_nr' => 24,
+ 'line_nr' => 25,
'macro' => ''
}
},
@@ -1394,7 +1476,7 @@ $result_trees{'image_formatting'} = {
},
'source_info' => {
'file_name' => '',
- 'line_nr' => 24,
+ 'line_nr' => 25,
'macro' => ''
}
},
@@ -1473,7 +1555,7 @@ $result_trees{'image_formatting'} = {
'cmdname' => 'code',
'source_info' => {
'file_name' => '',
- 'line_nr' => 25,
+ 'line_nr' => 26,
'macro' => ''
}
},
@@ -1498,7 +1580,7 @@ $result_trees{'image_formatting'} = {
'cmdname' => 'file',
'source_info' => {
'file_name' => '',
- 'line_nr' => 25,
+ 'line_nr' => 26,
'macro' => ''
}
},
@@ -1551,7 +1633,7 @@ $result_trees{'image_formatting'} = {
'cmdname' => 'file',
'source_info' => {
'file_name' => '',
- 'line_nr' => 25,
+ 'line_nr' => 26,
'macro' => ''
}
},
@@ -1571,7 +1653,7 @@ $result_trees{'image_formatting'} = {
},
'source_info' => {
'file_name' => '',
- 'line_nr' => 25,
+ 'line_nr' => 26,
'macro' => ''
}
},
@@ -1596,7 +1678,7 @@ $result_trees{'image_formatting'} = {
},
'source_info' => {
'file_name' => '',
- 'line_nr' => 26,
+ 'line_nr' => 27,
'macro' => ''
}
},
@@ -1620,7 +1702,7 @@ $result_trees{'image_formatting'} = {
},
'source_info' => {
'file_name' => '',
- 'line_nr' => 26,
+ 'line_nr' => 27,
'macro' => ''
}
},
@@ -1653,14 +1735,14 @@ $result_trees{'image_formatting'} = {
},
'source_info' => {
'file_name' => '',
- 'line_nr' => 27,
+ 'line_nr' => 28,
'macro' => ''
}
}
],
'source_info' => {
'file_name' => '',
- 'line_nr' => 17,
+ 'line_nr' => 18,
'macro' => ''
}
},
@@ -1700,7 +1782,7 @@ $result_trees{'image_formatting'} = {
},
'source_info' => {
'file_name' => '',
- 'line_nr' => 29,
+ 'line_nr' => 30,
'macro' => ''
}
},
@@ -1750,7 +1832,7 @@ $result_trees{'image_formatting'} = {
},
'source_info' => {
'file_name' => '',
- 'line_nr' => 32,
+ 'line_nr' => 33,
'macro' => ''
}
},
@@ -1791,6 +1873,7 @@ $result_texis{'image_formatting'} = '@node Top
@code{@@image@{f--ile,,,alt@}} @image{f--ile,,,alt}
@code{@@image@{f--ile,,,,e-d-xt@}} @image{f--ile,,,,e--xt}
@code{@@image@{f--ile,aze,az,alt,e--xt@}} @image{f--ile,aze,az,alt,e--xt}
+@code{@@image@{f--ile,aze,az,alt,} @image{f--ile,aze,az,alt,}
@code{@@image@{f-ile,aze,,a--lt@}} @image{f-ile,aze,,a--lt}
@code{@@image@{@@file@{f--ile@}@@@@@@.,aze,az,alt,@@file@{file ext@}
e--xt@@@}} @image{@file{f--ile}@@@.,aze,az,alt,@file{file ext} e--xt@}}
@image{image} @image{image}
@@ -1826,6 +1909,7 @@ $result_texts{'image_formatting'} = 'top
@image{f--ile,,,alt} f--ile
@image{f--ile,,,,e-d-xt} f--ile
@image{f--ile,aze,az,alt,e--xt} f--ile
+@image{f--ile,aze,az,alt, f--ile
@image{f-ile,aze,,a--lt} f-ile
@image{@file{f--ile}@@@.,aze,az,alt,@file{file ext} e--xt@} f--ile@.
image image
@@ -1951,7 +2035,8 @@ $result_converted{'plaintext'}->{'image_formatting'} =
'top
‘@image{f--ile}’ Image description""\\. ‘@image{f--ile,l--i}’ Image
description""\\. ‘@image{f--ile,,l--e}’ Image description""\\.
‘@image{f--ile,,,alt}’ Image description""\\. ‘@image{f--ile,,,,e-d-xt}’ Image
description""\\.
-‘@image{f--ile,aze,az,alt,e--xt}’ Image description""\\.
‘@image{f-ile,aze,,a--lt}’ [a-lt]
+‘@image{f--ile,aze,az,alt,e--xt}’ Image description""\\.
‘@image{f--ile,aze,az,alt,’ Image description""\\.
+‘@image{f-ile,aze,,a--lt}’ [a-lt]
‘@image{@file{f--ile}@@@.,aze,az,alt,@file{file ext} e--xt@}’ [alt] aaa
bbb
ccc aaa
@@ -2002,6 +2087,7 @@ $result_converted{'html_text'}->{'image_formatting'} =
'<div class="top-level-ex
<code class="code">@image{f--ile,,,alt}</code> <img class="image"
src="f--ile.png" alt="alt">
<code class="code">@image{f--ile,,,,e-d-xt}</code> <img class="image"
src="f--ile.png" alt="f--ile">
<code class="code">@image{f--ile,aze,az,alt,e--xt}</code> <img class="image"
src="f--ile.png" alt="alt">
+<code class="code">@image{f--ile,aze,az,alt,</code> <img class="image"
src="f--ile.png" alt="alt">
<code class="code">@image{f-ile,aze,,a--lt}</code> <img class="image"
src="f-ile.jpg" alt="a–lt">
<code class="code">@image{@file{f--ile}@@@.,aze,az,alt,@file{file ext}
e--xt@}</code> <img class="image" src="f--ile%40.file%20ext%20e--xt%7d"
alt="alt">
<img class="image" src="image.jpg" alt="image"> <img class="image"
src="image.jpg" alt="image">
@@ -2031,7 +2117,7 @@
$result_converted_errors{'html_text'}->{'image_formatting'} = [
'error_line' => 'warning: @image file `f-ile\' (for HTML) not found, using
`f-ile.jpg\'
',
'file_name' => '',
- 'line_nr' => 13,
+ 'line_nr' => 14,
'macro' => '',
'text' => '@image file `f-ile\' (for HTML) not found, using `f-ile.jpg\'',
'type' => 'warning'
@@ -2040,7 +2126,7 @@
$result_converted_errors{'html_text'}->{'image_formatting'} = [
'error_line' => 'warning: @image file `f--ile@.\' (for HTML) not found,
using `f--ile@.file ext e--xt}\'
',
'file_name' => '',
- 'line_nr' => 14,
+ 'line_nr' => 15,
'macro' => '',
'text' => '@image file `f--ile@.\' (for HTML) not found, using
`f--ile@.file ext e--xt}\'',
'type' => 'warning'
@@ -2049,7 +2135,7 @@
$result_converted_errors{'html_text'}->{'image_formatting'} = [
'error_line' => 'warning: @image file `image\' (for HTML) not found, using
`image.jpg\'
',
'file_name' => '',
- 'line_nr' => 15,
+ 'line_nr' => 16,
'macro' => '',
'text' => '@image file `image\' (for HTML) not found, using `image.jpg\'',
'type' => 'warning'
@@ -2058,7 +2144,7 @@
$result_converted_errors{'html_text'}->{'image_formatting'} = [
'error_line' => 'warning: @image file `image\' (for HTML) not found, using
`image.jpg\'
',
'file_name' => '',
- 'line_nr' => 15,
+ 'line_nr' => 16,
'macro' => '',
'text' => '@image file `image\' (for HTML) not found, using `image.jpg\'',
'type' => 'warning'
@@ -2067,7 +2153,7 @@
$result_converted_errors{'html_text'}->{'image_formatting'} = [
'error_line' => 'warning: @image file `f-ile\' (for HTML) not found, using
`f-ile.jpg\'
',
'file_name' => '',
- 'line_nr' => 24,
+ 'line_nr' => 25,
'macro' => '',
'text' => '@image file `f-ile\' (for HTML) not found, using `f-ile.jpg\'',
'type' => 'warning'
@@ -2076,7 +2162,7 @@
$result_converted_errors{'html_text'}->{'image_formatting'} = [
'error_line' => 'warning: @image file `f--ile@.\' (for HTML) not found,
using `f--ile@.file ext e--xt}\'
',
'file_name' => '',
- 'line_nr' => 25,
+ 'line_nr' => 26,
'macro' => '',
'text' => '@image file `f--ile@.\' (for HTML) not found, using
`f--ile@.file ext e--xt}\'',
'type' => 'warning'
@@ -2085,7 +2171,7 @@
$result_converted_errors{'html_text'}->{'image_formatting'} = [
'error_line' => 'warning: @image file `image\' (for HTML) not found, using
`image.jpg\'
',
'file_name' => '',
- 'line_nr' => 26,
+ 'line_nr' => 27,
'macro' => '',
'text' => '@image file `image\' (for HTML) not found, using `image.jpg\'',
'type' => 'warning'
@@ -2094,7 +2180,7 @@
$result_converted_errors{'html_text'}->{'image_formatting'} = [
'error_line' => 'warning: @image file `image\' (for HTML) not found, using
`image.jpg\'
',
'file_name' => '',
- 'line_nr' => 26,
+ 'line_nr' => 27,
'macro' => '',
'text' => '@image file `image\' (for HTML) not found, using `image.jpg\'',
'type' => 'warning'
@@ -2116,6 +2202,7 @@ $result_converted{'xml'}->{'image_formatting'} = '<node
name="Top" spaces=" "><n
<code>&arobase;image{f--ile,,,alt}</code> <image
where="inline"><imagefile>f--ile</imagefile><alttext>alt</alttext></image>
<code>&arobase;image{f--ile,,,,e-d-xt}</code> <image
where="inline"><imagefile>f--ile</imagefile><imageextension>e--xt</imageextension></image>
<code>&arobase;image{f--ile,aze,az,alt,e--xt}</code> <image
where="inline"><imagefile>f--ile</imagefile><imagewidth>aze</imagewidth><imageheight>az</imageheight><alttext>alt</alttext><imageextension>e--xt</imageextension></image>
+<code>&arobase;image{f--ile,aze,az,alt,</code> <image
where="inline"><imagefile>f--ile</imagefile><imagewidth>aze</imagewidth><imageheight>az</imageheight><alttext>alt</alttext><imageextension></imageextension></image>
<code>&arobase;image{f-ile,aze,,a--lt}</code> <image
where="inline"><imagefile>f-ile</imagefile><imagewidth>aze</imagewidth><alttext>a&textndash;lt</alttext></image>
<code>&arobase;image{&arobase;file{f--ile}&arobase;&arobase;&arobase;.,aze,az,alt,&arobase;file{file
ext} e--xt&arobase;}</code> <image
where="inline"><imagefile><file>f--ile</file>&arobase;&eosperiod;</imagefile><imagewidth>aze</imagewidth><imageheight>az</imageheight><alttext>alt</alttext><imageextension><file>file
ext</file> e--xt}</imageextension></image>
<image where="inline"><imagefile>image</imagefile></image> <image
where="inline"><imagefile>image</imagefile></image>
@@ -2149,6 +2236,7 @@ $result_converted{'docbook'}->{'image_formatting'} =
'<chapter label="1" id="cha
<literal>@image{f--ile,,,alt}</literal>
<inlinemediaobject><imageobject><imagedata fileref="f--ile.png"
format="PNG"></imagedata></imageobject><textobject><literallayout>Image
description""\\.</literallayout></textobject></inlinemediaobject>
<literal>@image{f--ile,,,,e-d-xt}</literal>
<inlinemediaobject><imageobject><imagedata fileref="f--ile.png"
format="PNG"></imagedata></imageobject><textobject><literallayout>Image
description""\\.</literallayout></textobject></inlinemediaobject>
<literal>@image{f--ile,aze,az,alt,e--xt}</literal>
<inlinemediaobject><imageobject><imagedata fileref="f--ile.png"
format="PNG"></imagedata></imageobject><textobject><literallayout>Image
description""\\.</literallayout></textobject></inlinemediaobject>
+<literal>@image{f--ile,aze,az,alt,</literal>
<inlinemediaobject><imageobject><imagedata fileref="f--ile.png"
format="PNG"></imagedata></imageobject><textobject><literallayout>Image
description""\\.</literallayout></textobject></inlinemediaobject>
<literal>@image{f-ile,aze,,a--lt}</literal>
<inlinemediaobject><imageobject><imagedata fileref="f-ile.jpg"
format="JPG"></imagedata></imageobject></inlinemediaobject>
<literal>@image{@file{f--ile}@@@.,aze,az,alt,@file{file ext} e--xt@}</literal>
<inlinemediaobject><imageobject><imagedata fileref="f--ile@..jpg"
format="JPG"></imagedata></imageobject></inlinemediaobject>
<inlinemediaobject><imageobject><imagedata fileref="image.jpg"
format="JPG"></imagedata></imageobject><textobject><literallayout>aaa
@@ -2183,7 +2271,7 @@ $result_converted_errors{'docbook'}->{'image_formatting'}
= [
'error_line' => 'warning: @image file `f-ile\' not found, using
`f-ile.jpg\'
',
'file_name' => '',
- 'line_nr' => 13,
+ 'line_nr' => 14,
'macro' => '',
'text' => '@image file `f-ile\' not found, using `f-ile.jpg\'',
'type' => 'warning'
@@ -2192,7 +2280,7 @@ $result_converted_errors{'docbook'}->{'image_formatting'}
= [
'error_line' => 'warning: @image file `f--ile@.\' not found, using
`f--ile@..jpg\'
',
'file_name' => '',
- 'line_nr' => 14,
+ 'line_nr' => 15,
'macro' => '',
'text' => '@image file `f--ile@.\' not found, using `f--ile@..jpg\'',
'type' => 'warning'
@@ -2201,7 +2289,7 @@ $result_converted_errors{'docbook'}->{'image_formatting'}
= [
'error_line' => 'warning: @image file `f-ile\' not found, using
`f-ile.jpg\'
',
'file_name' => '',
- 'line_nr' => 24,
+ 'line_nr' => 25,
'macro' => '',
'text' => '@image file `f-ile\' not found, using `f-ile.jpg\'',
'type' => 'warning'
@@ -2210,7 +2298,7 @@ $result_converted_errors{'docbook'}->{'image_formatting'}
= [
'error_line' => 'warning: @image file `f--ile@.\' not found, using
`f--ile@..jpg\'
',
'file_name' => '',
- 'line_nr' => 25,
+ 'line_nr' => 26,
'macro' => '',
'text' => '@image file `f--ile@.\' not found, using `f--ile@..jpg\'',
'type' => 'warning'
@@ -2229,6 +2317,7 @@ $result_converted{'latex_text'}->{'image_formatting'} =
'\\label{anchor:Top}%
\\texttt{@image\\{f{-}{-}ile{,}{,},alt\\}} \\includegraphics{f--ile}
\\texttt{@image\\{f{-}{-}ile{,}{,}{,}{,}e-d-xt\\}} \\includegraphics{f--ile}
\\texttt{@image\\{f{-}{-}ile,aze,az,alt,e{-}{-}xt\\}}
\\includegraphics[width=aze,height=az]{f--ile}
+\\texttt{@image\\{f{-}{-}ile,aze,az,alt,}
\\includegraphics[width=aze,height=az]{f--ile}
\\texttt{@image\\{f-ile,aze{,}{,}a{-}{-}lt\\}}
\\includegraphics[width=aze]{f-ile}
\\texttt{@image\\{@file\\{f{-}{-}ile\\}@@@.,aze,az,alt,@file\\{file ext\\}\\
e{-}{-}xt@\\}} \\includegraphics[width=aze,height=az]{f--ile@.}
\\includegraphics{image} \\includegraphics{image}
@@ -2258,7 +2347,7 @@
$result_converted_errors{'latex_text'}->{'image_formatting'} = [
'error_line' => 'warning: @image file `f-ile\' (for LaTeX) not found
',
'file_name' => '',
- 'line_nr' => 13,
+ 'line_nr' => 14,
'macro' => '',
'text' => '@image file `f-ile\' (for LaTeX) not found',
'type' => 'warning'
@@ -2267,7 +2356,7 @@
$result_converted_errors{'latex_text'}->{'image_formatting'} = [
'error_line' => 'warning: @image file `f--ile@.\' (for LaTeX) not found
',
'file_name' => '',
- 'line_nr' => 14,
+ 'line_nr' => 15,
'macro' => '',
'text' => '@image file `f--ile@.\' (for LaTeX) not found',
'type' => 'warning'
@@ -2276,7 +2365,7 @@
$result_converted_errors{'latex_text'}->{'image_formatting'} = [
'error_line' => 'warning: @image file `image\' (for LaTeX) not found
',
'file_name' => '',
- 'line_nr' => 15,
+ 'line_nr' => 16,
'macro' => '',
'text' => '@image file `image\' (for LaTeX) not found',
'type' => 'warning'
@@ -2285,7 +2374,7 @@
$result_converted_errors{'latex_text'}->{'image_formatting'} = [
'error_line' => 'warning: @image file `image\' (for LaTeX) not found
',
'file_name' => '',
- 'line_nr' => 15,
+ 'line_nr' => 16,
'macro' => '',
'text' => '@image file `image\' (for LaTeX) not found',
'type' => 'warning'
@@ -2294,7 +2383,7 @@
$result_converted_errors{'latex_text'}->{'image_formatting'} = [
'error_line' => 'warning: @image file `f-ile\' (for LaTeX) not found
',
'file_name' => '',
- 'line_nr' => 24,
+ 'line_nr' => 25,
'macro' => '',
'text' => '@image file `f-ile\' (for LaTeX) not found',
'type' => 'warning'
@@ -2303,7 +2392,7 @@
$result_converted_errors{'latex_text'}->{'image_formatting'} = [
'error_line' => 'warning: @image file `f--ile@.\' (for LaTeX) not found
',
'file_name' => '',
- 'line_nr' => 25,
+ 'line_nr' => 26,
'macro' => '',
'text' => '@image file `f--ile@.\' (for LaTeX) not found',
'type' => 'warning'
@@ -2312,7 +2401,7 @@
$result_converted_errors{'latex_text'}->{'image_formatting'} = [
'error_line' => 'warning: @image file `image\' (for LaTeX) not found
',
'file_name' => '',
- 'line_nr' => 26,
+ 'line_nr' => 27,
'macro' => '',
'text' => '@image file `image\' (for LaTeX) not found',
'type' => 'warning'
@@ -2321,7 +2410,7 @@
$result_converted_errors{'latex_text'}->{'image_formatting'} = [
'error_line' => 'warning: @image file `image\' (for LaTeX) not found
',
'file_name' => '',
- 'line_nr' => 26,
+ 'line_nr' => 27,
'macro' => '',
'text' => '@image file `image\' (for LaTeX) not found',
'type' => 'warning'
@@ -2350,7 +2439,8 @@ File: , Node: chap, Prev: Top, Up: Top
‘@image{f--ile}’ [image src="f--ile.png" text="Image
description\\"\\"\\\\."