[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: More LaTeX tests
From: |
Patrice Dumas |
Subject: |
branch master updated: More LaTeX tests |
Date: |
Sat, 27 Aug 2022 12:51:20 -0400 |
This is an automated email from the git hooks/post-receive script.
pertusus pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new 68cd641839 More LaTeX tests
68cd641839 is described below
commit 68cd641839e2313c17249b07effc337ecf1ff997
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sat Aug 27 18:51:03 2022 +0200
More LaTeX tests
---
tp/t/08misc_commands.t | 5 +-
.../codequoteundirected_codequotebacktick.pl | 127 +++++++++++++++++++++
.../misc_commands/command_in_heading_footing.pl | 12 ++
.../misc_commands/comment_space_command_on_line.pl | 22 ++++
tp/t/results/misc_commands/comments_in_text.pl | 7 ++
tp/t/results/misc_commands/definfoenclose.pl | 28 ++---
.../misc_commands/definfoenclose_with_empty_arg.pl | 7 ++
tp/t/results/misc_commands/empty_center.pl | 3 +
.../results/misc_commands/empty_center_with_arg.pl | 6 +
tp/t/results/misc_commands/footnote_in_center.pl | 17 +++
.../misc_commands/heading_command_in_commands.pl | 28 +++++
.../incorrect_allowcodebreaks_argument.pl | 4 +
tp/t/results/misc_commands/indent_in_quotation.pl | 6 +
.../no_empty_line_between_headings.pl | 7 ++
.../misc_commands/noindent_after_smallexample.pl | 10 ++
tp/t/results/misc_commands/noindent_empty_para.pl | 5 +
.../results/misc_commands/noindent_in_paragraph.pl | 8 ++
tp/t/results/misc_commands/noindent_indent.pl | 24 ++--
tp/t/results/misc_commands/ref_in_center.pl | 17 +++
tp/t/results/misc_commands/setfilename.pl | 5 +
tp/t/results/misc_commands/test_allowcodebreaks.pl | 5 +
tp/t/results/misc_commands/vskip.pl | 4 +
22 files changed, 328 insertions(+), 29 deletions(-)
diff --git a/tp/t/08misc_commands.t b/tp/t/08misc_commands.t
index 2411f398ff..e0e6d64aba 100644
--- a/tp/t/08misc_commands.t
+++ b/tp/t/08misc_commands.t
@@ -448,6 +448,7 @@ In text @thispage @thischapternum text.
In code @code{@thissection}.
'],
+# got LaTeX formatting errors when in @example
['heading_command_in_commands',
'
@code{
@@ -577,6 +578,7 @@ my %latex_tests = (
foreach my $test (@converted_test_cases) {
push @{$test->[2]->{'test_formats'}}, 'plaintext';
push @{$test->[2]->{'test_formats'}}, 'html_text';
+ push @{$test->[2]->{'test_formats'}}, 'latex';
if ($docbook_tests{$test->[0]}) {
push @{$test->[2]->{'test_formats'}}, 'docbook';
} elsif ($docbooc_doc_tests{$test->[0]}) {
@@ -589,9 +591,6 @@ foreach my $test (@converted_test_cases) {
if ($xml_tests{$test->[0]}) {
push @{$test->[2]->{'test_formats'}}, 'xml';
}
- if ($latex_tests{$test->[0]}) {
- push @{$test->[2]->{'test_formats'}}, 'latex';
- }
}
run_all('misc_commands', [@test_cases, @converted_test_cases]);
diff --git
a/tp/t/results/misc_commands/codequoteundirected_codequotebacktick.pl
b/tp/t/results/misc_commands/codequoteundirected_codequotebacktick.pl
index 0f313f9336..486d1c0986 100644
--- a/tp/t/results/misc_commands/codequoteundirected_codequotebacktick.pl
+++ b/tp/t/results/misc_commands/codequoteundirected_codequotebacktick.pl
@@ -5542,6 +5542,133 @@ samp: ‘<samp
class="samp">``simple-double--three---four----\'\' `simple\'
';
+$result_converted{'latex'}->{'codequoteundirected_codequotebacktick'} = '
+
+
+
+\\begin{document}
+
+\\GNUTexinfofrontmatter
+\\begin{titlepage}
+\\begingroup
+\\newskip\\titlepagetopglue \\titlepagetopglue = 1.5in
+\\newskip\\titlepagebottomglue \\titlepagebottomglue = 2pc
+\\setlength{\\parindent}{0pt}
+% Leave some space at the very top of the page.
+ \\vglue\\titlepagetopglue
+Titlepage
+``simple-double--three---four----\'\' `simple\' quotedblleft:
\\textquotedblleft{} \\leavevmode{}\\\\
+code: \\texttt{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{\'}{\'}
`simple\' quotedblleft:\\ \\textquotedblleft{}} \\leavevmode{}\\\\
+asis: ``simple-double--three---four----\'\' `simple\' quotedblleft:
\\textquotedblleft{} \\leavevmode{}\\\\
+strong: \\textbf{``simple-double--three---four----\'\' `simple\' quotedblleft:
\\textquotedblleft{}} \\leavevmode{}\\\\
+kbd:
\\GNUTexinfocommandstyletextkbd{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{\'}{\'}
`simple\' quotedblleft:\\ \\textquotedblleft{}} \\leavevmode{}\\\\
+samp: `\\texttt{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{\'}{\'}
`simple\' quotedblleft:\\ \\textquotedblleft{}}\' \\leavevmode{}\\\\
+
+\\begin{GNUTexinfopreformatted}
+\\leftskip=2em\\relax\\ttfamily%
+@codequoteundirected on
+@codequotebacktick on
+\\end{GNUTexinfopreformatted}
+``simple-double--three---four----\'\' `simple\' quotedblleft:
\\textquotedblleft{} \\leavevmode{}\\\\
+code: \\texttt{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{\'}{\'}
`simple\' quotedblleft:\\ \\textquotedblleft{}} \\leavevmode{}\\\\
+asis: ``simple-double--three---four----\'\' `simple\' quotedblleft:
\\textquotedblleft{} \\leavevmode{}\\\\
+strong: \\textbf{``simple-double--three---four----\'\' `simple\' quotedblleft:
\\textquotedblleft{}} \\leavevmode{}\\\\
+kbd:
\\GNUTexinfocommandstyletextkbd{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{\'}{\'}
`simple\' quotedblleft:\\ \\textquotedblleft{}} \\leavevmode{}\\\\
+samp: `\\texttt{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{\'}{\'}
`simple\' quotedblleft:\\ \\textquotedblleft{}}\' \\leavevmode{}\\\\
+
+\\begin{GNUTexinfopreformatted}
+\\leftskip=2em\\relax\\ttfamily%
+@codequoteundirected off
+@codequotebacktick off
+\\end{GNUTexinfopreformatted}
+``simple-double--three---four----\'\' `simple\' quotedblleft:
\\textquotedblleft{} \\leavevmode{}\\\\
+code: \\texttt{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{\'}{\'}
`simple\' quotedblleft:\\ \\textquotedblleft{}} \\leavevmode{}\\\\
+asis: ``simple-double--three---four----\'\' `simple\' quotedblleft:
\\textquotedblleft{} \\leavevmode{}\\\\
+strong: \\textbf{``simple-double--three---four----\'\' `simple\' quotedblleft:
\\textquotedblleft{}} \\leavevmode{}\\\\
+kbd:
\\GNUTexinfocommandstyletextkbd{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{\'}{\'}
`simple\' quotedblleft:\\ \\textquotedblleft{}} \\leavevmode{}\\\\
+samp: `\\texttt{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{\'}{\'}
`simple\' quotedblleft:\\ \\textquotedblleft{}}\' \\leavevmode{}\\\\
+\\endgroup
+\\end{titlepage}
+\\GNUTexinfosetsingleheader{}%
+\\GNUTexinfomainmatter
+\\label{anchor:Top}%
+\\chapter{{Chapter}}
+\\label{anchor:chap}%
+
+``simple-double--three---four----\'\' `simple\' quotedblleft:
\\textquotedblleft{} \\leavevmode{}\\\\
+code: \\texttt{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{\'}{\'}
`simple\' quotedblleft:\\ \\textquotedblleft{}} \\leavevmode{}\\\\
+asis: ``simple-double--three---four----\'\' `simple\' quotedblleft:
\\textquotedblleft{} \\leavevmode{}\\\\
+strong: \\textbf{``simple-double--three---four----\'\' `simple\' quotedblleft:
\\textquotedblleft{}} \\leavevmode{}\\\\
+kbd:
\\GNUTexinfocommandstyletextkbd{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{\'}{\'}
`simple\' quotedblleft:\\ \\textquotedblleft{}} \\leavevmode{}\\\\
+samp: `\\texttt{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{\'}{\'}
`simple\' quotedblleft:\\ \\textquotedblleft{}}\' \\leavevmode{}\\\\
+
+\\begin{GNUTexinfopreformatted}
+\\leftskip=2em\\relax\\ttfamily%
+@codequoteundirected on
+@codequotebacktick on
+\\end{GNUTexinfopreformatted}
+``simple-double--three---four----\'\' `simple\' quotedblleft:
\\textquotedblleft{} \\leavevmode{}\\\\
+code: \\texttt{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{\'}{\'}
`simple\' quotedblleft:\\ \\textquotedblleft{}} \\leavevmode{}\\\\
+asis: ``simple-double--three---four----\'\' `simple\' quotedblleft:
\\textquotedblleft{} \\leavevmode{}\\\\
+strong: \\textbf{``simple-double--three---four----\'\' `simple\' quotedblleft:
\\textquotedblleft{}} \\leavevmode{}\\\\
+kbd:
\\GNUTexinfocommandstyletextkbd{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{\'}{\'}
`simple\' quotedblleft:\\ \\textquotedblleft{}} \\leavevmode{}\\\\
+samp: `\\texttt{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{\'}{\'}
`simple\' quotedblleft:\\ \\textquotedblleft{}}\' \\leavevmode{}\\\\
+
+\\begin{GNUTexinfopreformatted}
+\\leftskip=2em\\relax\\ttfamily%
+@codequoteundirected off
+@codequotebacktick off
+\\end{GNUTexinfopreformatted}
+``simple-double--three---four----\'\' `simple\' quotedblleft:
\\textquotedblleft{} \\leavevmode{}\\\\
+code: \\texttt{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{\'}{\'}
`simple\' quotedblleft:\\ \\textquotedblleft{}} \\leavevmode{}\\\\
+asis: ``simple-double--three---four----\'\' `simple\' quotedblleft:
\\textquotedblleft{} \\leavevmode{}\\\\
+strong: \\textbf{``simple-double--three---four----\'\' `simple\' quotedblleft:
\\textquotedblleft{}} \\leavevmode{}\\\\
+kbd:
\\GNUTexinfocommandstyletextkbd{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{\'}{\'}
`simple\' quotedblleft:\\ \\textquotedblleft{}} \\leavevmode{}\\\\
+samp: `\\texttt{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{\'}{\'}
`simple\' quotedblleft:\\ \\textquotedblleft{}}\' \\leavevmode{}\\\\
+
+\\begin{GNUTexinfopreformatted}
+\\leftskip=2em\\relax\\ttfamily%
+{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{\'}{\'} `simple\'
quotedblleft:\\ \\textquotedblleft{}\\ \\leavevmode{}\\\\
+code:\\ \\texttt{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{\'}{\'}
`simple\' quotedblleft:\\ \\textquotedblleft{}}\\ \\leavevmode{}\\\\
+asis:\\ {`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{\'}{\'}
`simple\' quotedblleft:\\ \\textquotedblleft{}\\ \\leavevmode{}\\\\
+strong:\\
\\textbf{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{\'}{\'}
`simple\' quotedblleft:\\ \\textquotedblleft{}}\\ \\leavevmode{}\\\\
+kbd:\\
\\GNUTexinfocommandstyletextkbd{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{\'}{\'}
`simple\' quotedblleft:\\ \\textquotedblleft{}}\\ \\leavevmode{}\\\\
+samp:\\
`\\texttt{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{\'}{\'}
`simple\' quotedblleft:\\ \\textquotedblleft{}}\'\\ \\leavevmode{}\\\\
+
+\\end{GNUTexinfopreformatted}
+\\begin{GNUTexinfopreformatted}
+\\leftskip=2em\\relax\\ttfamily%
+@codequoteundirected on
+@codequotebacktick on
+\\end{GNUTexinfopreformatted}
+\\begin{GNUTexinfopreformatted}
+\\leftskip=2em\\relax\\ttfamily%
+{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{\'}{\'} `simple\'
quotedblleft:\\ \\textquotedblleft{}\\ \\leavevmode{}\\\\
+code:\\ \\texttt{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{\'}{\'}
`simple\' quotedblleft:\\ \\textquotedblleft{}}\\ \\leavevmode{}\\\\
+asis:\\ {`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{\'}{\'}
`simple\' quotedblleft:\\ \\textquotedblleft{}\\ \\leavevmode{}\\\\
+strong:\\
\\textbf{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{\'}{\'}
`simple\' quotedblleft:\\ \\textquotedblleft{}}\\ \\leavevmode{}\\\\
+kbd:\\
\\GNUTexinfocommandstyletextkbd{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{\'}{\'}
`simple\' quotedblleft:\\ \\textquotedblleft{}}\\ \\leavevmode{}\\\\
+samp:\\
`\\texttt{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{\'}{\'}
`simple\' quotedblleft:\\ \\textquotedblleft{}}\'\\ \\leavevmode{}\\\\
+
+\\end{GNUTexinfopreformatted}
+\\begin{GNUTexinfopreformatted}
+\\leftskip=2em\\relax\\ttfamily%
+@codequoteundirected off
+@codequotebacktick off
+\\end{GNUTexinfopreformatted}
+\\begin{GNUTexinfopreformatted}
+\\leftskip=2em\\relax\\ttfamily%
+{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{\'}{\'} `simple\'
quotedblleft:\\ \\textquotedblleft{}\\ \\leavevmode{}\\\\
+code:\\ \\texttt{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{\'}{\'}
`simple\' quotedblleft:\\ \\textquotedblleft{}}\\ \\leavevmode{}\\\\
+asis:\\ {`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{\'}{\'}
`simple\' quotedblleft:\\ \\textquotedblleft{}\\ \\leavevmode{}\\\\
+strong:\\
\\textbf{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{\'}{\'}
`simple\' quotedblleft:\\ \\textquotedblleft{}}\\ \\leavevmode{}\\\\
+kbd:\\
\\GNUTexinfocommandstyletextkbd{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{\'}{\'}
`simple\' quotedblleft:\\ \\textquotedblleft{}}\\ \\leavevmode{}\\\\
+samp:\\
`\\texttt{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{\'}{\'}
`simple\' quotedblleft:\\ \\textquotedblleft{}}\'\\ \\leavevmode{}\\\\
+\\end{GNUTexinfopreformatted}
+
+';
+
+
$result_converted{'docbook_doc'}->{'codequoteundirected_codequotebacktick'} =
'<?xml version="1.0"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY tex "TeX">
diff --git a/tp/t/results/misc_commands/command_in_heading_footing.pl
b/tp/t/results/misc_commands/command_in_heading_footing.pl
index e4394307f0..d02524cebd 100644
--- a/tp/t/results/misc_commands/command_in_heading_footing.pl
+++ b/tp/t/results/misc_commands/command_in_heading_footing.pl
@@ -216,6 +216,18 @@
$result_converted{'html_text'}->{'command_in_heading_footing'} = '
</p>';
+$result_converted{'latex'}->{'command_in_heading_footing'} =
'\\newpagestyle{custom}{%
+\\sethead[something \\thepage{} \\thechapter{}][][]%
+{something \\thepage{} \\thechapter{}}{}{}%
+}%
+\\pagestyle{custom}%
+
+In text \\thepage{} \\thechapter{} text.
+
+In code \\texttt{Section \\thesection{} \\sectiontitle{}}.
+';
+
+
$result_converted{'docbook'}->{'command_in_heading_footing'} = '
<para>In text text.
</para>
diff --git a/tp/t/results/misc_commands/comment_space_command_on_line.pl
b/tp/t/results/misc_commands/comment_space_command_on_line.pl
index 7e924e5324..f39d78c892 100644
--- a/tp/t/results/misc_commands/comment_space_command_on_line.pl
+++ b/tp/t/results/misc_commands/comment_space_command_on_line.pl
@@ -1059,6 +1059,28 @@
$result_converted{'html_text'}->{'comment_space_command_on_line'} = '
';
+$result_converted{'latex'}->{'comment_space_command_on_line'} = '
+\\label{anchor:Top}%
+\\chapter{{Chapter\\ {}}}
+\\label{anchor:chap}%
+
+\\frenchspacing
+
+\\index[cp]{index entry \\ {}}%
+
+\\GNUTexinfonopagebreakheading{\\section*}{{Heading \\ {}}}
+
+\\printindex[cp]
+
+\\begin{TexinfoFloatText}
+float
+\\label{anchor:label}%
+\\end{TexinfoFloatText}
+
+
+';
+
+
$result_converted{'docbook_doc'}->{'comment_space_command_on_line'} = '<?xml
version="1.0"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY tex "TeX">
diff --git a/tp/t/results/misc_commands/comments_in_text.pl
b/tp/t/results/misc_commands/comments_in_text.pl
index b01db16d3b..9efc3e006f 100644
--- a/tp/t/results/misc_commands/comments_in_text.pl
+++ b/tp/t/results/misc_commands/comments_in_text.pl
@@ -214,6 +214,13 @@ $result_converted{'html_text'}->{'comments_in_text'} = '
<p>Comment at the end of the line </p>';
+$result_converted{'latex'}->{'comments_in_text'} = '
+
+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.
+
+Comment at the end of the line ';
+
+
$result_converted{'docbook'}->{'comments_in_text'} = '
<!-- lone comment -->
diff --git a/tp/t/results/misc_commands/definfoenclose.pl
b/tp/t/results/misc_commands/definfoenclose.pl
index d691072343..4318d64883 100644
--- a/tp/t/results/misc_commands/definfoenclose.pl
+++ b/tp/t/results/misc_commands/definfoenclose.pl
@@ -462,20 +462,6 @@ $result_converted{'html_text'}->{'definfoenclose'} = '
</p>';
-$result_converted{'docbook'}->{'definfoenclose'} = '
-<para>definfoenclose phoo,//,\\ </para>
-<para>bar
-</para>
-<para>definfoenclose phi,:,: </para>
-<para>bar
-</para>
-<para><emphasis role="bold">very strong</emphasis>
-</para>
-
-<para> is it really strong?
-</para>';
-
-
$result_converted{'latex'}->{'definfoenclose'} = '
definfoenclose phoo,//,\\textbackslash{}
bar
@@ -489,4 +475,18 @@ bar
\\textbf{ is it really strong? }
';
+
+$result_converted{'docbook'}->{'definfoenclose'} = '
+<para>definfoenclose phoo,//,\\ </para>
+<para>bar
+</para>
+<para>definfoenclose phi,:,: </para>
+<para>bar
+</para>
+<para><emphasis role="bold">very strong</emphasis>
+</para>
+
+<para> is it really strong?
+</para>';
+
1;
diff --git a/tp/t/results/misc_commands/definfoenclose_with_empty_arg.pl
b/tp/t/results/misc_commands/definfoenclose_with_empty_arg.pl
index 6beb217e4c..c1e3bf13f7 100644
--- a/tp/t/results/misc_commands/definfoenclose_with_empty_arg.pl
+++ b/tp/t/results/misc_commands/definfoenclose_with_empty_arg.pl
@@ -161,6 +161,13 @@
$result_converted{'html_text'}->{'definfoenclose_with_empty_arg'} = '
';
+$result_converted{'latex'}->{'definfoenclose_with_empty_arg'} = '
+
+My something.
+
+';
+
+
$result_converted{'xml'}->{'definfoenclose_with_empty_arg'} = '
<definfoenclose command="headword" open="" close=":" line="headword, ,
:"></definfoenclose>
diff --git a/tp/t/results/misc_commands/empty_center.pl
b/tp/t/results/misc_commands/empty_center.pl
index 68b7aeab24..660ac43987 100644
--- a/tp/t/results/misc_commands/empty_center.pl
+++ b/tp/t/results/misc_commands/empty_center.pl
@@ -73,6 +73,9 @@ $result_converted{'plaintext'}->{'empty_center'} = '';
$result_converted{'html_text'}->{'empty_center'} = '';
+$result_converted{'latex'}->{'empty_center'} = '';
+
+
$result_converted{'docbook'}->{'empty_center'} = '<simpara
role="center"></simpara>
';
diff --git a/tp/t/results/misc_commands/empty_center_with_arg.pl
b/tp/t/results/misc_commands/empty_center_with_arg.pl
index 9dd5096454..6f79562a87 100644
--- a/tp/t/results/misc_commands/empty_center_with_arg.pl
+++ b/tp/t/results/misc_commands/empty_center_with_arg.pl
@@ -83,4 +83,10 @@ $result_converted{'plaintext'}->{'empty_center_with_arg'} =
'';
$result_converted{'html_text'}->{'empty_center_with_arg'} = '<div
class="center"><!-- /@w -->
</div>';
+
+$result_converted{'latex'}->{'empty_center_with_arg'} = '\\begin{center}
+\\hbox{}
+\\end{center}
+';
+
1;
diff --git a/tp/t/results/misc_commands/footnote_in_center.pl
b/tp/t/results/misc_commands/footnote_in_center.pl
index f2752f5a2e..0046bb4229 100644
--- a/tp/t/results/misc_commands/footnote_in_center.pl
+++ b/tp/t/results/misc_commands/footnote_in_center.pl
@@ -357,6 +357,23 @@ shows an important feature of the centered text.
';
+$result_converted{'latex'}->{'footnote_in_center'} = '\\begin{center}
+Centered text with a footnote\\footnote{This footnote
+shows an important feature of the centered text.
+
+\\begin{description}
+\\item[{\\parbox[b]{\\linewidth}{%
+item}}]
+\\begin{GNUTexinfopreformatted}
+\\leftskip=2em\\relax\\ttfamily%
+line
+\\end{GNUTexinfopreformatted}
+\\end{description}
+} and text after the footnote.
+\\end{center}
+';
+
+
$result_converted{'docbook'}->{'footnote_in_center'} = '<simpara
role="center">Centered text with a footnote<footnote><para>This footnote
shows an important feature of the centered text.
</para>
diff --git a/tp/t/results/misc_commands/heading_command_in_commands.pl
b/tp/t/results/misc_commands/heading_command_in_commands.pl
index 3b1ca9dbb3..1fb657b870 100644
--- a/tp/t/results/misc_commands/heading_command_in_commands.pl
+++ b/tp/t/results/misc_commands/heading_command_in_commands.pl
@@ -352,4 +352,32 @@
$result_converted{'html_text'}->{'heading_command_in_commands'} = '
</blockquote>
';
+
+$result_converted{'latex'}->{'heading_command_in_commands'} = '
+\\texttt{
+\\newpagestyle{custom}{%
+\\sethead[in code][][]%
+{in code}{}{}%
+}%
+\\pagestyle{custom}%
+}
+
+\\begin{GNUTexinfopreformatted}
+\\leftskip=2em\\relax\\ttfamily%
+\\renewpagestyle{custom}{%
+\\sethead[in example][][]%
+{in example}{}{}%
+}%
+\\pagestyle{custom}%
+\\end{GNUTexinfopreformatted}
+
+\\begin{quote}
+\\renewpagestyle{custom}{%
+\\sethead[in quotation][][]%
+{in quotation}{}{}%
+}%
+\\pagestyle{custom}%
+\\end{quote}
+';
+
1;
diff --git a/tp/t/results/misc_commands/incorrect_allowcodebreaks_argument.pl
b/tp/t/results/misc_commands/incorrect_allowcodebreaks_argument.pl
index 4f9f57ab12..5791097330 100644
--- a/tp/t/results/misc_commands/incorrect_allowcodebreaks_argument.pl
+++ b/tp/t/results/misc_commands/incorrect_allowcodebreaks_argument.pl
@@ -119,4 +119,8 @@
$result_converted{'plaintext'}->{'incorrect_allowcodebreaks_argument'} = '‘b a
$result_converted{'html_text'}->{'incorrect_allowcodebreaks_argument'} =
'<p><code class="code">b a</code>
</p>';
+
+$result_converted{'latex'}->{'incorrect_allowcodebreaks_argument'} =
'\\texttt{b a}
+';
+
1;
diff --git a/tp/t/results/misc_commands/indent_in_quotation.pl
b/tp/t/results/misc_commands/indent_in_quotation.pl
index 3d50b9bfeb..b8e7749b4f 100644
--- a/tp/t/results/misc_commands/indent_in_quotation.pl
+++ b/tp/t/results/misc_commands/indent_in_quotation.pl
@@ -141,4 +141,10 @@ $result_converted{'html_text'}->{'indent_in_quotation'} =
'<blockquote class="qu
</p></blockquote>
';
+
+$result_converted{'latex'}->{'indent_in_quotation'} = '\\begin{quote}
+indent in quotation
+\\end{quote}
+';
+
1;
diff --git a/tp/t/results/misc_commands/no_empty_line_between_headings.pl
b/tp/t/results/misc_commands/no_empty_line_between_headings.pl
index 3f4c856214..0b7fe0b0c5 100644
--- a/tp/t/results/misc_commands/no_empty_line_between_headings.pl
+++ b/tp/t/results/misc_commands/no_empty_line_between_headings.pl
@@ -248,6 +248,13 @@
$result_converted{'html_text'}->{'no_empty_line_between_headings'} = '<div class
';
+$result_converted{'latex'}->{'no_empty_line_between_headings'} =
'\\part*{{Top}}
+\\GNUTexinfonopagebreakheading{\\subsection*}{{Subheading}}
+\\chapter{{Chapter}}
+\\section{{Section}}
+';
+
+
$result_converted{'docbook'}->{'no_empty_line_between_headings'} = '<chapter
label="">
<title>Top</title>
<bridgehead renderas="sect2">Subheading</bridgehead>
diff --git a/tp/t/results/misc_commands/noindent_after_smallexample.pl
b/tp/t/results/misc_commands/noindent_after_smallexample.pl
index aa8744f962..55d468653a 100644
--- a/tp/t/results/misc_commands/noindent_after_smallexample.pl
+++ b/tp/t/results/misc_commands/noindent_after_smallexample.pl
@@ -185,4 +185,14 @@ $ wget
\'http://savannah.gnu.org/cgi-bin/viewcvs/config/config/config.sub?rev=HE
<p>Less recent versions are also present.
</p>';
+
+$result_converted{'latex'}->{'noindent_after_smallexample'} = 'To obtain.
+\\begin{GNUTexinfopreformatted}
+\\leftskip=2em\\relax\\ttfamily\\footnotesize%
+\\$ 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\'
+\\end{GNUTexinfopreformatted}
+\\noindent{}Less recent versions are also present.
+';
+
1;
diff --git a/tp/t/results/misc_commands/noindent_empty_para.pl
b/tp/t/results/misc_commands/noindent_empty_para.pl
index ade574db59..bfb9edfd3f 100644
--- a/tp/t/results/misc_commands/noindent_empty_para.pl
+++ b/tp/t/results/misc_commands/noindent_empty_para.pl
@@ -94,4 +94,9 @@ $result_converted{'html_text'}->{'noindent_empty_para'} = '
<p>aaa
</p>';
+
+$result_converted{'latex'}->{'noindent_empty_para'} = '\\noindent{}
+aaa
+';
+
1;
diff --git a/tp/t/results/misc_commands/noindent_in_paragraph.pl
b/tp/t/results/misc_commands/noindent_in_paragraph.pl
index f2ad9cb1df..4f89fd50e6 100644
--- a/tp/t/results/misc_commands/noindent_in_paragraph.pl
+++ b/tp/t/results/misc_commands/noindent_in_paragraph.pl
@@ -142,4 +142,12 @@ after noindent.
after noindent2.
</p>';
+
+$result_converted{'latex'}->{'noindent_in_paragraph'} = 'Begin para
+\\noindent{}after noindent.
+
+Begin para2
+\\noindent{}after noindent2.
+';
+
1;
diff --git a/tp/t/results/misc_commands/noindent_indent.pl
b/tp/t/results/misc_commands/noindent_indent.pl
index c4456f5e7e..7d0eca00ce 100644
--- a/tp/t/results/misc_commands/noindent_indent.pl
+++ b/tp/t/results/misc_commands/noindent_indent.pl
@@ -253,18 +253,6 @@ qsd dsq sdq dsq dssdq sdq sdq sdq dsq sdq dsq dsq sdq dsq
sdqsd q
</p>';
-$result_converted{'docbook'}->{'noindent_indent'} = '
-<para>First para
-</para>
-<para>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
-</para>
-<para>noindent in para.
-</para>
-<para>unneeded indent
-</para>';
-
-
$result_converted{'latex'}->{'noindent_indent'} = '
First para
@@ -276,4 +264,16 @@ qsd dsq sdq dsq dssdq sdq sdq sdq dsq sdq dsq dsq sdq dsq
sdqsd q
unneeded indent
';
+
+$result_converted{'docbook'}->{'noindent_indent'} = '
+<para>First para
+</para>
+<para>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
+</para>
+<para>noindent in para.
+</para>
+<para>unneeded indent
+</para>';
+
1;
diff --git a/tp/t/results/misc_commands/ref_in_center.pl
b/tp/t/results/misc_commands/ref_in_center.pl
index 352d2bfdca..8b18479241 100644
--- a/tp/t/results/misc_commands/ref_in_center.pl
+++ b/tp/t/results/misc_commands/ref_in_center.pl
@@ -531,6 +531,23 @@ $result_converted{'html_text'}->{'ref_in_center'} = '<div
class="top-level-exten
';
+$result_converted{'latex'}->{'ref_in_center'} = '\\begin{document}
+\\label{anchor:Top}%
+\\chapter{{Chapter}}
+\\label{anchor:chap}%
+
+\\begin{center}
+\\hyperref[anchor:Top]{\\chaptername~\\ref*{anchor:Top} [Top],
page~\\pageref*{anchor:Top}}
+\\end{center}
+
+\\begin{center}
+title
+
+\\end{center}
+very long
+';
+
+
$result_converted{'docbook'}->{'ref_in_center'} = '<chapter label="1"
id="chap">
<title>Chapter</title>
diff --git a/tp/t/results/misc_commands/setfilename.pl
b/tp/t/results/misc_commands/setfilename.pl
index ee6f0ec1b2..ef1c31614d 100644
--- a/tp/t/results/misc_commands/setfilename.pl
+++ b/tp/t/results/misc_commands/setfilename.pl
@@ -302,6 +302,11 @@ $result_converted{'html_text'}->{'setfilename'} = '
';
+$result_converted{'latex'}->{'setfilename'} = '
+\\begin{document}
+';
+
+
$result_converted{'docbook'}->{'setfilename'} = '
';
diff --git a/tp/t/results/misc_commands/test_allowcodebreaks.pl
b/tp/t/results/misc_commands/test_allowcodebreaks.pl
index 5f05ba2d33..0629b91bec 100644
--- a/tp/t/results/misc_commands/test_allowcodebreaks.pl
+++ b/tp/t/results/misc_commands/test_allowcodebreaks.pl
@@ -2788,4 +2788,9 @@ anc-hor<a class="anchor" id="A-node2"></a></samp>’
</pre></div>
';
+
+$result_converted{'latex'}->{'test_allowcodebreaks'} = '\\begin{document}
+\\label{anchor:Top}%
+';
+
1;
diff --git a/tp/t/results/misc_commands/vskip.pl
b/tp/t/results/misc_commands/vskip.pl
index ca4b91ea04..ea49c850a8 100644
--- a/tp/t/results/misc_commands/vskip.pl
+++ b/tp/t/results/misc_commands/vskip.pl
@@ -57,6 +57,10 @@ $result_converted{'plaintext'}->{'vskip'} = '';
$result_converted{'html_text'}->{'vskip'} = '';
+$result_converted{'latex'}->{'vskip'} = '\\vskip 0pt plus 1filll
+';
+
+
$result_converted{'xml'}->{'vskip'} = '<vskip> 0pt plus 1filll</vskip>
';
- branch master updated: More LaTeX tests,
Patrice Dumas <=