[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
texinfo/tp Texinfo/Convert/HTML.pm t/08misc_com...
From: |
Patrice Dumas |
Subject: |
texinfo/tp Texinfo/Convert/HTML.pm t/08misc_com... |
Date: |
Thu, 14 Jul 2011 21:20:44 +0000 |
CVSROOT: /sources/texinfo
Module name: texinfo
Changes by: Patrice Dumas <pertusus> 11/07/14 21:20:44
Modified files:
tp/Texinfo/Convert: HTML.pm
tp/t : 08misc_commands.t
tp/t/results/misc_commands:
codequoteundirected_codequotebacktick.pl
command_in_heading_footing.pl
comment_space_command_on_line.pl
comments_in_text.pl
definfoenclose.pl empty_center.pl
footnote_in_center.pl
indent_in_quotation.pl
no_empty_line_between_headings.pl
noindent_after_smallexample.pl
noindent_indent.pl ref_in_center.pl
test_allowcodebreaks.pl
Log message:
More tests for HTML.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Convert/HTML.pm?cvsroot=texinfo&r1=1.108&r2=1.109
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/08misc_commands.t?cvsroot=texinfo&r1=1.20&r2=1.21
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/misc_commands/codequoteundirected_codequotebacktick.pl?cvsroot=texinfo&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/misc_commands/command_in_heading_footing.pl?cvsroot=texinfo&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/misc_commands/comment_space_command_on_line.pl?cvsroot=texinfo&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/misc_commands/comments_in_text.pl?cvsroot=texinfo&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/misc_commands/definfoenclose.pl?cvsroot=texinfo&r1=1.30&r2=1.31
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/misc_commands/empty_center.pl?cvsroot=texinfo&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/misc_commands/footnote_in_center.pl?cvsroot=texinfo&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/misc_commands/indent_in_quotation.pl?cvsroot=texinfo&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/misc_commands/no_empty_line_between_headings.pl?cvsroot=texinfo&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/misc_commands/noindent_after_smallexample.pl?cvsroot=texinfo&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/misc_commands/noindent_indent.pl?cvsroot=texinfo&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/misc_commands/ref_in_center.pl?cvsroot=texinfo&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/misc_commands/test_allowcodebreaks.pl?cvsroot=texinfo&r1=1.9&r2=1.10
Patches:
Index: Texinfo/Convert/HTML.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Convert/HTML.pm,v
retrieving revision 1.108
retrieving revision 1.109
diff -u -b -r1.108 -r1.109
--- Texinfo/Convert/HTML.pm 14 Jul 2011 18:12:49 -0000 1.108
+++ Texinfo/Convert/HTML.pm 14 Jul 2011 21:20:42 -0000 1.109
@@ -2703,15 +2703,18 @@
} else {
my $node_entry = {};
$node_entry->{'node_content'} =
$root->{'extra'}->{'node_argument'}->{'node_content'}
- if ($root->{'extra'}->{'node_argument'}->{'node_content'});
+ if ($root->{'extra'}->{'node_argument'}
+ and $root->{'extra'}->{'node_argument'}->{'node_content'});
$node_entry->{'normalized'} =
$root->{'extra'}->{'node_argument'}->{'normalized'}
- if (exists($root->{'extra'}->{'node_argument'}->{'normalized'}));
+ if ($root->{'extra'}->{'node_argument'}
+ and exists($root->{'extra'}->{'node_argument'}->{'normalized'}));
# file argument takes precedence over the file in the node (file)node entry
if (defined($file_arg_tree)) {
$node_entry->{'manual_content'} = $file_arg_tree->{'contents'};
- } elsif ($root->{'extra'}->{'node_argument'}->{'manual_content'}) {
+ } elsif ($root->{'extra'}->{'node_argument'}
+ and $root->{'extra'}->{'node_argument'}->{'manual_content'}) {
$node_entry->{'manual_content'}
= $root->{'extra'}->{'node_argument'}->{'manual_content'};
}
@@ -5695,13 +5698,13 @@
$self->{'current_filename'} = $self->{'output_filename'};
my $header = &{$self->{'begin_file'}}($self, $self->{'output_filename'},
undef);
$output .= _output_text($header, $fh);
- $output .= _output_text($self->_print_title(), $fh);
if ($elements and @$elements) {
foreach my $element (@$elements) {
my $element_text = $self->_convert($element);
$output .= _output_text($element_text, $fh);
}
} else {
+ $output .= _output_text($self->_print_title(), $fh);
$output .= _output_text($self->_convert($root), $fh);
}
$output .= _output_text(&{$self->{'end_file'}}($self), $fh);
Index: t/08misc_commands.t
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/08misc_commands.t,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- t/08misc_commands.t 28 May 2011 23:27:39 -0000 1.20
+++ t/08misc_commands.t 14 Jul 2011 21:20:43 -0000 1.21
@@ -440,7 +440,7 @@
foreach my $test (@converted_test_cases) {
$test->[2]->{'test_formats'} = ['plaintext'];
- #push @{$test->[2]->{'test_formats'}}, 'html';
+ push @{$test->[2]->{'test_formats'}}, 'html';
push @{$test->[2]->{'test_formats'}}, 'info' if ($info_tests{$test->[0]});
}
Index: t/results/misc_commands/codequoteundirected_codequotebacktick.pl
===================================================================
RCS file:
/sources/texinfo/texinfo/tp/t/results/misc_commands/codequoteundirected_codequotebacktick.pl,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- t/results/misc_commands/codequoteundirected_codequotebacktick.pl 3 Jul
2011 14:50:59 -0000 1.5
+++ t/results/misc_commands/codequoteundirected_codequotebacktick.pl 14 Jul
2011 21:20:43 -0000 1.6
@@ -5305,4 +5305,183 @@
';
+
+$result_converted{'html'}->{'codequoteundirected_codequotebacktick'} =
'<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<!-- ``simple-double-three-four-\'\' `simple\' quotedblleft: ``
+
+code: ``simple-double-three-four-\'\' `simple\' quotedblleft: ``
+
+asis: ``simple-double-three-four-\'\' `simple\' quotedblleft: ``
+
+strong: ``simple-double-three-four-\'\' `simple\' quotedblleft: ``
+
+kbd: ``simple-double-three-four-\'\' `simple\' quotedblleft: ``
+
+samp: ``simple-double-three-four-\'\' `simple\' quotedblleft: ``
+
+
address@hidden on
address@hidden on
+``simple-double-three-four-\'\' `simple\' quotedblleft: ``
+
+code: ``simple-double-three-four-\'\' `simple\' quotedblleft: ``
+
+asis: ``simple-double-three-four-\'\' `simple\' quotedblleft: ``
+
+strong: ``simple-double-three-four-\'\' `simple\' quotedblleft: ``
+
+kbd: ``simple-double-three-four-\'\' `simple\' quotedblleft: ``
+
+samp: ``simple-double-three-four-\'\' `simple\' quotedblleft: ``
+
+
address@hidden off
address@hidden off
+``simple-double-three-four-\'\' `simple\' quotedblleft: ``
+
+code: ``simple-double-three-four-\'\' `simple\' quotedblleft: ``
+
+asis: ``simple-double-three-four-\'\' `simple\' quotedblleft: ``
+
+strong: ``simple-double-three-four-\'\' `simple\' quotedblleft: ``
+
+kbd: ``simple-double-three-four-\'\' `simple\' quotedblleft: ``
+
+samp: ``simple-double-three-four-\'\' `simple\' quotedblleft: ``
+
+ -->
+<!-- Created by texi2html, http://www.gnu.org/software/texinfo/ -->
+<head>
+<title>test quotes</title>
+
+<meta name="description" content="test quotes">
+<meta name="keywords" content="test quotes">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="Generator" content="texi2html">
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<link href="#Top" rel="start" title="Top">
+<style type="text/css">
+<!--
+a.summary-letter {text-decoration: none}
+blockquote.smallquotation {font-size: smaller}
+div.display {margin-left: 3.2em}
+div.example {margin-left: 3.2em}
+div.lisp {margin-left: 3.2em}
+div.smalldisplay {margin-left: 3.2em}
+div.smallexample {margin-left: 3.2em}
+div.smalllisp {margin-left: 3.2em}
+pre.display {font-family: serif}
+pre.format {font-family: serif}
+pre.menu-comment {font-family: serif}
+pre.menu-preformatted {font-family: serif}
+pre.smalldisplay {font-family: serif; font-size: smaller}
+pre.smallexample {font-size: smaller}
+pre.smallformat {font-family: serif; font-size: smaller}
+pre.smalllisp {font-size: smaller}
+span.nocodebreak {white-space:pre}
+span.nolinebreak {white-space:pre}
+span.roman {font-family:serif; font-weight:normal}
+span.sansserif {font-family:sans-serif; font-weight:normal}
+ul.no-bullet {list-style: none}
+-->
+</style>
+
+
+</head>
+
+<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF"
vlink="#800080" alink="#FF0000">
+
+<a name="Top"></a>
+<a name="test-quotes"></a>
+<h1 class="top">test quotes</h1>
+
+<p>“simple-double–three—four—-”
‘simple’ quotedblleft: “ <br>
+code: <code>``simple-double--three---four----\'\' `simple\' quotedblleft:
“</code> <br>
+asis: “simple-double–three—four—-”
‘simple’ quotedblleft: “ <br>
+strong: <strong>“simple-double–three—four—-”
‘simple’ quotedblleft: “</strong> <br>
+kbd: <kbd>``simple-double--three---four----\'\' `simple\' quotedblleft:
“</kbd> <br>
+samp: ‘<samp>``simple-double--three---four----\'\' `simple\'
quotedblleft: “</samp>’ <br>
+</p>
+<div class="example">
+<pre class="example">@codequoteundirected on
address@hidden on
+</pre></div>
+<p>“simple-double–three—four—-”
‘simple’ quotedblleft: “ <br>
+code: <code>``simple-double--three---four----\'\' `simple\' quotedblleft:
“</code> <br>
+asis: “simple-double–three—four—-”
‘simple’ quotedblleft: “ <br>
+strong: <strong>“simple-double–three—four—-”
‘simple’ quotedblleft: “</strong> <br>
+kbd: <kbd>``simple-double--three---four----\'\' `simple\' quotedblleft:
“</kbd> <br>
+samp: ‘<samp>``simple-double--three---four----\'\' `simple\'
quotedblleft: “</samp>’ <br>
+</p>
+<div class="example">
+<pre class="example">@codequoteundirected off
address@hidden off
+</pre></div>
+<p>“simple-double–three—four—-”
‘simple’ quotedblleft: “ <br>
+code: <code>``simple-double--three---four----\'\' `simple\' quotedblleft:
“</code> <br>
+asis: “simple-double–three—four—-”
‘simple’ quotedblleft: “ <br>
+strong: <strong>“simple-double–three—four—-”
‘simple’ quotedblleft: “</strong> <br>
+kbd: <kbd>``simple-double--three---four----\'\' `simple\' quotedblleft:
“</kbd> <br>
+samp: ‘<samp>``simple-double--three---four----\'\' `simple\'
quotedblleft: “</samp>’ <br>
+</p>
+<div class="example">
+<pre class="example">``simple-double--three---four----\'\' `simple\'
quotedblleft: “
+
+code: <code>``simple-double--three---four----\'\' `simple\' quotedblleft:
“</code>
+
+asis: ``simple-double--three---four----\'\' `simple\' quotedblleft: “
+
+strong: <strong>``simple-double--three---four----\'\' `simple\' quotedblleft:
“</strong>
+
+kbd: <kbd>``simple-double--three---four----\'\' `simple\' quotedblleft:
“</kbd>
+
+samp: ‘<samp>``simple-double--three---four----\'\' `simple\'
quotedblleft: “</samp>’
+
+
+</pre><div class="example">
+<pre class="example">@codequoteundirected on
address@hidden on
+</pre></div>
+<pre class="example">``simple-double--three---four----\'\' `simple\'
quotedblleft: “
+
+code: <code>``simple-double--three---four----\'\' `simple\' quotedblleft:
“</code>
+
+asis: ``simple-double--three---four----\'\' `simple\' quotedblleft: “
+
+strong: <strong>``simple-double--three---four----\'\' `simple\' quotedblleft:
“</strong>
+
+kbd: <kbd>``simple-double--three---four----\'\' `simple\' quotedblleft:
“</kbd>
+
+samp: ‘<samp>``simple-double--three---four----\'\' `simple\'
quotedblleft: “</samp>’
+
+
+</pre><div class="example">
+<pre class="example">@codequoteundirected off
address@hidden off
+</pre></div>
+<pre class="example">``simple-double--three---four----\'\' `simple\'
quotedblleft: “
+
+code: <code>``simple-double--three---four----\'\' `simple\' quotedblleft:
“</code>
+
+asis: ``simple-double--three---four----\'\' `simple\' quotedblleft: “
+
+strong: <strong>``simple-double--three---four----\'\' `simple\' quotedblleft:
“</strong>
+
+kbd: <kbd>``simple-double--three---four----\'\' `simple\' quotedblleft:
“</kbd>
+
+samp: ‘<samp>``simple-double--three---four----\'\' `simple\'
quotedblleft: “</samp>’
+
+</pre></div>
+
+<hr>
+<p>
+
+
+</p>
+</body>
+</html>
+';
+
1;
Index: t/results/misc_commands/command_in_heading_footing.pl
===================================================================
RCS file:
/sources/texinfo/texinfo/tp/t/results/misc_commands/command_in_heading_footing.pl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- t/results/misc_commands/command_in_heading_footing.pl 3 Jul 2011
14:50:59 -0000 1.3
+++ t/results/misc_commands/command_in_heading_footing.pl 14 Jul 2011
21:20:43 -0000 1.4
@@ -107,4 +107,67 @@
$result_converted{'plaintext'}->{'command_in_heading_footing'} = 'In text text.
';
+
+$result_converted{'html'}->{'command_in_heading_footing'} = '<!DOCTYPE html
PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<!-- Created by texi2html, http://www.gnu.org/software/texinfo/ -->
+<head>
+<title>Untitled Document</title>
+
+<meta name="description" content="Untitled Document">
+<meta name="keywords" content="Untitled Document">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="Generator" content="texi2html">
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<style type="text/css">
+<!--
+a.summary-letter {text-decoration: none}
+blockquote.smallquotation {font-size: smaller}
+div.display {margin-left: 3.2em}
+div.example {margin-left: 3.2em}
+div.lisp {margin-left: 3.2em}
+div.smalldisplay {margin-left: 3.2em}
+div.smallexample {margin-left: 3.2em}
+div.smalllisp {margin-left: 3.2em}
+pre.display {font-family: serif}
+pre.format {font-family: serif}
+pre.menu-comment {font-family: serif}
+pre.menu-preformatted {font-family: serif}
+pre.smalldisplay {font-family: serif; font-size: smaller}
+pre.smallexample {font-size: smaller}
+pre.smallformat {font-family: serif; font-size: smaller}
+pre.smalllisp {font-size: smaller}
+span.nocodebreak {white-space:pre}
+span.nolinebreak {white-space:pre}
+span.roman {font-family:serif; font-weight:normal}
+span.sansserif {font-family:sans-serif; font-weight:normal}
+ul.no-bullet {list-style: none}
+-->
+</style>
+
+
+</head>
+
+<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF"
vlink="#800080" alink="#FF0000">
+
+<p>In text text.
+</p><p>
+
+
+</p>
+</body>
+</html>
+';
+
+$result_converted_errors{'html'}->{'command_in_heading_footing'} = [
+ {
+ 'error_line' => 'warning: Must specify a title with a title command or @top
+',
+ 'text' => 'Must specify a title with a title command or @top',
+ 'type' => 'warning'
+ }
+];
+
+
1;
Index: t/results/misc_commands/comment_space_command_on_line.pl
===================================================================
RCS file:
/sources/texinfo/texinfo/tp/t/results/misc_commands/comment_space_command_on_line.pl,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- t/results/misc_commands/comment_space_command_on_line.pl 13 Jul 2011
14:49:11 -0000 1.6
+++ t/results/misc_commands/comment_space_command_on_line.pl 14 Jul 2011
21:20:43 -0000 1.7
@@ -896,6 +896,91 @@
';
+$result_converted{'html'}->{'comment_space_command_on_line'} = '<!DOCTYPE html
PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<!-- Created by texi2html, http://www.gnu.org/software/texinfo/ -->
+<head>
+<title>Settitle </title>
+
+<meta name="description" content="Settitle ">
+<meta name="keywords" content="Settitle ">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="Generator" content="texi2html">
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<link href="#Top" rel="start" title="Top">
+<link href="#Top" rel="index" title="Top">
+<style type="text/css">
+<!--
+a.summary-letter {text-decoration: none}
+blockquote.smallquotation {font-size: smaller}
+div.display {margin-left: 3.2em}
+div.example {margin-left: 3.2em}
+div.lisp {margin-left: 3.2em}
+div.smalldisplay {margin-left: 3.2em}
+div.smallexample {margin-left: 3.2em}
+div.smalllisp {margin-left: 3.2em}
+pre.display {font-family: serif}
+pre.format {font-family: serif}
+pre.menu-comment {font-family: serif}
+pre.menu-preformatted {font-family: serif}
+pre.smalldisplay {font-family: serif; font-size: smaller}
+pre.smallexample {font-size: smaller}
+pre.smallformat {font-family: serif; font-size: smaller}
+pre.smalllisp {font-size: smaller}
+span.nocodebreak {white-space:pre}
+span.nolinebreak {white-space:pre}
+span.roman {font-family:serif; font-weight:normal}
+span.sansserif {font-family:sans-serif; font-weight:normal}
+ul.no-bullet {list-style: none}
+-->
+</style>
+
+
+</head>
+
+<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF"
vlink="#800080" alink="#FF0000">
+
+<h1 class="settitle" align="center">Settitle </h1>
+<a name="Top"></a>
+<a name="top-element-"></a>
+<h1 class="top">top element </h1>
+
+
+<a name="index-index-entry--"></a>
+
+<a name="Heading--"></a>
+<h2 class="heading">Heading </h2>
+
+<table><tr><th valign="top">Jump to: </th><td><a class="summary-letter"
href="#Top_cp_letter-I"><b>I</b></a>
+
+</td></tr></table>
+<table class="index-cp" border="0">
+<tr><td></td><th align="left">Index Entry</th><td> </td><th align="left">
Section</th></tr>
+<tr><td colspan="4"> <hr></td></tr>
+<tr><th><a name="Top_cp_letter-I">I</a></th><td></td><td></td></tr>
+<tr><td></td><td valign="top"><a href="#index-index-entry--">index entry
</a>:</td><td> </td><td valign="top"><a href="#Top">Top</a></td></tr>
+<tr><td colspan="4"> <hr></td></tr>
+</table>
+<table><tr><th valign="top">Jump to: </th><td><a class="summary-letter"
href="#Top_cp_letter-I"><b>I</b></a>
+
+</td></tr></table>
+
+<div class="float"><a name="label"></a>
+<p>float
+</p></div><p><strong>Text 1
+</strong></p>
+
+<hr>
+<p>
+
+
+</p>
+</body>
+</html>
+';
+
+
$result_converted{'info'}->{'comment_space_command_on_line'} = 'This is ,
produced by makeinfo version 4.13 from .
Index: t/results/misc_commands/comments_in_text.pl
===================================================================
RCS file:
/sources/texinfo/texinfo/tp/t/results/misc_commands/comments_in_text.pl,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- t/results/misc_commands/comments_in_text.pl 3 Jul 2011 14:50:59 -0000
1.5
+++ t/results/misc_commands/comments_in_text.pl 14 Jul 2011 21:20:43 -0000
1.6
@@ -166,4 +166,68 @@
Comment at the end of the line
';
+
+$result_converted{'html'}->{'comments_in_text'} = '<!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<!-- Created by texi2html, http://www.gnu.org/software/texinfo/ -->
+<head>
+<title>Untitled Document</title>
+
+<meta name="description" content="Untitled Document">
+<meta name="keywords" content="Untitled Document">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="Generator" content="texi2html">
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<style type="text/css">
+<!--
+a.summary-letter {text-decoration: none}
+blockquote.smallquotation {font-size: smaller}
+div.display {margin-left: 3.2em}
+div.example {margin-left: 3.2em}
+div.lisp {margin-left: 3.2em}
+div.smalldisplay {margin-left: 3.2em}
+div.smallexample {margin-left: 3.2em}
+div.smalllisp {margin-left: 3.2em}
+pre.display {font-family: serif}
+pre.format {font-family: serif}
+pre.menu-comment {font-family: serif}
+pre.menu-preformatted {font-family: serif}
+pre.smalldisplay {font-family: serif; font-size: smaller}
+pre.smallexample {font-size: smaller}
+pre.smallformat {font-family: serif; font-size: smaller}
+pre.smalllisp {font-size: smaller}
+span.nocodebreak {white-space:pre}
+span.nolinebreak {white-space:pre}
+span.roman {font-family:serif; font-weight:normal}
+span.sansserif {font-family:sans-serif; font-weight:normal}
+ul.no-bullet {list-style: none}
+-->
+</style>
+
+
+</head>
+
+<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF"
vlink="#800080" alink="#FF0000">
+
+<p>Text line followed by a comment on the same line and another below Text
line after the comment followed by a comment Text line after the text line
followed by the comment.
+</p>
+<p>Comment at the end of the line </p><p>
+
+
+</p>
+</body>
+</html>
+';
+
+$result_converted_errors{'html'}->{'comments_in_text'} = [
+ {
+ 'error_line' => 'warning: Must specify a title with a title command or @top
+',
+ 'text' => 'Must specify a title with a title command or @top',
+ 'type' => 'warning'
+ }
+];
+
+
1;
Index: t/results/misc_commands/definfoenclose.pl
===================================================================
RCS file:
/sources/texinfo/texinfo/tp/t/results/misc_commands/definfoenclose.pl,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -b -r1.30 -r1.31
--- t/results/misc_commands/definfoenclose.pl 3 Jul 2011 14:50:59 -0000
1.30
+++ t/results/misc_commands/definfoenclose.pl 14 Jul 2011 21:20:43 -0000
1.31
@@ -451,4 +451,76 @@
(strong: is it really strong? :)
';
+
+$result_converted{'html'}->{'definfoenclose'} = '<!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<!-- Created by texi2html, http://www.gnu.org/software/texinfo/ -->
+<head>
+<title>Untitled Document</title>
+
+<meta name="description" content="Untitled Document">
+<meta name="keywords" content="Untitled Document">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="Generator" content="texi2html">
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<style type="text/css">
+<!--
+a.summary-letter {text-decoration: none}
+blockquote.smallquotation {font-size: smaller}
+div.display {margin-left: 3.2em}
+div.example {margin-left: 3.2em}
+div.lisp {margin-left: 3.2em}
+div.smalldisplay {margin-left: 3.2em}
+div.smallexample {margin-left: 3.2em}
+div.smalllisp {margin-left: 3.2em}
+pre.display {font-family: serif}
+pre.format {font-family: serif}
+pre.menu-comment {font-family: serif}
+pre.menu-preformatted {font-family: serif}
+pre.smalldisplay {font-family: serif; font-size: smaller}
+pre.smallexample {font-size: smaller}
+pre.smallformat {font-family: serif; font-size: smaller}
+pre.smalllisp {font-size: smaller}
+span.nocodebreak {white-space:pre}
+span.nolinebreak {white-space:pre}
+span.roman {font-family:serif; font-weight:normal}
+span.sansserif {font-family:sans-serif; font-weight:normal}
+ul.no-bullet {list-style: none}
+-->
+</style>
+
+
+</head>
+
+<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF"
vlink="#800080" alink="#FF0000">
+
+<p>definfoenclose phoo,//,\\ </p>
+<p>//bar\\
+</p>
+<p>definfoenclose phi,:,: </p>
+<p>:bar:
+</p>
+<p><strong>very strong</strong>
+</p>
+
+<p>(strong: is it really strong? :)
+</p><p>
+
+
+</p>
+</body>
+</html>
+';
+
+$result_converted_errors{'html'}->{'definfoenclose'} = [
+ {
+ 'error_line' => 'warning: Must specify a title with a title command or @top
+',
+ 'text' => 'Must specify a title with a title command or @top',
+ 'type' => 'warning'
+ }
+];
+
+
1;
Index: t/results/misc_commands/empty_center.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/misc_commands/empty_center.pl,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- t/results/misc_commands/empty_center.pl 3 Jul 2011 14:50:59 -0000
1.4
+++ t/results/misc_commands/empty_center.pl 14 Jul 2011 21:20:43 -0000
1.5
@@ -67,4 +67,66 @@
$result_converted{'plaintext'}->{'empty_center'} = '';
+
+$result_converted{'html'}->{'empty_center'} = '<!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<!-- Created by texi2html, http://www.gnu.org/software/texinfo/ -->
+<head>
+<title>Untitled Document</title>
+
+<meta name="description" content="Untitled Document">
+<meta name="keywords" content="Untitled Document">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="Generator" content="texi2html">
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<style type="text/css">
+<!--
+a.summary-letter {text-decoration: none}
+blockquote.smallquotation {font-size: smaller}
+div.display {margin-left: 3.2em}
+div.example {margin-left: 3.2em}
+div.lisp {margin-left: 3.2em}
+div.smalldisplay {margin-left: 3.2em}
+div.smallexample {margin-left: 3.2em}
+div.smalllisp {margin-left: 3.2em}
+pre.display {font-family: serif}
+pre.format {font-family: serif}
+pre.menu-comment {font-family: serif}
+pre.menu-preformatted {font-family: serif}
+pre.smalldisplay {font-family: serif; font-size: smaller}
+pre.smallexample {font-size: smaller}
+pre.smallformat {font-family: serif; font-size: smaller}
+pre.smalllisp {font-size: smaller}
+span.nocodebreak {white-space:pre}
+span.nolinebreak {white-space:pre}
+span.roman {font-family:serif; font-weight:normal}
+span.sansserif {font-family:sans-serif; font-weight:normal}
+ul.no-bullet {list-style: none}
+-->
+</style>
+
+
+</head>
+
+<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF"
vlink="#800080" alink="#FF0000">
+
+<p>
+
+
+</p>
+</body>
+</html>
+';
+
+$result_converted_errors{'html'}->{'empty_center'} = [
+ {
+ 'error_line' => 'warning: Must specify a title with a title command or @top
+',
+ 'text' => 'Must specify a title with a title command or @top',
+ 'type' => 'warning'
+ }
+];
+
+
1;
Index: t/results/misc_commands/footnote_in_center.pl
===================================================================
RCS file:
/sources/texinfo/texinfo/tp/t/results/misc_commands/footnote_in_center.pl,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- t/results/misc_commands/footnote_in_center.pl 3 Jul 2011 14:51:00
-0000 1.5
+++ t/results/misc_commands/footnote_in_center.pl 14 Jul 2011 21:20:44
-0000 1.6
@@ -380,4 +380,83 @@
';
+
+$result_converted{'html'}->{'footnote_in_center'} = '<!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<!-- Created by texi2html, http://www.gnu.org/software/texinfo/ -->
+<head>
+<title>Untitled Document</title>
+
+<meta name="description" content="Untitled Document">
+<meta name="keywords" content="Untitled Document">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="Generator" content="texi2html">
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<style type="text/css">
+<!--
+a.summary-letter {text-decoration: none}
+blockquote.smallquotation {font-size: smaller}
+div.display {margin-left: 3.2em}
+div.example {margin-left: 3.2em}
+div.lisp {margin-left: 3.2em}
+div.smalldisplay {margin-left: 3.2em}
+div.smallexample {margin-left: 3.2em}
+div.smalllisp {margin-left: 3.2em}
+pre.display {font-family: serif}
+pre.format {font-family: serif}
+pre.menu-comment {font-family: serif}
+pre.menu-preformatted {font-family: serif}
+pre.smalldisplay {font-family: serif; font-size: smaller}
+pre.smallexample {font-size: smaller}
+pre.smallformat {font-family: serif; font-size: smaller}
+pre.smalllisp {font-size: smaller}
+span.nocodebreak {white-space:pre}
+span.nolinebreak {white-space:pre}
+span.roman {font-family:serif; font-weight:normal}
+span.sansserif {font-family:sans-serif; font-weight:normal}
+ul.no-bullet {list-style: none}
+-->
+</style>
+
+
+</head>
+
+<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF"
vlink="#800080" alink="#FF0000">
+
+<p align="center">Centered text with a footnote<a name="DOCF1"
href="#FOOT1">(1)</a> and text after the footnote.
+</p><div class="footnote">
+<hr>
+<h3 class="footnote">Footnotes</h3>
+
+<h3><a name="FOOT1" href="#DOCF1">(1)</a></h3>
+<p>This footnote
+shows an important feature of the centered text.
+</p>
+<div class="example">
+<dl compact="compact">
+<dt><tt>item</tt></dt>
+<dd><pre class="example">line
+</pre></dd>
+</dl>
+</div>
+</div>
+<p>
+
+
+</p>
+</body>
+</html>
+';
+
+$result_converted_errors{'html'}->{'footnote_in_center'} = [
+ {
+ 'error_line' => 'warning: Must specify a title with a title command or @top
+',
+ 'text' => 'Must specify a title with a title command or @top',
+ 'type' => 'warning'
+ }
+];
+
+
1;
Index: t/results/misc_commands/indent_in_quotation.pl
===================================================================
RCS file:
/sources/texinfo/texinfo/tp/t/results/misc_commands/indent_in_quotation.pl,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- t/results/misc_commands/indent_in_quotation.pl 3 Jul 2011 14:51:00
-0000 1.7
+++ t/results/misc_commands/indent_in_quotation.pl 14 Jul 2011 21:20:44
-0000 1.8
@@ -139,4 +139,69 @@
$result_converted{'plaintext'}->{'indent_in_quotation'} = ' indent in
quotation
';
+
+$result_converted{'html'}->{'indent_in_quotation'} = '<!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<!-- Created by texi2html, http://www.gnu.org/software/texinfo/ -->
+<head>
+<title>Untitled Document</title>
+
+<meta name="description" content="Untitled Document">
+<meta name="keywords" content="Untitled Document">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="Generator" content="texi2html">
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<style type="text/css">
+<!--
+a.summary-letter {text-decoration: none}
+blockquote.smallquotation {font-size: smaller}
+div.display {margin-left: 3.2em}
+div.example {margin-left: 3.2em}
+div.lisp {margin-left: 3.2em}
+div.smalldisplay {margin-left: 3.2em}
+div.smallexample {margin-left: 3.2em}
+div.smalllisp {margin-left: 3.2em}
+pre.display {font-family: serif}
+pre.format {font-family: serif}
+pre.menu-comment {font-family: serif}
+pre.menu-preformatted {font-family: serif}
+pre.smalldisplay {font-family: serif; font-size: smaller}
+pre.smallexample {font-size: smaller}
+pre.smallformat {font-family: serif; font-size: smaller}
+pre.smalllisp {font-size: smaller}
+span.nocodebreak {white-space:pre}
+span.nolinebreak {white-space:pre}
+span.roman {font-family:serif; font-weight:normal}
+span.sansserif {font-family:sans-serif; font-weight:normal}
+ul.no-bullet {list-style: none}
+-->
+</style>
+
+
+</head>
+
+<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF"
vlink="#800080" alink="#FF0000">
+
+<blockquote>
+<p>indent in quotation
+</p></blockquote>
+<p>
+
+
+</p>
+</body>
+</html>
+';
+
+$result_converted_errors{'html'}->{'indent_in_quotation'} = [
+ {
+ 'error_line' => 'warning: Must specify a title with a title command or @top
+',
+ 'text' => 'Must specify a title with a title command or @top',
+ 'type' => 'warning'
+ }
+];
+
+
1;
Index: t/results/misc_commands/no_empty_line_between_headings.pl
===================================================================
RCS file:
/sources/texinfo/texinfo/tp/t/results/misc_commands/no_empty_line_between_headings.pl,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- t/results/misc_commands/no_empty_line_between_headings.pl 9 Jul 2011
06:35:41 -0000 1.7
+++ t/results/misc_commands/no_empty_line_between_headings.pl 14 Jul 2011
21:20:44 -0000 1.8
@@ -285,4 +285,65 @@
';
+
+$result_converted{'html'}->{'no_empty_line_between_headings'} = '<!DOCTYPE
html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<!-- Created by texi2html, http://www.gnu.org/software/texinfo/ -->
+<head>
+<title>Top</title>
+
+<meta name="description" content="Top">
+<meta name="keywords" content="Top">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="Generator" content="texi2html">
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<style type="text/css">
+<!--
+a.summary-letter {text-decoration: none}
+blockquote.smallquotation {font-size: smaller}
+div.display {margin-left: 3.2em}
+div.example {margin-left: 3.2em}
+div.lisp {margin-left: 3.2em}
+div.smalldisplay {margin-left: 3.2em}
+div.smallexample {margin-left: 3.2em}
+div.smalllisp {margin-left: 3.2em}
+pre.display {font-family: serif}
+pre.format {font-family: serif}
+pre.menu-comment {font-family: serif}
+pre.menu-preformatted {font-family: serif}
+pre.smalldisplay {font-family: serif; font-size: smaller}
+pre.smallexample {font-size: smaller}
+pre.smallformat {font-family: serif; font-size: smaller}
+pre.smalllisp {font-size: smaller}
+span.nocodebreak {white-space:pre}
+span.nolinebreak {white-space:pre}
+span.roman {font-family:serif; font-weight:normal}
+span.sansserif {font-family:sans-serif; font-weight:normal}
+ul.no-bullet {list-style: none}
+-->
+</style>
+
+
+</head>
+
+<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF"
vlink="#800080" alink="#FF0000">
+
+<a name="Top"></a>
+<h1 class="top">Top</h1>
+<a name="Subheading"></a>
+<h3 class="subheading">Subheading</h3>
+<a name="Chapter"></a>
+<h1 class="chapter">1 Chapter</h1>
+<a name="Section"></a>
+<h2 class="section">1.1 Section</h2>
+<hr>
+<p>
+
+
+</p>
+</body>
+</html>
+';
+
1;
Index: t/results/misc_commands/noindent_after_smallexample.pl
===================================================================
RCS file:
/sources/texinfo/texinfo/tp/t/results/misc_commands/noindent_after_smallexample.pl,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- t/results/misc_commands/noindent_after_smallexample.pl 3 Jul 2011
14:51:00 -0000 1.7
+++ t/results/misc_commands/noindent_after_smallexample.pl 14 Jul 2011
21:20:44 -0000 1.8
@@ -180,4 +180,72 @@
Less recent versions are also present.
';
+
+$result_converted{'html'}->{'noindent_after_smallexample'} = '<!DOCTYPE html
PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<!-- Created by texi2html, http://www.gnu.org/software/texinfo/ -->
+<head>
+<title>Untitled Document</title>
+
+<meta name="description" content="Untitled Document">
+<meta name="keywords" content="Untitled Document">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="Generator" content="texi2html">
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<style type="text/css">
+<!--
+a.summary-letter {text-decoration: none}
+blockquote.smallquotation {font-size: smaller}
+div.display {margin-left: 3.2em}
+div.example {margin-left: 3.2em}
+div.lisp {margin-left: 3.2em}
+div.smalldisplay {margin-left: 3.2em}
+div.smallexample {margin-left: 3.2em}
+div.smalllisp {margin-left: 3.2em}
+pre.display {font-family: serif}
+pre.format {font-family: serif}
+pre.menu-comment {font-family: serif}
+pre.menu-preformatted {font-family: serif}
+pre.smalldisplay {font-family: serif; font-size: smaller}
+pre.smallexample {font-size: smaller}
+pre.smallformat {font-family: serif; font-size: smaller}
+pre.smalllisp {font-size: smaller}
+span.nocodebreak {white-space:pre}
+span.nolinebreak {white-space:pre}
+span.roman {font-family:serif; font-weight:normal}
+span.sansserif {font-family:sans-serif; font-weight:normal}
+ul.no-bullet {list-style: none}
+-->
+</style>
+
+
+</head>
+
+<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF"
vlink="#800080" alink="#FF0000">
+
+<p>To obtain.
+</p><div class="smallexample">
+<pre class="smallexample">$ wget
\'http://savannah.gnu.org/cgi-bin/viewcvs/config/config/config.guess?rev=HEAD&content-type=text/plain\'
+$ wget
\'http://savannah.gnu.org/cgi-bin/viewcvs/config/config/config.sub?rev=HEAD&content-type=text/plain\'
+</pre></div>
+<p>Less recent versions are also present.
+</p><p>
+
+
+</p>
+</body>
+</html>
+';
+
+$result_converted_errors{'html'}->{'noindent_after_smallexample'} = [
+ {
+ 'error_line' => 'warning: Must specify a title with a title command or @top
+',
+ 'text' => 'Must specify a title with a title command or @top',
+ 'type' => 'warning'
+ }
+];
+
+
1;
Index: t/results/misc_commands/noindent_indent.pl
===================================================================
RCS file:
/sources/texinfo/texinfo/tp/t/results/misc_commands/noindent_indent.pl,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- t/results/misc_commands/noindent_indent.pl 3 Jul 2011 14:51:00 -0000
1.6
+++ t/results/misc_commands/noindent_indent.pl 14 Jul 2011 21:20:44 -0000
1.7
@@ -230,4 +230,74 @@
unneeded indent
';
+
+$result_converted{'html'}->{'noindent_indent'} = '<!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<!-- Created by texi2html, http://www.gnu.org/software/texinfo/ -->
+<head>
+<title>Untitled Document</title>
+
+<meta name="description" content="Untitled Document">
+<meta name="keywords" content="Untitled Document">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="Generator" content="texi2html">
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<style type="text/css">
+<!--
+a.summary-letter {text-decoration: none}
+blockquote.smallquotation {font-size: smaller}
+div.display {margin-left: 3.2em}
+div.example {margin-left: 3.2em}
+div.lisp {margin-left: 3.2em}
+div.smalldisplay {margin-left: 3.2em}
+div.smallexample {margin-left: 3.2em}
+div.smalllisp {margin-left: 3.2em}
+pre.display {font-family: serif}
+pre.format {font-family: serif}
+pre.menu-comment {font-family: serif}
+pre.menu-preformatted {font-family: serif}
+pre.smalldisplay {font-family: serif; font-size: smaller}
+pre.smallexample {font-size: smaller}
+pre.smallformat {font-family: serif; font-size: smaller}
+pre.smalllisp {font-size: smaller}
+span.nocodebreak {white-space:pre}
+span.nolinebreak {white-space:pre}
+span.roman {font-family:serif; font-weight:normal}
+span.sansserif {font-family:sans-serif; font-weight:normal}
+ul.no-bullet {list-style: none}
+-->
+</style>
+
+
+</head>
+
+<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF"
vlink="#800080" alink="#FF0000">
+
+<p>First para
+</p>
+<p>qsddsqkdsqkkmljsqjsqodmmdsqdsmqj dqs sdq sqd sdq dsq sdq sqd sqd sdq sdq
+qsd dsq sdq dsq dssdq sdq sdq sdq dsq sdq dsq dsq sdq dsq sdqsd q
+</p>
+<p>noindent in para.
+</p>
+<p>unneeded indent
+</p><p>
+
+
+</p>
+</body>
+</html>
+';
+
+$result_converted_errors{'html'}->{'noindent_indent'} = [
+ {
+ 'error_line' => 'warning: Must specify a title with a title command or @top
+',
+ 'text' => 'Must specify a title with a title command or @top',
+ 'type' => 'warning'
+ }
+];
+
+
1;
Index: t/results/misc_commands/ref_in_center.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/misc_commands/ref_in_center.pl,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- t/results/misc_commands/ref_in_center.pl 3 Jul 2011 14:51:00 -0000
1.5
+++ t/results/misc_commands/ref_in_center.pl 14 Jul 2011 21:20:44 -0000
1.6
@@ -343,4 +343,76 @@
very long
';
+
+$result_converted{'html'}->{'ref_in_center'} = '<!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<!-- Created by texi2html, http://www.gnu.org/software/texinfo/ -->
+<head>
+<title>Untitled Document</title>
+
+<meta name="description" content="Untitled Document">
+<meta name="keywords" content="Untitled Document">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="Generator" content="texi2html">
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<link href="#Top" rel="start" title="Top">
+<style type="text/css">
+<!--
+a.summary-letter {text-decoration: none}
+blockquote.smallquotation {font-size: smaller}
+div.display {margin-left: 3.2em}
+div.example {margin-left: 3.2em}
+div.lisp {margin-left: 3.2em}
+div.smalldisplay {margin-left: 3.2em}
+div.smallexample {margin-left: 3.2em}
+div.smalllisp {margin-left: 3.2em}
+pre.display {font-family: serif}
+pre.format {font-family: serif}
+pre.menu-comment {font-family: serif}
+pre.menu-preformatted {font-family: serif}
+pre.smalldisplay {font-family: serif; font-size: smaller}
+pre.smallexample {font-size: smaller}
+pre.smallformat {font-family: serif; font-size: smaller}
+pre.smalllisp {font-size: smaller}
+span.nocodebreak {white-space:pre}
+span.nolinebreak {white-space:pre}
+span.roman {font-family:serif; font-weight:normal}
+span.sansserif {font-family:sans-serif; font-weight:normal}
+ul.no-bullet {list-style: none}
+-->
+</style>
+
+
+</head>
+
+<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF"
vlink="#800080" alink="#FF0000">
+
+<a name="Top"></a>
+<h1 class="node-heading">Top</h1>
+
+<p align="center"><a href="#Top">Top</a>
+</p>
+<p align="center">‘title
+’
+</p><p>very long
+</p><hr>
+<p>
+
+
+</p>
+</body>
+</html>
+';
+
+$result_converted_errors{'html'}->{'ref_in_center'} = [
+ {
+ 'error_line' => 'warning: Must specify a title with a title command or @top
+',
+ 'text' => 'Must specify a title with a title command or @top',
+ 'type' => 'warning'
+ }
+];
+
+
1;
Index: t/results/misc_commands/test_allowcodebreaks.pl
===================================================================
RCS file:
/sources/texinfo/texinfo/tp/t/results/misc_commands/test_allowcodebreaks.pl,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- t/results/misc_commands/test_allowcodebreaks.pl 3 Jul 2011 14:51:00
-0000 1.9
+++ t/results/misc_commands/test_allowcodebreaks.pl 14 Jul 2011 21:20:44
-0000 1.10
@@ -2704,4 +2704,115 @@
`in-example\'
';
+
+$result_converted{'html'}->{'test_allowcodebreaks'} = '<!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<!-- Created by texi2html, http://www.gnu.org/software/texinfo/ -->
+<head>
+<title>Untitled Document</title>
+
+<meta name="description" content="Untitled Document">
+<meta name="keywords" content="Untitled Document">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="Generator" content="texi2html">
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<link href="#Top" rel="start" title="Top">
+<style type="text/css">
+<!--
+a.summary-letter {text-decoration: none}
+blockquote.smallquotation {font-size: smaller}
+div.display {margin-left: 3.2em}
+div.example {margin-left: 3.2em}
+div.lisp {margin-left: 3.2em}
+div.smalldisplay {margin-left: 3.2em}
+div.smallexample {margin-left: 3.2em}
+div.smalllisp {margin-left: 3.2em}
+pre.display {font-family: serif}
+pre.format {font-family: serif}
+pre.menu-comment {font-family: serif}
+pre.menu-preformatted {font-family: serif}
+pre.smalldisplay {font-family: serif; font-size: smaller}
+pre.smallexample {font-size: smaller}
+pre.smallformat {font-family: serif; font-size: smaller}
+pre.smalllisp {font-size: smaller}
+span.nocodebreak {white-space:pre}
+span.nolinebreak {white-space:pre}
+span.roman {font-family:serif; font-weight:normal}
+span.sansserif {font-family:sans-serif; font-weight:normal}
+ul.no-bullet {list-style: none}
+-->
+</style>
+
+
+</head>
+
+<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF"
vlink="#800080" alink="#FF0000">
+
+<a name="Top"></a>
+<h1 class="node-heading">Top</h1>
+
+
+
+<p>Before first allowcodebreaks
+Out of code — out-of-code.
+<code>1aaa</code> <code>2aaa-</code> <code>-3bbb</code> <code>4aaa-bbb</code>
+<code> 5aaa-bb</code> <code>6aaa-bb </code> <code>ccc 7aaa-bbb</code>
<code>ccc 8aaa-bbb ddd</code>
+<code>9aaa-bbb rrr_vv</code>
+‘<samp>fff-- --- minus-b aa-ttéff_gg aa<span
class="roman">r-oman</span>
+anc-hor<a name="A-node0"></a></samp>’
+</p>
+<div class="example">
+<pre class="example"><code>in-example</code>
+</pre></div>
+
+<p>After false
+Out of code — out-of-code.
+<code>1aaa</code> <code><span class="nocodebreak">2aaa-</span></code>
<code><span class="nocodebreak">-3bbb</span></code> <code><span
class="nocodebreak">4aaa-bbb</span></code>
+<code> <span class="nocodebreak">5aaa-bb</span></code> <code><span
class="nocodebreak">6aaa-bb</span> </code> <code>ccc <span
class="nocodebreak">7aaa-bbb</span></code> <code>ccc <span
class="nocodebreak">8aaa-bbb</span> ddd</code>
+<code><span class="nocodebreak">9aaa-bbb</span> <span
class="nocodebreak">rrr_vv</span></code>
+‘<samp><span class="nocodebreak">fff--</span> <span
class="nocodebreak">---</span> minus-b <span
class="nocodebreak">aa-tt</span>é<span class="nocodebreak">ff_gg</span>
aa<span class="roman"><span class="nocodebreak">r-oman</span></span>
+<span class="nocodebreak">anc-hor</span><a name="A-node1"></a></samp>’
+</p>
+<div class="example">
+<pre class="example"><code>in-example</code>
+</pre></div>
+
+<p>In w:
+Out of code — <span
class="nolinebreak">out-of-code.</span> <code>1aaa</code> <code><span
class="nocodebreak">2aaa-</span></code> <code><span
class="nocodebreak">-3bbb</span></code> <code><span
class="nocodebreak">4aaa-bbb</span></code> <code> <span
class="nocodebreak">5aaa-bb</span></code> <code><span
class="nocodebreak">6aaa-bb</span> </code> <code>ccc <span
class="nocodebreak">7aaa-bbb</span></code> <code>ccc <span
class="nocodebreak">8aaa-bbb</span> ddd</code> <code><span
class="nocodebreak">9aaa-bbb</span> <span
class="nocodebreak">rrr_vv</span></code> ‘<samp><span
class="nocodebreak">fff--</span> <span
class="nocodebreak">---</span> minus-b <span
class="nocodebreak">aa-tt</span>é<span
class="nocodebreak">ff_gg</span> aa<span class="roman"><span
class="nocodebreak">r-oman</span></span> <span
class="nocodebreak">anc-hor</span><a name="A-nodew"></a></samp>’
+</p>
+<div class="example">
+<pre class="example"><code>in-example</code>
+</pre></div>
+
+<p>After true
+Out of code — out-of-code.
+<code>1aaa</code> <code>2aaa-</code> <code>-3bbb</code> <code>4aaa-bbb</code>
+<code> 5aaa-bb</code> <code>6aaa-bb </code> <code>ccc 7aaa-bbb</code>
<code>ccc 8aaa-bbb ddd</code>
+<code>9aaa-bbb rrr_vv</code>
+‘<samp>fff-- --- minus-b aa-ttéff_gg aa<span
class="roman">r-oman</span>
+anc-hor<a name="A-node2"></a></samp>’
+</p>
+<div class="example">
+<pre class="example"><code>in-example</code>
+</pre></div>
+<hr>
+<p>
+
+
+</p>
+</body>
+</html>
+';
+
+$result_converted_errors{'html'}->{'test_allowcodebreaks'} = [
+ {
+ 'error_line' => 'warning: Must specify a title with a title command or @top
+',
+ 'text' => 'Must specify a title with a title command or @top',
+ 'type' => 'warning'
+ }
+];
+
+
1;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- texinfo/tp Texinfo/Convert/HTML.pm t/08misc_com...,
Patrice Dumas <=