[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: LaTeX.pm: handle @*quotation, small preformatted
From: |
Patrice Dumas |
Subject: |
branch master updated: LaTeX.pm: handle @*quotation, small preformatted environment. Adapt code to be able to use both report and book documentclass. |
Date: |
Sun, 22 Aug 2021 05:04:49 -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 9ccc382 LaTeX.pm: handle @*quotation, small preformatted environment.
Adapt code to be able to use both report and book documentclass.
9ccc382 is described below
commit 9ccc382f00f48c8337a953602fc2ece75df42f48
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sun Aug 22 11:03:36 2021 +0200
LaTeX.pm: handle @*quotation, small preformatted
environment.
Adapt code to be able to use both report and book
documentclass.
---
tp/Texinfo/Convert/LaTeX.pm | 120 ++-
tp/t/181quotation.t | 27 +-
...anchor_links_xref_xrefautomaticsectiontitle.tex | 3 +
.../float_and_refs/res_latex/float_and_refs.tex | 3 +
.../fonttextsize/res_latex/fonttextsize.tex | 3 +
tp/t/results/latex_tests/kbdinputstyle_and_kbd.pl | 24 +-
.../no_titlepage_and_setchapternewpage_odd.tex | 3 +
.../no_titlepage_and_setchapternewpage_on.tex | 3 +
tp/t/results/latex_tests/pagesizes.pl | 609 +++++++++++++
.../latex_tests/pagesizes/res_latex/pagesizes.tex | 3 +
.../latex_tests/pagetype/res_latex/pagetype.tex | 3 +
.../setchapternewpage_on_odd_titlepage.pl | 2 +-
.../setchapternewpage_on_odd_titlepage.tex | 7 +-
.../res_latex/settitle_and_headings.tex | 3 +
tp/t/results/latex_tests/shorttitlepage.pl | 2 +-
.../shorttitlepage/res_latex/shorttitlepage.tex | 7 +-
.../three_setchapternewpage_on_odd_off.tex | 3 +
tp/t/results/latex_tests/titlepage_and_headings.pl | 2 +-
.../res_latex/titlepage_and_headings.tex | 7 +-
.../titlepage_and_setchapternewpage_odd.pl | 2 +-
.../titlepage_and_setchapternewpage_odd.tex | 7 +-
.../titlepage_and_setchapternewpage_on.pl | 2 +-
.../titlepage_and_setchapternewpage_on.tex | 7 +-
tp/t/results/latex_tests/titlepage_classical.pl | 2 +-
.../res_latex/titlepage_classical.tex | 7 +-
.../res_latex/titlepage_in_top_node.tex | 5 +-
tp/t/results/latex_tests/titlepage_long_title.pl | 2 +-
.../res_latex/titlepage_long_title.tex | 7 +-
tp/t/results/latex_tests/titlepage_no_author.pl | 2 +-
.../res_latex/titlepage_no_author.tex | 7 +-
tp/t/results/latex_tests/titlepage_no_title.pl | 2 +-
.../res_latex/titlepage_no_title.tex | 7 +-
.../titlepage_with_commands_classical.pl | 2 +-
.../titlepage_with_commands_classical.tex | 7 +-
.../res_latex/two_setchapternewpage_odd_on.tex | 3 +
.../res_latex/two_setchapternewpage_on_odd.tex | 3 +
tp/t/results/quotation/empty_quotation.pl | 96 +-
.../empty_quotation/res_latex/empty_quotation.tex} | 30 +-
tp/t/results/quotation/quotation_and_author.pl | 210 +++--
.../res_latex/quotation_and_author.tex} | 51 +-
.../quotation/quotation_author_in_example.pl | 106 ++-
.../res_latex/quotation_author_in_example.tex} | 33 +-
.../space_at_commands_end_quotation_line.pl | 106 ++-
.../space_at_commands_end_quotation_line.tex} | 30 +-
.../res_latex/chapter_between_nodes.tex | 3 +
.../lone_Top_node/res_latex/lone_Top_node.tex | 3 +
.../sectioning/loop_nodes/res_latex/loop_nodes.tex | 3 +
.../node_sectop_before_chapter_no_node.tex | 3 +
.../res_latex/node_sectop_before_lone_node_Top.tex | 3 +
.../res_latex/nodes_before_after_top.tex | 3 +
.../res_latex/nodes_before_after_top_xref.tex | 3 +
.../res_latex/nodes_before_top.tex | 3 +
.../res_latex/section_before_after_top_node.tex | 3 +
.../section_before_after_top_node_last_node.tex | 3 +
.../res_latex/section_chapter_before_top_nodes.tex | 3 +
.../res_parser/formatting_latex/formatting.tex | 983 +++++++++++++++------
56 files changed, 2019 insertions(+), 567 deletions(-)
diff --git a/tp/Texinfo/Convert/LaTeX.pm b/tp/Texinfo/Convert/LaTeX.pm
index 3f5a419..cd2c0f4 100644
--- a/tp/Texinfo/Convert/LaTeX.pm
+++ b/tp/Texinfo/Convert/LaTeX.pm
@@ -118,6 +118,9 @@
# @pagesizes uses \newgeometry which forgets about previous settings except
# for paper size. It could be a good thing to change geometry that way,
# but it is not how Texinfo TeX does it.
+#
+# The environment used for @quotation is quote as it seems to match,
+# but the description of quote does not really match.
package Texinfo::Convert::LaTeX;
@@ -443,7 +446,7 @@ my $indent_length = 5;
my %indented_commands;
foreach my $indented_command (keys(%item_indent_format_length),
- keys(%preformatted_commands), 'quotation', 'smallquotation',
+ keys(%preformatted_commands),
'indentedblock', 'smallindentedblock',
keys(%def_commands)) {
$indented_commands{$indented_command} = 1
@@ -466,17 +469,21 @@ foreach my $menu_command (keys(%menu_commands)) {
my @LaTeX_same_block_commands = (
'titlepage', 'verbatim');
+my $small_font_size = 'footnotesize';
+
# TODO flushleft and flushright
# the flushleft and flushright in Texinfo are not the same as in
# LaTeX, as, in addition to come from a possibly different margin,
# the test is not filled at all, each line is left as is. LaTeX
# flushleft and flushright are filled but not aligned.
my %LaTeX_block_commands = (
- 'raggedright' => 'flushleft',
+ 'raggedright' => ['flushleft'],
+ 'quotation' => ['quote'],
+ 'smallquotation' => ['quote', $small_font_size],
);
foreach my $environment_command (@LaTeX_same_block_commands) {
- $LaTeX_block_commands{$environment_command} = $environment_command;
+ $LaTeX_block_commands{$environment_command} = [$environment_command];
}
my %ignorable_space_types;
@@ -904,6 +911,26 @@ my %LaTeX_encoding_names_map = (
'utf-8' => 'utf8',
);
+# book or report?
+my $documentclass = 'book';
+
+my %front_main_matter_definitions = (
+ 'book' => '% redefine the \mainmatter command such that it does not clear
page
+% as if in double page
+\makeatletter
+\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
+\makeatother
+% add command aliases to use the same command in book and report
+\newcommand\GNUTexinfomainmatter{\mainmatter}
+\newcommand\GNUTexinfofrontmatter{\frontmatter}
+',
+ 'report' => '% add mainmatter and frontmatter commands
+\newcommand\GNUTexinfomainmatter{\clearpage\pagenumbering{arabic}}
+\newcommand\GNUTexinfofrontmatter{\clearpage\pagenumbering{roman}}
+'
+);
+
+
sub _latex_header {
my $self = shift;
# amsfonts for \circledR
@@ -916,9 +943,8 @@ sub _latex_header {
# etoolbox for \patchcmd. In texlive-latex-recommended in debian
# fontsize for \changefontsize. In texlive-latex-extra in debian
# \usepackage[linkbordercolor={0 0 0}]{hyperref}
- my $header =
-'\documentclass{book}
-\usepackage{makeidx}\makeindex
+ my $header = "\\documentclass{$documentclass}\n"
+.'\usepackage{makeidx}\makeindex
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage[gen]{eurosym}
@@ -968,13 +994,9 @@ sub _latex_header {
}
}
}
+ $header .= "\n";
+ $header .= $front_main_matter_definitions{$documentclass};
$header .= '
-% redefine the \mainmatter command such that it does not clear page
-% as if in double page
-\makeatletter
-\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
-\makeatother
-
% command that does nothing used to help with substitutions in commands
\newcommand{\GNUTexinfoplaceholder}[1]{}
@@ -1042,7 +1064,7 @@ sub _begin_document($)
';
if (exists($self->{'extra'}->{'titlepage'})
or exists($self->{'extra'}->{'shorttitlepage'})) {
- $result .= "\n\\frontmatter\n";
+ $result .= "\n\\GNUTexinfofrontmatter\n";
}
return $result;
}
@@ -1158,7 +1180,8 @@ sub _set_headings($$)
# to change the chapter we substitute in the \chapter command.
# REMARK it is fragile as it depends on the LaTeX codes. It is also
-# most probably specific of the documentclass.
+# most probably specific of the documentclass. It is present in both
+# report and book document classes in 2021
my $odd_chapter_new_page_code =
'\if@openright\cleardoublepage\else\clearpage\fi';
my $default_chapter_page_code = $odd_chapter_new_page_code;
# To make sure that we substitute the right code, we add a
@@ -1189,7 +1212,7 @@ sub _set_chapter_new_page($$)
my $result = '';
# do not substitute if it is the same, for instance
- # if setting the same as book default or setting twice
+ # if setting the same as document class default or setting twice
if ($new_code ne $substituted_code) {
$result .= '\makeatletter
\patchcmd{\chapter}{'.$substituted_code.'}{'.$new_code.'}{}{}
@@ -1210,6 +1233,12 @@ sub _set_chapter_new_page($$)
return $result;
}
+my %small_font_preformatted_commands;
+foreach my $small_font_preformatted_command (
+ grep {/^small/} keys(%preformatted_commands)) {
+ $small_font_preformatted_commands{$small_font_preformatted_command} = 1;
+}
+
sub _open_preformatted($)
{
my $command = shift;
@@ -1221,13 +1250,16 @@ sub _open_preformatted($)
if ($preformatted_code_commands{$command}) {
$result .= '\\ttfamily';
}
- $result .= '{}';
+ if ($small_font_preformatted_commands{$command}) {
+ $result .= "\\$small_font_size";
+ }
+ $result .= '{}'."%\n";
return $result;
}
sub _close_preformatted()
{
- return '\\endgroup{}'; # \obeylines
+ return "\\endgroup{}%\n"; # \obeylines
}
sub _open_preformatted_stack($)
@@ -2052,11 +2084,10 @@ sub _convert($$)
return $result;
# block commands
} elsif (exists($block_commands{$command})) {
- # remark:
- # cartouche group and raggedright -> nothing on format stack
-
if ($LaTeX_block_commands{$command}) {
- $result .= "\\begin{".$LaTeX_block_commands{$command}."}\n";
+ foreach my $environment (@{$LaTeX_block_commands{$command}}) {
+ $result .= "\\begin{".$environment."}\n";
+ }
} elsif ($preformatted_commands{$command}) {
$result .= _open_preformatted($command);
}
@@ -2103,7 +2134,6 @@ sub _convert($$)
}
}
} elsif ($command eq 'float') {
- #$result .= "\n";
my $normalized_float_type = '';
if ($root->{'extra'}->{'type'}) {
$normalized_float_type = $root->{'extra'}->{'type'}->{'normalized'};
@@ -2123,7 +2153,8 @@ sub _convert($$)
= _tree_anchor_label($root->{'extra'}->{'node_content'});
$result .= "\\label{$node_label}%\n";
}
- # ignore Top node as in Texinfo TeX
+ # ignore Top node like Texinfo TeX. When called through
+ # output(), the tree elements are already removed
if ($root->{'extra'}->{'normalized'} eq 'Top') {
return $result;
}
@@ -2141,7 +2172,13 @@ sub _convert($$)
my $associated_node;
if ($root->{'extra'}->{'associated_node'}) {
$associated_node = $root->{'extra'}->{'associated_node'};
- # ignore Top node as in Texinfo TeX
+ # ignore Top node like Texinfo TeX. When called through
+ # output(), the tree elements are already removed.
+ # If the sections are not already removed and are removed here,
+ # and in contrast with Texinfo TeX and sections removed in
+ # output(), the sections not associated with
+ # any node and after Top node and the following node are not
+ # removed.
if ($associated_node->{'extra'}->{'normalized'} eq 'Top') {
return $result;
}
@@ -2349,7 +2386,6 @@ sub _convert($$)
if ($command eq 'pagesizes') {
my $pagesize_spec = _convert($self, $root->{'args'}->[0]);
my @pagesize_args = split(/\s*,\s*/, $pagesize_spec);
- print STDERR "".join("|", @pagesize_args)."\n";
my @geometry;
my $height = shift @pagesize_args;
if (defined($height) and $height ne '') {
@@ -2628,6 +2664,18 @@ sub _convert($$)
# close commands
if ($command) {
+ if ($command eq 'titlepage') {
+ $result .= _end_title_page($self);
+ $result .= "\\endgroup\n";
+ $self->{'titlepage_formatting'}->{'in_titlepage'} = 0;
+ }
+ if ($LaTeX_block_commands{$command}) {
+ foreach my $environment (reverse @{$LaTeX_block_commands{$command}}) {
+ $result .= "\\end{".$environment."}\n";
+ }
+ } elsif ($preformatted_commands{$command}) {
+ $result .= _close_preformatted();
+ }
if ($command eq 'float') {
my $normalized_float_type = '';
if ($root->{'extra'}->{'type'}) {
@@ -2659,6 +2707,12 @@ sub _convert($$)
}
$self->{'style_context'}->[-1]->{'in_quotation'} -= 1;
}
+ # as explained in the Texinfo manual start headers after titlepage
+ if ($command eq 'titlepage' or $command eq 'shorttitlepage') {
+ $result .= _set_headings($self, 'on');
+ $self->{'titlepage_done'} = 1;
+ $result .= "\\GNUTexinfomainmatter\n";
+ }
# close the contexts and register the cells
if ($preformatted_commands{$command}) {
@@ -2679,22 +2733,6 @@ sub _convert($$)
my $old_math_style = pop
@{$self->{'style_context'}->[-1]->{'math_style'}};
die if ($old_math_style ne 'one-line');
}
- if ($command eq 'titlepage') {
- $result .= _end_title_page($self);
- $result .= "\\endgroup\n";
- $self->{'titlepage_formatting'}->{'in_titlepage'} = 0;
- }
- if ($LaTeX_block_commands{$command}) {
- $result .= "\\end{".$LaTeX_block_commands{$command}."}\n";
- } elsif ($preformatted_commands{$command}) {
- $result .= _close_preformatted();
- }
- # as explained in the Texinfo manual start headers after titlepage
- if ($command eq 'titlepage' or $command eq 'shorttitlepage') {
- $result .= _set_headings($self, 'on');
- $self->{'titlepage_done'} = 1;
- $result .= "\\mainmatter\n";
- }
}
return $result;
diff --git a/tp/t/181quotation.t b/tp/t/181quotation.t
index 1d5bf51..adf7f50 100644
--- a/tp/t/181quotation.t
+++ b/tp/t/181quotation.t
@@ -7,11 +7,17 @@ require 't/test_utils.pl';
my @test_cases = (
['quotation_and_author',
-'@quotation
+'@setfilename quotation_and_author.info
+
+Text before quotation
+
+@quotation
@author Some One
A quot---ation
@end quotation
+Text between quotation and smallquotation
+
@smallquotation
@author An Author Name
in small---quotation.
@@ -23,7 +29,9 @@ A Note
@end quotation
'],
['quotation_author_in_example',
-'@example
+'@setfilename quotation_author_in_example.info
+
+@example
@quotation
@author Some One
A quot---ation
@@ -31,7 +39,8 @@ A quot---ation
@end example
'],
['space_at_commands_end_quotation_line',
-'
+'@setfilename space_at_commands_end_quotation_line.info
+
@quotation @@ at the end of line @
A @@ at the end of the @@quotation line.
@end quotation
@@ -41,7 +50,9 @@ A @@@ at the end of the @@quotation line.
@end quotation
'],
['empty_quotation',
-'@quotation
+'@setfilename empty_quotation.info
+
+@quotation
@end quotation
@quotation Empty
@@ -93,15 +104,21 @@ In quotation
'],
);
-our ($arg_test_case, $arg_generate, $arg_debug);
+my @file_latex_tests_cases_tests = ('quotation_and_author',
+ 'quotation_author_in_example', 'space_at_commands_end_quotation_line',
+ 'empty_quotation');
foreach my $test (@test_cases) {
push @{$test->[2]->{'test_formats'}}, 'plaintext';
push @{$test->[2]->{'test_formats'}}, 'html_text';
push @{$test->[2]->{'test_formats'}}, 'xml';
push @{$test->[2]->{'test_formats'}}, 'docbook';
+ push @{$test->[2]->{'test_formats'}}, 'file_latex'
+ if (grep {$_ eq $test->[0]} @file_latex_tests_cases_tests);
}
+our ($arg_test_case, $arg_generate, $arg_debug);
+
run_all ('quotation', \@test_cases, $arg_test_case,
$arg_generate, $arg_debug);
diff --git
a/tp/t/results/latex_tests/anchor_links_xref_xrefautomaticsectiontitle/res_latex/anchor_links_xref_xrefautomaticsectiontitle.tex
b/tp/t/results/latex_tests/anchor_links_xref_xrefautomaticsectiontitle/res_latex/anchor_links_xref_xrefautomaticsectiontitle.tex
index e9b1bf4..e35c5e8 100644
---
a/tp/t/results/latex_tests/anchor_links_xref_xrefautomaticsectiontitle/res_latex/anchor_links_xref_xrefautomaticsectiontitle.tex
+++
b/tp/t/results/latex_tests/anchor_links_xref_xrefautomaticsectiontitle/res_latex/anchor_links_xref_xrefautomaticsectiontitle.tex
@@ -21,6 +21,9 @@
\makeatletter
\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
\makeatother
+% add command aliases to use the same command in book and report
+\newcommand\GNUTexinfomainmatter{\mainmatter}
+\newcommand\GNUTexinfofrontmatter{\frontmatter}
% command that does nothing used to help with substitutions in commands
\newcommand{\GNUTexinfoplaceholder}[1]{}
diff --git
a/tp/t/results/latex_tests/float_and_refs/res_latex/float_and_refs.tex
b/tp/t/results/latex_tests/float_and_refs/res_latex/float_and_refs.tex
index 5f0a7b0..b67d853 100644
--- a/tp/t/results/latex_tests/float_and_refs/res_latex/float_and_refs.tex
+++ b/tp/t/results/latex_tests/float_and_refs/res_latex/float_and_refs.tex
@@ -27,6 +27,9 @@
\makeatletter
\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
\makeatother
+% add command aliases to use the same command in book and report
+\newcommand\GNUTexinfomainmatter{\mainmatter}
+\newcommand\GNUTexinfofrontmatter{\frontmatter}
% command that does nothing used to help with substitutions in commands
\newcommand{\GNUTexinfoplaceholder}[1]{}
diff --git a/tp/t/results/latex_tests/fonttextsize/res_latex/fonttextsize.tex
b/tp/t/results/latex_tests/fonttextsize/res_latex/fonttextsize.tex
index e0e46a5..7af737e 100644
--- a/tp/t/results/latex_tests/fonttextsize/res_latex/fonttextsize.tex
+++ b/tp/t/results/latex_tests/fonttextsize/res_latex/fonttextsize.tex
@@ -21,6 +21,9 @@
\makeatletter
\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
\makeatother
+% add command aliases to use the same command in book and report
+\newcommand\GNUTexinfomainmatter{\mainmatter}
+\newcommand\GNUTexinfofrontmatter{\frontmatter}
% command that does nothing used to help with substitutions in commands
\newcommand{\GNUTexinfoplaceholder}[1]{}
diff --git a/tp/t/results/latex_tests/kbdinputstyle_and_kbd.pl
b/tp/t/results/latex_tests/kbdinputstyle_and_kbd.pl
index f125ec6..65782c4 100644
--- a/tp/t/results/latex_tests/kbdinputstyle_and_kbd.pl
+++ b/tp/t/results/latex_tests/kbdinputstyle_and_kbd.pl
@@ -743,16 +743,24 @@ $result_floats{'kbdinputstyle_and_kbd'} = {};
$result_converted{'latex'}->{'kbdinputstyle_and_kbd'} = '
{\\ttfamily\\textsl{default kbdinputstyle}}
-\\par\\begingroup\\obeylines\\obeyspaces\\frenchspacing\\leftskip=2em\\relax\\parskip=0pt\\relax\\ttfamily{}{\\ttfamily\\textsl{in
example default kbdinputstyle}}
-\\endgroup{}
+\\par\\begingroup\\obeylines\\obeyspaces\\frenchspacing\\leftskip=2em\\relax\\parskip=0pt\\relax\\ttfamily{}%
+{\\ttfamily\\textsl{in example default kbdinputstyle}}
+\\endgroup{}%
+
\\texttt{code kbdinputstyle}
-\\par\\begingroup\\obeylines\\obeyspaces\\frenchspacing\\leftskip=2em\\relax\\parskip=0pt\\relax\\ttfamily{}\\texttt{in
example code kbdinputstyle}
-\\endgroup{}
+\\par\\begingroup\\obeylines\\obeyspaces\\frenchspacing\\leftskip=2em\\relax\\parskip=0pt\\relax\\ttfamily{}%
+\\texttt{in example code kbdinputstyle}
+\\endgroup{}%
+
{\\ttfamily\\textsl{example kbdinputstyle}}
-\\par\\begingroup\\obeylines\\obeyspaces\\frenchspacing\\leftskip=2em\\relax\\parskip=0pt\\relax\\ttfamily{}\\texttt{in
example example kbdinputstyle}
-\\endgroup{}
+\\par\\begingroup\\obeylines\\obeyspaces\\frenchspacing\\leftskip=2em\\relax\\parskip=0pt\\relax\\ttfamily{}%
+\\texttt{in example example kbdinputstyle}
+\\endgroup{}%
+
{\\ttfamily\\textsl{distinct kbdinputstyle}}
-\\par\\begingroup\\obeylines\\obeyspaces\\frenchspacing\\leftskip=2em\\relax\\parskip=0pt\\relax\\ttfamily{}{\\ttfamily\\textsl{in
example distinct kbdinputstyle}}
-\\endgroup{}';
+\\par\\begingroup\\obeylines\\obeyspaces\\frenchspacing\\leftskip=2em\\relax\\parskip=0pt\\relax\\ttfamily{}%
+{\\ttfamily\\textsl{in example distinct kbdinputstyle}}
+\\endgroup{}%
+';
1;
diff --git
a/tp/t/results/latex_tests/no_titlepage_and_setchapternewpage_odd/res_latex/no_titlepage_and_setchapternewpage_odd.tex
b/tp/t/results/latex_tests/no_titlepage_and_setchapternewpage_odd/res_latex/no_titlepage_and_setchapternewpage_odd.tex
index 42ed610..c3f4459 100644
---
a/tp/t/results/latex_tests/no_titlepage_and_setchapternewpage_odd/res_latex/no_titlepage_and_setchapternewpage_odd.tex
+++
b/tp/t/results/latex_tests/no_titlepage_and_setchapternewpage_odd/res_latex/no_titlepage_and_setchapternewpage_odd.tex
@@ -21,6 +21,9 @@
\makeatletter
\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
\makeatother
+% add command aliases to use the same command in book and report
+\newcommand\GNUTexinfomainmatter{\mainmatter}
+\newcommand\GNUTexinfofrontmatter{\frontmatter}
% command that does nothing used to help with substitutions in commands
\newcommand{\GNUTexinfoplaceholder}[1]{}
diff --git
a/tp/t/results/latex_tests/no_titlepage_and_setchapternewpage_on/res_latex/no_titlepage_and_setchapternewpage_on.tex
b/tp/t/results/latex_tests/no_titlepage_and_setchapternewpage_on/res_latex/no_titlepage_and_setchapternewpage_on.tex
index eb33851..6717266 100644
---
a/tp/t/results/latex_tests/no_titlepage_and_setchapternewpage_on/res_latex/no_titlepage_and_setchapternewpage_on.tex
+++
b/tp/t/results/latex_tests/no_titlepage_and_setchapternewpage_on/res_latex/no_titlepage_and_setchapternewpage_on.tex
@@ -21,6 +21,9 @@
\makeatletter
\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
\makeatother
+% add command aliases to use the same command in book and report
+\newcommand\GNUTexinfomainmatter{\mainmatter}
+\newcommand\GNUTexinfofrontmatter{\frontmatter}
% command that does nothing used to help with substitutions in commands
\newcommand{\GNUTexinfoplaceholder}[1]{}
diff --git a/tp/t/results/latex_tests/pagesizes.pl
b/tp/t/results/latex_tests/pagesizes.pl
new file mode 100644
index 0000000..0122b3c
--- /dev/null
+++ b/tp/t/results/latex_tests/pagesizes.pl
@@ -0,0 +1,609 @@
+use vars qw(%result_texis %result_texts %result_trees %result_errors
+ %result_indices %result_sectioning %result_nodes %result_menus
+ %result_floats %result_converted %result_converted_errors
+ %result_elements %result_directions_text);
+
+use utf8;
+
+$result_trees{'pagesizes'} = {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'pagesizes.info'
+ }
+ ],
+ 'extra' => {
+ 'spaces_after_argument' => '
+'
+ },
+ 'parent' => {},
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'setfilename',
+ 'extra' => {
+ 'spaces_before_argument' => ' ',
+ 'text_arg' => 'pagesizes.info'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 1,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '200mm,150mm'
+ }
+ ],
+ 'extra' => {
+ 'spaces_after_argument' => '
+'
+ },
+ 'parent' => {},
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'pagesizes',
+ 'extra' => {
+ 'spaces_before_argument' => ' '
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 3,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'text_root'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'Top'
+ }
+ ],
+ 'extra' => {
+ 'spaces_after_argument' => '
+'
+ },
+ 'parent' => {},
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'contents' => [],
+ 'extra' => {
+ 'node_content' => [
+ {}
+ ],
+ 'nodes_manuals' => [
+ {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'Top'
+ }
+ ],
+ 'normalized' => 'Top',
+ 'spaces_before_argument' => ' '
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 5,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'section top'
+ }
+ ],
+ 'extra' => {
+ 'spaces_after_argument' => '
+'
+ },
+ 'parent' => {},
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'top',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {
+ 'spaces_before_argument' => ' '
+ },
+ 'level' => 0,
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 6,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'chapter'
+ }
+ ],
+ 'extra' => {
+ 'spaces_after_argument' => '
+'
+ },
+ 'parent' => {},
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'contents' => [],
+ 'extra' => {
+ 'node_content' => [
+ {}
+ ],
+ 'nodes_manuals' => [
+ {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'chapter'
+ }
+ ],
+ 'normalized' => 'chapter',
+ 'spaces_before_argument' => ' '
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 8,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'Chapter'
+ }
+ ],
+ 'extra' => {
+ 'spaces_after_argument' => '
+'
+ },
+ 'parent' => {},
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'chapter',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '11.5in'
+ }
+ ],
+ 'extra' => {
+ 'spaces_after_argument' => '
+'
+ },
+ 'parent' => {},
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'pagesizes',
+ 'extra' => {
+ 'spaces_before_argument' => ' '
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 11,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {
+ 'spaces_before_argument' => ' '
+ },
+ 'level' => 1,
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 9,
+ 'macro' => ''
+ },
+ 'number' => 1,
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'other pagesizes'
+ }
+ ],
+ 'extra' => {
+ 'spaces_after_argument' => '
+'
+ },
+ 'parent' => {},
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'chapter',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ', 130mm'
+ }
+ ],
+ 'extra' => {
+ 'spaces_after_argument' => '
+'
+ },
+ 'parent' => {},
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'pagesizes',
+ 'extra' => {
+ 'spaces_before_argument' => ' '
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 15,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ','
+ }
+ ],
+ 'extra' => {
+ 'spaces_after_argument' => '
+'
+ },
+ 'parent' => {},
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'pagesizes',
+ 'extra' => {
+ 'spaces_before_argument' => ' '
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 17,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ }
+ ],
+ 'extra' => {
+ 'spaces_before_argument' => ' '
+ },
+ 'level' => 1,
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 13,
+ 'macro' => ''
+ },
+ 'number' => 2,
+ 'parent' => {}
+ }
+ ],
+ 'type' => 'document_root'
+};
+$result_trees{'pagesizes'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'pagesizes'}{'contents'}[0]{'contents'}[0]{'args'}[0];
+$result_trees{'pagesizes'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'parent'}
= $result_trees{'pagesizes'}{'contents'}[0]{'contents'}[0];
+$result_trees{'pagesizes'}{'contents'}[0]{'contents'}[0]{'parent'} =
$result_trees{'pagesizes'}{'contents'}[0];
+$result_trees{'pagesizes'}{'contents'}[0]{'contents'}[1]{'parent'} =
$result_trees{'pagesizes'}{'contents'}[0];
+$result_trees{'pagesizes'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'pagesizes'}{'contents'}[0]{'contents'}[2]{'args'}[0];
+$result_trees{'pagesizes'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'parent'}
= $result_trees{'pagesizes'}{'contents'}[0]{'contents'}[2];
+$result_trees{'pagesizes'}{'contents'}[0]{'contents'}[2]{'parent'} =
$result_trees{'pagesizes'}{'contents'}[0];
+$result_trees{'pagesizes'}{'contents'}[0]{'contents'}[3]{'parent'} =
$result_trees{'pagesizes'}{'contents'}[0];
+$result_trees{'pagesizes'}{'contents'}[0]{'parent'} =
$result_trees{'pagesizes'};
+$result_trees{'pagesizes'}{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'pagesizes'}{'contents'}[1]{'args'}[0];
+$result_trees{'pagesizes'}{'contents'}[1]{'args'}[0]{'parent'} =
$result_trees{'pagesizes'}{'contents'}[1];
+$result_trees{'pagesizes'}{'contents'}[1]{'extra'}{'node_content'}[0] =
$result_trees{'pagesizes'}{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'pagesizes'}{'contents'}[1]{'extra'}{'nodes_manuals'}[0]{'node_content'}[0]
= $result_trees{'pagesizes'}{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'pagesizes'}{'contents'}[1]{'parent'} =
$result_trees{'pagesizes'};
+$result_trees{'pagesizes'}{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'pagesizes'}{'contents'}[2]{'args'}[0];
+$result_trees{'pagesizes'}{'contents'}[2]{'args'}[0]{'parent'} =
$result_trees{'pagesizes'}{'contents'}[2];
+$result_trees{'pagesizes'}{'contents'}[2]{'contents'}[0]{'parent'} =
$result_trees{'pagesizes'}{'contents'}[2];
+$result_trees{'pagesizes'}{'contents'}[2]{'parent'} =
$result_trees{'pagesizes'};
+$result_trees{'pagesizes'}{'contents'}[3]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'pagesizes'}{'contents'}[3]{'args'}[0];
+$result_trees{'pagesizes'}{'contents'}[3]{'args'}[0]{'parent'} =
$result_trees{'pagesizes'}{'contents'}[3];
+$result_trees{'pagesizes'}{'contents'}[3]{'extra'}{'node_content'}[0] =
$result_trees{'pagesizes'}{'contents'}[3]{'args'}[0]{'contents'}[0];
+$result_trees{'pagesizes'}{'contents'}[3]{'extra'}{'nodes_manuals'}[0]{'node_content'}[0]
= $result_trees{'pagesizes'}{'contents'}[3]{'args'}[0]{'contents'}[0];
+$result_trees{'pagesizes'}{'contents'}[3]{'parent'} =
$result_trees{'pagesizes'};
+$result_trees{'pagesizes'}{'contents'}[4]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'pagesizes'}{'contents'}[4]{'args'}[0];
+$result_trees{'pagesizes'}{'contents'}[4]{'args'}[0]{'parent'} =
$result_trees{'pagesizes'}{'contents'}[4];
+$result_trees{'pagesizes'}{'contents'}[4]{'contents'}[0]{'parent'} =
$result_trees{'pagesizes'}{'contents'}[4];
+$result_trees{'pagesizes'}{'contents'}[4]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'pagesizes'}{'contents'}[4]{'contents'}[1]{'args'}[0];
+$result_trees{'pagesizes'}{'contents'}[4]{'contents'}[1]{'args'}[0]{'parent'}
= $result_trees{'pagesizes'}{'contents'}[4]{'contents'}[1];
+$result_trees{'pagesizes'}{'contents'}[4]{'contents'}[1]{'parent'} =
$result_trees{'pagesizes'}{'contents'}[4];
+$result_trees{'pagesizes'}{'contents'}[4]{'contents'}[2]{'parent'} =
$result_trees{'pagesizes'}{'contents'}[4];
+$result_trees{'pagesizes'}{'contents'}[4]{'parent'} =
$result_trees{'pagesizes'};
+$result_trees{'pagesizes'}{'contents'}[5]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'pagesizes'}{'contents'}[5]{'args'}[0];
+$result_trees{'pagesizes'}{'contents'}[5]{'args'}[0]{'parent'} =
$result_trees{'pagesizes'}{'contents'}[5];
+$result_trees{'pagesizes'}{'contents'}[5]{'contents'}[0]{'parent'} =
$result_trees{'pagesizes'}{'contents'}[5];
+$result_trees{'pagesizes'}{'contents'}[5]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'pagesizes'}{'contents'}[5]{'contents'}[1]{'args'}[0];
+$result_trees{'pagesizes'}{'contents'}[5]{'contents'}[1]{'args'}[0]{'parent'}
= $result_trees{'pagesizes'}{'contents'}[5]{'contents'}[1];
+$result_trees{'pagesizes'}{'contents'}[5]{'contents'}[1]{'parent'} =
$result_trees{'pagesizes'}{'contents'}[5];
+$result_trees{'pagesizes'}{'contents'}[5]{'contents'}[2]{'parent'} =
$result_trees{'pagesizes'}{'contents'}[5];
+$result_trees{'pagesizes'}{'contents'}[5]{'contents'}[3]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'pagesizes'}{'contents'}[5]{'contents'}[3]{'args'}[0];
+$result_trees{'pagesizes'}{'contents'}[5]{'contents'}[3]{'args'}[0]{'parent'}
= $result_trees{'pagesizes'}{'contents'}[5]{'contents'}[3];
+$result_trees{'pagesizes'}{'contents'}[5]{'contents'}[3]{'parent'} =
$result_trees{'pagesizes'}{'contents'}[5];
+$result_trees{'pagesizes'}{'contents'}[5]{'parent'} =
$result_trees{'pagesizes'};
+
+$result_texis{'pagesizes'} = '@setfilename pagesizes.info
+
+@pagesizes 200mm,150mm
+
+@node Top
+@top section top
+
+@node chapter
+@chapter Chapter
+
+@pagesizes 11.5in
+
+@chapter other pagesizes
+
+@pagesizes , 130mm
+
+@pagesizes ,
+';
+
+
+$result_texts{'pagesizes'} = '
+
+section top
+***********
+
+1 Chapter
+*********
+
+
+2 other pagesizes
+*****************
+
+
+';
+
+$result_sectioning{'pagesizes'} = {
+ 'level' => -1,
+ 'section_childs' => [
+ {
+ 'cmdname' => 'top',
+ 'extra' => {
+ 'associated_node' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Top',
+ 'spaces_before_argument' => ' '
+ }
+ },
+ 'spaces_before_argument' => ' '
+ },
+ 'level' => 0,
+ 'section_childs' => [
+ {
+ 'cmdname' => 'chapter',
+ 'extra' => {
+ 'associated_node' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'chapter',
+ 'spaces_before_argument' => ' '
+ }
+ },
+ 'spaces_before_argument' => ' '
+ },
+ 'level' => 1,
+ 'number' => 1,
+ 'section_up' => {},
+ 'toplevel_prev' => {},
+ 'toplevel_up' => {}
+ },
+ {
+ 'cmdname' => 'chapter',
+ 'extra' => {
+ 'spaces_before_argument' => ' '
+ },
+ 'level' => 1,
+ 'number' => 2,
+ 'section_prev' => {},
+ 'section_up' => {},
+ 'toplevel_prev' => {},
+ 'toplevel_up' => {}
+ }
+ ],
+ 'section_up' => {}
+ }
+ ]
+};
+$result_sectioning{'pagesizes'}{'section_childs'}[0]{'section_childs'}[0]{'section_up'}
= $result_sectioning{'pagesizes'}{'section_childs'}[0];
+$result_sectioning{'pagesizes'}{'section_childs'}[0]{'section_childs'}[0]{'toplevel_prev'}
= $result_sectioning{'pagesizes'}{'section_childs'}[0];
+$result_sectioning{'pagesizes'}{'section_childs'}[0]{'section_childs'}[0]{'toplevel_up'}
= $result_sectioning{'pagesizes'}{'section_childs'}[0];
+$result_sectioning{'pagesizes'}{'section_childs'}[0]{'section_childs'}[1]{'section_prev'}
= $result_sectioning{'pagesizes'}{'section_childs'}[0]{'section_childs'}[0];
+$result_sectioning{'pagesizes'}{'section_childs'}[0]{'section_childs'}[1]{'section_up'}
= $result_sectioning{'pagesizes'}{'section_childs'}[0];
+$result_sectioning{'pagesizes'}{'section_childs'}[0]{'section_childs'}[1]{'toplevel_prev'}
= $result_sectioning{'pagesizes'}{'section_childs'}[0]{'section_childs'}[0];
+$result_sectioning{'pagesizes'}{'section_childs'}[0]{'section_childs'}[1]{'toplevel_up'}
= $result_sectioning{'pagesizes'}{'section_childs'}[0];
+$result_sectioning{'pagesizes'}{'section_childs'}[0]{'section_up'} =
$result_sectioning{'pagesizes'};
+
+$result_nodes{'pagesizes'} = {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'associated_section' => {
+ 'cmdname' => 'top',
+ 'extra' => {
+ 'spaces_before_argument' => ' '
+ },
+ 'level' => 0
+ },
+ 'normalized' => 'Top',
+ 'spaces_before_argument' => ' '
+ },
+ 'node_next' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'associated_section' => {
+ 'cmdname' => 'chapter',
+ 'extra' => {
+ 'spaces_before_argument' => ' '
+ },
+ 'level' => 1,
+ 'number' => 1
+ },
+ 'normalized' => 'chapter',
+ 'spaces_before_argument' => ' '
+ },
+ 'node_prev' => {},
+ 'node_up' => {}
+ }
+};
+$result_nodes{'pagesizes'}{'node_next'}{'node_prev'} =
$result_nodes{'pagesizes'};
+$result_nodes{'pagesizes'}{'node_next'}{'node_up'} =
$result_nodes{'pagesizes'};
+
+$result_menus{'pagesizes'} = {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Top',
+ 'spaces_before_argument' => ' '
+ }
+};
+
+$result_errors{'pagesizes'} = [
+ {
+ 'error_line' => ':11: warning: multiple @pagesizes
+',
+ 'file_name' => '',
+ 'line_nr' => 11,
+ 'macro' => '',
+ 'text' => 'multiple @pagesizes',
+ 'type' => 'warning'
+ },
+ {
+ 'error_line' => ':15: warning: multiple @pagesizes
+',
+ 'file_name' => '',
+ 'line_nr' => 15,
+ 'macro' => '',
+ 'text' => 'multiple @pagesizes',
+ 'type' => 'warning'
+ },
+ {
+ 'error_line' => ':17: warning: multiple @pagesizes
+',
+ 'file_name' => '',
+ 'line_nr' => 17,
+ 'macro' => '',
+ 'text' => 'multiple @pagesizes',
+ 'type' => 'warning'
+ }
+];
+
+
+$result_floats{'pagesizes'} = {};
+
+
+
+$result_converted{'latex'}->{'pagesizes'} = '
+\\newgeometry{textheight=200mm,textwidth=150mm}
+
+\\chapter{Chapter}
+\\label{anchor:chapter}%
+
+\\newgeometry{textheight=11.5in}
+
+\\chapter{other pagesizes}
+
+\\newgeometry{textwidth=130mm}
+
+';
+
+1;
diff --git a/tp/t/results/latex_tests/pagesizes/res_latex/pagesizes.tex
b/tp/t/results/latex_tests/pagesizes/res_latex/pagesizes.tex
index ebcd6ac..1df35ec 100644
--- a/tp/t/results/latex_tests/pagesizes/res_latex/pagesizes.tex
+++ b/tp/t/results/latex_tests/pagesizes/res_latex/pagesizes.tex
@@ -21,6 +21,9 @@
\makeatletter
\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
\makeatother
+% add command aliases to use the same command in book and report
+\newcommand\GNUTexinfomainmatter{\mainmatter}
+\newcommand\GNUTexinfofrontmatter{\frontmatter}
% command that does nothing used to help with substitutions in commands
\newcommand{\GNUTexinfoplaceholder}[1]{}
diff --git a/tp/t/results/latex_tests/pagetype/res_latex/pagetype.tex
b/tp/t/results/latex_tests/pagetype/res_latex/pagetype.tex
index dbd5da2..987171b 100644
--- a/tp/t/results/latex_tests/pagetype/res_latex/pagetype.tex
+++ b/tp/t/results/latex_tests/pagetype/res_latex/pagetype.tex
@@ -21,6 +21,9 @@
\makeatletter
\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
\makeatother
+% add command aliases to use the same command in book and report
+\newcommand\GNUTexinfomainmatter{\mainmatter}
+\newcommand\GNUTexinfofrontmatter{\frontmatter}
% command that does nothing used to help with substitutions in commands
\newcommand{\GNUTexinfoplaceholder}[1]{}
diff --git a/tp/t/results/latex_tests/setchapternewpage_on_odd_titlepage.pl
b/tp/t/results/latex_tests/setchapternewpage_on_odd_titlepage.pl
index 9b3ae2d..20bb809 100644
--- a/tp/t/results/latex_tests/setchapternewpage_on_odd_titlepage.pl
+++ b/tp/t/results/latex_tests/setchapternewpage_on_odd_titlepage.pl
@@ -249,7 +249,7 @@ in titlepage
\\endgroup
\\end{titlepage}
\\GNUTexinfosetdoubleheader{No Title}%
-\\mainmatter
+\\GNUTexinfomainmatter
';
1;
diff --git
a/tp/t/results/latex_tests/setchapternewpage_on_odd_titlepage/res_latex/setchapternewpage_on_odd_titlepage.tex
b/tp/t/results/latex_tests/setchapternewpage_on_odd_titlepage/res_latex/setchapternewpage_on_odd_titlepage.tex
index 9ba5e7e..6aaceb5 100644
---
a/tp/t/results/latex_tests/setchapternewpage_on_odd_titlepage/res_latex/setchapternewpage_on_odd_titlepage.tex
+++
b/tp/t/results/latex_tests/setchapternewpage_on_odd_titlepage/res_latex/setchapternewpage_on_odd_titlepage.tex
@@ -21,6 +21,9 @@
\makeatletter
\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
\makeatother
+% add command aliases to use the same command in book and report
+\newcommand\GNUTexinfomainmatter{\mainmatter}
+\newcommand\GNUTexinfofrontmatter{\frontmatter}
% command that does nothing used to help with substitutions in commands
\newcommand{\GNUTexinfoplaceholder}[1]{}
@@ -71,7 +74,7 @@
\begin{document}
-\frontmatter
+\GNUTexinfofrontmatter
\begin{titlepage}
\begingroup
\newskip\titlepagetopglue \titlepagetopglue = 1.5in
@@ -83,5 +86,5 @@ in titlepage
\endgroup
\end{titlepage}
\GNUTexinfosetdoubleheader{No Title}%
-\mainmatter
+\GNUTexinfomainmatter
\end{document}
diff --git
a/tp/t/results/latex_tests/settitle_and_headings/res_latex/settitle_and_headings.tex
b/tp/t/results/latex_tests/settitle_and_headings/res_latex/settitle_and_headings.tex
index 2bcca58..a732776 100644
---
a/tp/t/results/latex_tests/settitle_and_headings/res_latex/settitle_and_headings.tex
+++
b/tp/t/results/latex_tests/settitle_and_headings/res_latex/settitle_and_headings.tex
@@ -21,6 +21,9 @@
\makeatletter
\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
\makeatother
+% add command aliases to use the same command in book and report
+\newcommand\GNUTexinfomainmatter{\mainmatter}
+\newcommand\GNUTexinfofrontmatter{\frontmatter}
% command that does nothing used to help with substitutions in commands
\newcommand{\GNUTexinfoplaceholder}[1]{}
diff --git a/tp/t/results/latex_tests/shorttitlepage.pl
b/tp/t/results/latex_tests/shorttitlepage.pl
index 999f77b..96f2ce1 100644
--- a/tp/t/results/latex_tests/shorttitlepage.pl
+++ b/tp/t/results/latex_tests/shorttitlepage.pl
@@ -419,7 +419,7 @@ $result_converted{'latex'}->{'shorttitlepage'} = '
\\phantom{blabla}\\newpage{}
\\end{titlepage}
\\GNUTexinfosetsingleheader{}%
-\\mainmatter
+\\GNUTexinfomainmatter
\\chapter{Chapter}
\\label{anchor:chapter}%
diff --git
a/tp/t/results/latex_tests/shorttitlepage/res_latex/shorttitlepage.tex
b/tp/t/results/latex_tests/shorttitlepage/res_latex/shorttitlepage.tex
index 71403d1..1e15476 100644
--- a/tp/t/results/latex_tests/shorttitlepage/res_latex/shorttitlepage.tex
+++ b/tp/t/results/latex_tests/shorttitlepage/res_latex/shorttitlepage.tex
@@ -21,6 +21,9 @@
\makeatletter
\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
\makeatother
+% add command aliases to use the same command in book and report
+\newcommand\GNUTexinfomainmatter{\mainmatter}
+\newcommand\GNUTexinfofrontmatter{\frontmatter}
% command that does nothing used to help with substitutions in commands
\newcommand{\GNUTexinfoplaceholder}[1]{}
@@ -67,14 +70,14 @@
\begin{document}
-\frontmatter
+\GNUTexinfofrontmatter
\begin{titlepage}
{\raggedright {\huge \bfseries the title with shorttitlepage \leavevmode{}\\
it can be long}}
\newpage{}
\phantom{blabla}\newpage{}
\end{titlepage}
\GNUTexinfosetsingleheader{}%
-\mainmatter
+\GNUTexinfomainmatter
\chapter{Chapter}
\label{anchor:chapter}%
diff --git
a/tp/t/results/latex_tests/three_setchapternewpage_on_odd_off/res_latex/three_setchapternewpage_on_odd_off.tex
b/tp/t/results/latex_tests/three_setchapternewpage_on_odd_off/res_latex/three_setchapternewpage_on_odd_off.tex
index d386193..39c8361 100644
---
a/tp/t/results/latex_tests/three_setchapternewpage_on_odd_off/res_latex/three_setchapternewpage_on_odd_off.tex
+++
b/tp/t/results/latex_tests/three_setchapternewpage_on_odd_off/res_latex/three_setchapternewpage_on_odd_off.tex
@@ -21,6 +21,9 @@
\makeatletter
\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
\makeatother
+% add command aliases to use the same command in book and report
+\newcommand\GNUTexinfomainmatter{\mainmatter}
+\newcommand\GNUTexinfofrontmatter{\frontmatter}
% command that does nothing used to help with substitutions in commands
\newcommand{\GNUTexinfoplaceholder}[1]{}
diff --git a/tp/t/results/latex_tests/titlepage_and_headings.pl
b/tp/t/results/latex_tests/titlepage_and_headings.pl
index 2d07bcd..56de5d4 100644
--- a/tp/t/results/latex_tests/titlepage_and_headings.pl
+++ b/tp/t/results/latex_tests/titlepage_and_headings.pl
@@ -162,7 +162,7 @@ in titlepage
\\endgroup
\\end{titlepage}
\\GNUTexinfosetsingleheader{}%
-\\mainmatter
+\\GNUTexinfomainmatter
';
diff --git
a/tp/t/results/latex_tests/titlepage_and_headings/res_latex/titlepage_and_headings.tex
b/tp/t/results/latex_tests/titlepage_and_headings/res_latex/titlepage_and_headings.tex
index dacf3a4..9b5cae1 100644
---
a/tp/t/results/latex_tests/titlepage_and_headings/res_latex/titlepage_and_headings.tex
+++
b/tp/t/results/latex_tests/titlepage_and_headings/res_latex/titlepage_and_headings.tex
@@ -21,6 +21,9 @@
\makeatletter
\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
\makeatother
+% add command aliases to use the same command in book and report
+\newcommand\GNUTexinfomainmatter{\mainmatter}
+\newcommand\GNUTexinfofrontmatter{\frontmatter}
% command that does nothing used to help with substitutions in commands
\newcommand{\GNUTexinfoplaceholder}[1]{}
@@ -67,7 +70,7 @@
\begin{document}
-\frontmatter
+\GNUTexinfofrontmatter
\begin{titlepage}
\begingroup
\newskip\titlepagetopglue \titlepagetopglue = 1.5in
@@ -79,6 +82,6 @@ in titlepage
\endgroup
\end{titlepage}
\GNUTexinfosetsingleheader{}%
-\mainmatter
+\GNUTexinfomainmatter
\end{document}
diff --git a/tp/t/results/latex_tests/titlepage_and_setchapternewpage_odd.pl
b/tp/t/results/latex_tests/titlepage_and_setchapternewpage_odd.pl
index 1004f6b..d745f40 100644
--- a/tp/t/results/latex_tests/titlepage_and_setchapternewpage_odd.pl
+++ b/tp/t/results/latex_tests/titlepage_and_setchapternewpage_odd.pl
@@ -207,7 +207,7 @@ in titlepage
\\endgroup
\\end{titlepage}
\\GNUTexinfosetdoubleheader{No Title}%
-\\mainmatter
+\\GNUTexinfomainmatter
';
diff --git
a/tp/t/results/latex_tests/titlepage_and_setchapternewpage_odd/res_latex/titlepage_and_setchapternewpage_odd.tex
b/tp/t/results/latex_tests/titlepage_and_setchapternewpage_odd/res_latex/titlepage_and_setchapternewpage_odd.tex
index 47f7731..7d480c2 100644
---
a/tp/t/results/latex_tests/titlepage_and_setchapternewpage_odd/res_latex/titlepage_and_setchapternewpage_odd.tex
+++
b/tp/t/results/latex_tests/titlepage_and_setchapternewpage_odd/res_latex/titlepage_and_setchapternewpage_odd.tex
@@ -21,6 +21,9 @@
\makeatletter
\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
\makeatother
+% add command aliases to use the same command in book and report
+\newcommand\GNUTexinfomainmatter{\mainmatter}
+\newcommand\GNUTexinfofrontmatter{\frontmatter}
% command that does nothing used to help with substitutions in commands
\newcommand{\GNUTexinfoplaceholder}[1]{}
@@ -71,7 +74,7 @@
\begin{document}
-\frontmatter
+\GNUTexinfofrontmatter
\begin{titlepage}
\begingroup
\newskip\titlepagetopglue \titlepagetopglue = 1.5in
@@ -83,6 +86,6 @@ in titlepage
\endgroup
\end{titlepage}
\GNUTexinfosetdoubleheader{No Title}%
-\mainmatter
+\GNUTexinfomainmatter
\end{document}
diff --git a/tp/t/results/latex_tests/titlepage_and_setchapternewpage_on.pl
b/tp/t/results/latex_tests/titlepage_and_setchapternewpage_on.pl
index 3a8b245..5d21f3f 100644
--- a/tp/t/results/latex_tests/titlepage_and_setchapternewpage_on.pl
+++ b/tp/t/results/latex_tests/titlepage_and_setchapternewpage_on.pl
@@ -200,7 +200,7 @@ in titlepage
\\endgroup
\\end{titlepage}
\\GNUTexinfosetsingleheader{}%
-\\mainmatter
+\\GNUTexinfomainmatter
';
diff --git
a/tp/t/results/latex_tests/titlepage_and_setchapternewpage_on/res_latex/titlepage_and_setchapternewpage_on.tex
b/tp/t/results/latex_tests/titlepage_and_setchapternewpage_on/res_latex/titlepage_and_setchapternewpage_on.tex
index dacf3a4..9b5cae1 100644
---
a/tp/t/results/latex_tests/titlepage_and_setchapternewpage_on/res_latex/titlepage_and_setchapternewpage_on.tex
+++
b/tp/t/results/latex_tests/titlepage_and_setchapternewpage_on/res_latex/titlepage_and_setchapternewpage_on.tex
@@ -21,6 +21,9 @@
\makeatletter
\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
\makeatother
+% add command aliases to use the same command in book and report
+\newcommand\GNUTexinfomainmatter{\mainmatter}
+\newcommand\GNUTexinfofrontmatter{\frontmatter}
% command that does nothing used to help with substitutions in commands
\newcommand{\GNUTexinfoplaceholder}[1]{}
@@ -67,7 +70,7 @@
\begin{document}
-\frontmatter
+\GNUTexinfofrontmatter
\begin{titlepage}
\begingroup
\newskip\titlepagetopglue \titlepagetopglue = 1.5in
@@ -79,6 +82,6 @@ in titlepage
\endgroup
\end{titlepage}
\GNUTexinfosetsingleheader{}%
-\mainmatter
+\GNUTexinfomainmatter
\end{document}
diff --git a/tp/t/results/latex_tests/titlepage_classical.pl
b/tp/t/results/latex_tests/titlepage_classical.pl
index abc3567..aba3ea1 100644
--- a/tp/t/results/latex_tests/titlepage_classical.pl
+++ b/tp/t/results/latex_tests/titlepage_classical.pl
@@ -818,7 +818,7 @@ in Copying
\\endgroup
\\end{titlepage}
\\GNUTexinfosetsingleheader{}%
-\\mainmatter
+\\GNUTexinfomainmatter
\\chapter{Chapter}
\\label{anchor:chapter}%
diff --git
a/tp/t/results/latex_tests/titlepage_classical/res_latex/titlepage_classical.tex
b/tp/t/results/latex_tests/titlepage_classical/res_latex/titlepage_classical.tex
index 147df97..eaf550d 100644
---
a/tp/t/results/latex_tests/titlepage_classical/res_latex/titlepage_classical.tex
+++
b/tp/t/results/latex_tests/titlepage_classical/res_latex/titlepage_classical.tex
@@ -21,6 +21,9 @@
\makeatletter
\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
\makeatother
+% add command aliases to use the same command in book and report
+\newcommand\GNUTexinfomainmatter{\mainmatter}
+\newcommand\GNUTexinfofrontmatter{\frontmatter}
% command that does nothing used to help with substitutions in commands
\newcommand{\GNUTexinfoplaceholder}[1]{}
@@ -68,7 +71,7 @@
\begin{document}
-\frontmatter
+\GNUTexinfofrontmatter
\begin{titlepage}
\begingroup
\newskip\titlepagetopglue \titlepagetopglue = 1.5in
@@ -95,7 +98,7 @@ in Copying
\endgroup
\end{titlepage}
\GNUTexinfosetsingleheader{}%
-\mainmatter
+\GNUTexinfomainmatter
\chapter{Chapter}
\label{anchor:chapter}%
diff --git
a/tp/t/results/latex_tests/titlepage_in_top_node/res_latex/titlepage_in_top_node.tex
b/tp/t/results/latex_tests/titlepage_in_top_node/res_latex/titlepage_in_top_node.tex
index 2bddda9..6228e7b 100644
---
a/tp/t/results/latex_tests/titlepage_in_top_node/res_latex/titlepage_in_top_node.tex
+++
b/tp/t/results/latex_tests/titlepage_in_top_node/res_latex/titlepage_in_top_node.tex
@@ -21,6 +21,9 @@
\makeatletter
\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
\makeatother
+% add command aliases to use the same command in book and report
+\newcommand\GNUTexinfomainmatter{\mainmatter}
+\newcommand\GNUTexinfofrontmatter{\frontmatter}
% command that does nothing used to help with substitutions in commands
\newcommand{\GNUTexinfoplaceholder}[1]{}
@@ -67,7 +70,7 @@
\begin{document}
-\frontmatter
+\GNUTexinfofrontmatter
\chapter{chap}
\label{anchor:chap}%
diff --git a/tp/t/results/latex_tests/titlepage_long_title.pl
b/tp/t/results/latex_tests/titlepage_long_title.pl
index 80471c3..5ac0d9d 100644
--- a/tp/t/results/latex_tests/titlepage_long_title.pl
+++ b/tp/t/results/latex_tests/titlepage_long_title.pl
@@ -488,7 +488,7 @@ $result_converted{'latex'}->{'titlepage_long_title'} =
'\\begin{titlepage}
\\endgroup
\\end{titlepage}
\\GNUTexinfosetsingleheader{}%
-\\mainmatter
+\\GNUTexinfomainmatter
\\chapter{Chapter}
\\label{anchor:chapter}%
diff --git
a/tp/t/results/latex_tests/titlepage_long_title/res_latex/titlepage_long_title.tex
b/tp/t/results/latex_tests/titlepage_long_title/res_latex/titlepage_long_title.tex
index 5a0eb85..acb0eaf 100644
---
a/tp/t/results/latex_tests/titlepage_long_title/res_latex/titlepage_long_title.tex
+++
b/tp/t/results/latex_tests/titlepage_long_title/res_latex/titlepage_long_title.tex
@@ -21,6 +21,9 @@
\makeatletter
\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
\makeatother
+% add command aliases to use the same command in book and report
+\newcommand\GNUTexinfomainmatter{\mainmatter}
+\newcommand\GNUTexinfofrontmatter{\frontmatter}
% command that does nothing used to help with substitutions in commands
\newcommand{\GNUTexinfoplaceholder}[1]{}
@@ -66,7 +69,7 @@
\begin{document}
-\frontmatter
+\GNUTexinfofrontmatter
\begin{titlepage}
\begingroup
\newskip\titlepagetopglue \titlepagetopglue = 1.5in
@@ -82,7 +85,7 @@
\endgroup
\end{titlepage}
\GNUTexinfosetsingleheader{}%
-\mainmatter
+\GNUTexinfomainmatter
\chapter{Chapter}
\label{anchor:chapter}%
diff --git a/tp/t/results/latex_tests/titlepage_no_author.pl
b/tp/t/results/latex_tests/titlepage_no_author.pl
index 84cdecf..2dceec8 100644
--- a/tp/t/results/latex_tests/titlepage_no_author.pl
+++ b/tp/t/results/latex_tests/titlepage_no_author.pl
@@ -469,7 +469,7 @@ $result_converted{'latex'}->{'titlepage_no_author'} =
'\\begin{titlepage}
\\endgroup
\\end{titlepage}
\\GNUTexinfosetsingleheader{}%
-\\mainmatter
+\\GNUTexinfomainmatter
\\chapter{Chapter}
\\label{anchor:chapter}%
diff --git
a/tp/t/results/latex_tests/titlepage_no_author/res_latex/titlepage_no_author.tex
b/tp/t/results/latex_tests/titlepage_no_author/res_latex/titlepage_no_author.tex
index d50ee67..634ac34 100644
---
a/tp/t/results/latex_tests/titlepage_no_author/res_latex/titlepage_no_author.tex
+++
b/tp/t/results/latex_tests/titlepage_no_author/res_latex/titlepage_no_author.tex
@@ -21,6 +21,9 @@
\makeatletter
\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
\makeatother
+% add command aliases to use the same command in book and report
+\newcommand\GNUTexinfomainmatter{\mainmatter}
+\newcommand\GNUTexinfofrontmatter{\frontmatter}
% command that does nothing used to help with substitutions in commands
\newcommand{\GNUTexinfoplaceholder}[1]{}
@@ -66,7 +69,7 @@
\begin{document}
-\frontmatter
+\GNUTexinfofrontmatter
\begin{titlepage}
\begingroup
\newskip\titlepagetopglue \titlepagetopglue = 1.5in
@@ -81,7 +84,7 @@
\endgroup
\end{titlepage}
\GNUTexinfosetsingleheader{}%
-\mainmatter
+\GNUTexinfomainmatter
\chapter{Chapter}
\label{anchor:chapter}%
diff --git a/tp/t/results/latex_tests/titlepage_no_title.pl
b/tp/t/results/latex_tests/titlepage_no_title.pl
index 6576add..7062662 100644
--- a/tp/t/results/latex_tests/titlepage_no_title.pl
+++ b/tp/t/results/latex_tests/titlepage_no_title.pl
@@ -511,7 +511,7 @@ $result_converted{'latex'}->{'titlepage_no_title'} =
'\\begin{titlepage}
\\endgroup
\\end{titlepage}
\\GNUTexinfosetsingleheader{}%
-\\mainmatter
+\\GNUTexinfomainmatter
\\chapter{Chapter}
\\label{anchor:chapter}%
diff --git
a/tp/t/results/latex_tests/titlepage_no_title/res_latex/titlepage_no_title.tex
b/tp/t/results/latex_tests/titlepage_no_title/res_latex/titlepage_no_title.tex
index 63e3395..d2b4ee3 100644
---
a/tp/t/results/latex_tests/titlepage_no_title/res_latex/titlepage_no_title.tex
+++
b/tp/t/results/latex_tests/titlepage_no_title/res_latex/titlepage_no_title.tex
@@ -21,6 +21,9 @@
\makeatletter
\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
\makeatother
+% add command aliases to use the same command in book and report
+\newcommand\GNUTexinfomainmatter{\mainmatter}
+\newcommand\GNUTexinfofrontmatter{\frontmatter}
% command that does nothing used to help with substitutions in commands
\newcommand{\GNUTexinfoplaceholder}[1]{}
@@ -66,7 +69,7 @@
\begin{document}
-\frontmatter
+\GNUTexinfofrontmatter
\begin{titlepage}
\begingroup
\newskip\titlepagetopglue \titlepagetopglue = 1.5in
@@ -81,7 +84,7 @@
\endgroup
\end{titlepage}
\GNUTexinfosetsingleheader{}%
-\mainmatter
+\GNUTexinfomainmatter
\chapter{Chapter}
\label{anchor:chapter}%
diff --git a/tp/t/results/latex_tests/titlepage_with_commands_classical.pl
b/tp/t/results/latex_tests/titlepage_with_commands_classical.pl
index 9f55702..a0c9d44 100644
--- a/tp/t/results/latex_tests/titlepage_with_commands_classical.pl
+++ b/tp/t/results/latex_tests/titlepage_with_commands_classical.pl
@@ -1047,7 +1047,7 @@ in Copying
\\endgroup
\\end{titlepage}
\\GNUTexinfosetsingleheader{}%
-\\mainmatter
+\\GNUTexinfomainmatter
\\chapter{Chapter}
\\label{anchor:chapter}%
diff --git
a/tp/t/results/latex_tests/titlepage_with_commands_classical/res_latex/titlepage_with_commands_classical.tex
b/tp/t/results/latex_tests/titlepage_with_commands_classical/res_latex/titlepage_with_commands_classical.tex
index 32f28f5..d4edc5c 100644
---
a/tp/t/results/latex_tests/titlepage_with_commands_classical/res_latex/titlepage_with_commands_classical.tex
+++
b/tp/t/results/latex_tests/titlepage_with_commands_classical/res_latex/titlepage_with_commands_classical.tex
@@ -21,6 +21,9 @@
\makeatletter
\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
\makeatother
+% add command aliases to use the same command in book and report
+\newcommand\GNUTexinfomainmatter{\mainmatter}
+\newcommand\GNUTexinfofrontmatter{\frontmatter}
% command that does nothing used to help with substitutions in commands
\newcommand{\GNUTexinfoplaceholder}[1]{}
@@ -68,7 +71,7 @@
\begin{document}
-\frontmatter
+\GNUTexinfofrontmatter
\begin{titlepage}
\begingroup
\newskip\titlepagetopglue \titlepagetopglue = 1.5in
@@ -101,7 +104,7 @@ in Copying
\endgroup
\end{titlepage}
\GNUTexinfosetsingleheader{}%
-\mainmatter
+\GNUTexinfomainmatter
\chapter{Chapter}
\label{anchor:chapter}%
diff --git
a/tp/t/results/latex_tests/two_setchapternewpage_odd_on/res_latex/two_setchapternewpage_odd_on.tex
b/tp/t/results/latex_tests/two_setchapternewpage_odd_on/res_latex/two_setchapternewpage_odd_on.tex
index df73322..ff4cb8a 100644
---
a/tp/t/results/latex_tests/two_setchapternewpage_odd_on/res_latex/two_setchapternewpage_odd_on.tex
+++
b/tp/t/results/latex_tests/two_setchapternewpage_odd_on/res_latex/two_setchapternewpage_odd_on.tex
@@ -21,6 +21,9 @@
\makeatletter
\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
\makeatother
+% add command aliases to use the same command in book and report
+\newcommand\GNUTexinfomainmatter{\mainmatter}
+\newcommand\GNUTexinfofrontmatter{\frontmatter}
% command that does nothing used to help with substitutions in commands
\newcommand{\GNUTexinfoplaceholder}[1]{}
diff --git
a/tp/t/results/latex_tests/two_setchapternewpage_on_odd/res_latex/two_setchapternewpage_on_odd.tex
b/tp/t/results/latex_tests/two_setchapternewpage_on_odd/res_latex/two_setchapternewpage_on_odd.tex
index da6f8f5..d511151 100644
---
a/tp/t/results/latex_tests/two_setchapternewpage_on_odd/res_latex/two_setchapternewpage_on_odd.tex
+++
b/tp/t/results/latex_tests/two_setchapternewpage_on_odd/res_latex/two_setchapternewpage_on_odd.tex
@@ -21,6 +21,9 @@
\makeatletter
\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
\makeatother
+% add command aliases to use the same command in book and report
+\newcommand\GNUTexinfomainmatter{\mainmatter}
+\newcommand\GNUTexinfofrontmatter{\frontmatter}
% command that does nothing used to help with substitutions in commands
\newcommand{\GNUTexinfoplaceholder}[1]{}
diff --git a/tp/t/results/quotation/empty_quotation.pl
b/tp/t/results/quotation/empty_quotation.pl
index c4bea31..65cf6bc 100644
--- a/tp/t/results/quotation/empty_quotation.pl
+++ b/tp/t/results/quotation/empty_quotation.pl
@@ -8,6 +8,41 @@ use utf8;
$result_trees{'empty_quotation'} = {
'contents' => [
{
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'empty_quotation.info'
+ }
+ ],
+ 'extra' => {
+ 'spaces_after_argument' => '
+'
+ },
+ 'parent' => {},
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'setfilename',
+ 'extra' => {
+ 'spaces_before_argument' => ' ',
+ 'text_arg' => 'empty_quotation.info'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 1,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
'cmdname' => 'quotation',
'contents' => [
{
@@ -44,7 +79,7 @@ $result_trees{'empty_quotation'} = {
},
'line_nr' => {
'file_name' => '',
- 'line_nr' => 2,
+ 'line_nr' => 4,
'macro' => ''
},
'parent' => {}
@@ -55,7 +90,7 @@ $result_trees{'empty_quotation'} = {
},
'line_nr' => {
'file_name' => '',
- 'line_nr' => 1,
+ 'line_nr' => 3,
'macro' => ''
},
'parent' => {}
@@ -110,7 +145,7 @@ $result_trees{'empty_quotation'} = {
},
'line_nr' => {
'file_name' => '',
- 'line_nr' => 5,
+ 'line_nr' => 7,
'macro' => ''
},
'parent' => {}
@@ -122,7 +157,7 @@ $result_trees{'empty_quotation'} = {
},
'line_nr' => {
'file_name' => '',
- 'line_nr' => 4,
+ 'line_nr' => 6,
'macro' => ''
},
'parent' => {}
@@ -149,7 +184,7 @@ $result_trees{'empty_quotation'} = {
'contents' => [],
'line_nr' => {
'file_name' => '',
- 'line_nr' => 7,
+ 'line_nr' => 9,
'macro' => ''
},
'parent' => {}
@@ -190,7 +225,7 @@ $result_trees{'empty_quotation'} = {
},
'line_nr' => {
'file_name' => '',
- 'line_nr' => 8,
+ 'line_nr' => 10,
'macro' => ''
},
'parent' => {}
@@ -202,7 +237,7 @@ $result_trees{'empty_quotation'} = {
},
'line_nr' => {
'file_name' => '',
- 'line_nr' => 7,
+ 'line_nr' => 9,
'macro' => ''
},
'parent' => {}
@@ -257,7 +292,7 @@ $result_trees{'empty_quotation'} = {
},
'line_nr' => {
'file_name' => '',
- 'line_nr' => 11,
+ 'line_nr' => 13,
'macro' => ''
},
'parent' => {}
@@ -269,7 +304,7 @@ $result_trees{'empty_quotation'} = {
},
'line_nr' => {
'file_name' => '',
- 'line_nr' => 10,
+ 'line_nr' => 12,
'macro' => ''
},
'parent' => {}
@@ -277,23 +312,18 @@ $result_trees{'empty_quotation'} = {
],
'type' => 'text_root'
};
-$result_trees{'empty_quotation'}{'contents'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'empty_quotation'}{'contents'}[0];
-$result_trees{'empty_quotation'}{'contents'}[0]{'contents'}[0]{'parent'} =
$result_trees{'empty_quotation'}{'contents'}[0];
-$result_trees{'empty_quotation'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'empty_quotation'}{'contents'}[0]{'contents'}[1]{'args'}[0];
-$result_trees{'empty_quotation'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'parent'}
= $result_trees{'empty_quotation'}{'contents'}[0]{'contents'}[1];
-$result_trees{'empty_quotation'}{'contents'}[0]{'contents'}[1]{'parent'} =
$result_trees{'empty_quotation'}{'contents'}[0];
-$result_trees{'empty_quotation'}{'contents'}[0]{'extra'}{'end_command'} =
$result_trees{'empty_quotation'}{'contents'}[0]{'contents'}[1];
+$result_trees{'empty_quotation'}{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'empty_quotation'}{'contents'}[0]{'args'}[0];
+$result_trees{'empty_quotation'}{'contents'}[0]{'args'}[0]{'parent'} =
$result_trees{'empty_quotation'}{'contents'}[0];
$result_trees{'empty_quotation'}{'contents'}[0]{'parent'} =
$result_trees{'empty_quotation'};
$result_trees{'empty_quotation'}{'contents'}[1]{'parent'} =
$result_trees{'empty_quotation'};
-$result_trees{'empty_quotation'}{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'empty_quotation'}{'contents'}[2]{'args'}[0];
-$result_trees{'empty_quotation'}{'contents'}[2]{'args'}[0]{'parent'} =
$result_trees{'empty_quotation'}{'contents'}[2];
-$result_trees{'empty_quotation'}{'contents'}[2]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'empty_quotation'}{'contents'}[2]{'contents'}[0]{'args'}[0];
-$result_trees{'empty_quotation'}{'contents'}[2]{'contents'}[0]{'args'}[0]{'parent'}
= $result_trees{'empty_quotation'}{'contents'}[2]{'contents'}[0];
+$result_trees{'empty_quotation'}{'contents'}[2]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'empty_quotation'}{'contents'}[2];
$result_trees{'empty_quotation'}{'contents'}[2]{'contents'}[0]{'parent'} =
$result_trees{'empty_quotation'}{'contents'}[2];
-$result_trees{'empty_quotation'}{'contents'}[2]{'extra'}{'end_command'} =
$result_trees{'empty_quotation'}{'contents'}[2]{'contents'}[0];
+$result_trees{'empty_quotation'}{'contents'}[2]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'empty_quotation'}{'contents'}[2]{'contents'}[1]{'args'}[0];
+$result_trees{'empty_quotation'}{'contents'}[2]{'contents'}[1]{'args'}[0]{'parent'}
= $result_trees{'empty_quotation'}{'contents'}[2]{'contents'}[1];
+$result_trees{'empty_quotation'}{'contents'}[2]{'contents'}[1]{'parent'} =
$result_trees{'empty_quotation'}{'contents'}[2];
+$result_trees{'empty_quotation'}{'contents'}[2]{'extra'}{'end_command'} =
$result_trees{'empty_quotation'}{'contents'}[2]{'contents'}[1];
$result_trees{'empty_quotation'}{'contents'}[2]{'parent'} =
$result_trees{'empty_quotation'};
$result_trees{'empty_quotation'}{'contents'}[3]{'parent'} =
$result_trees{'empty_quotation'};
-$result_trees{'empty_quotation'}{'contents'}[4]{'args'}[0]{'contents'}[0]{'args'}[0]{'parent'}
= $result_trees{'empty_quotation'}{'contents'}[4]{'args'}[0]{'contents'}[0];
$result_trees{'empty_quotation'}{'contents'}[4]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'empty_quotation'}{'contents'}[4]{'args'}[0];
$result_trees{'empty_quotation'}{'contents'}[4]{'args'}[0]{'parent'} =
$result_trees{'empty_quotation'}{'contents'}[4];
$result_trees{'empty_quotation'}{'contents'}[4]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'empty_quotation'}{'contents'}[4]{'contents'}[0]{'args'}[0];
@@ -302,6 +332,7 @@
$result_trees{'empty_quotation'}{'contents'}[4]{'contents'}[0]{'parent'} = $resu
$result_trees{'empty_quotation'}{'contents'}[4]{'extra'}{'end_command'} =
$result_trees{'empty_quotation'}{'contents'}[4]{'contents'}[0];
$result_trees{'empty_quotation'}{'contents'}[4]{'parent'} =
$result_trees{'empty_quotation'};
$result_trees{'empty_quotation'}{'contents'}[5]{'parent'} =
$result_trees{'empty_quotation'};
+$result_trees{'empty_quotation'}{'contents'}[6]{'args'}[0]{'contents'}[0]{'args'}[0]{'parent'}
= $result_trees{'empty_quotation'}{'contents'}[6]{'args'}[0]{'contents'}[0];
$result_trees{'empty_quotation'}{'contents'}[6]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'empty_quotation'}{'contents'}[6]{'args'}[0];
$result_trees{'empty_quotation'}{'contents'}[6]{'args'}[0]{'parent'} =
$result_trees{'empty_quotation'}{'contents'}[6];
$result_trees{'empty_quotation'}{'contents'}[6]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'empty_quotation'}{'contents'}[6]{'contents'}[0]{'args'}[0];
@@ -309,8 +340,18 @@
$result_trees{'empty_quotation'}{'contents'}[6]{'contents'}[0]{'args'}[0]{'paren
$result_trees{'empty_quotation'}{'contents'}[6]{'contents'}[0]{'parent'} =
$result_trees{'empty_quotation'}{'contents'}[6];
$result_trees{'empty_quotation'}{'contents'}[6]{'extra'}{'end_command'} =
$result_trees{'empty_quotation'}{'contents'}[6]{'contents'}[0];
$result_trees{'empty_quotation'}{'contents'}[6]{'parent'} =
$result_trees{'empty_quotation'};
+$result_trees{'empty_quotation'}{'contents'}[7]{'parent'} =
$result_trees{'empty_quotation'};
+$result_trees{'empty_quotation'}{'contents'}[8]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'empty_quotation'}{'contents'}[8]{'args'}[0];
+$result_trees{'empty_quotation'}{'contents'}[8]{'args'}[0]{'parent'} =
$result_trees{'empty_quotation'}{'contents'}[8];
+$result_trees{'empty_quotation'}{'contents'}[8]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'empty_quotation'}{'contents'}[8]{'contents'}[0]{'args'}[0];
+$result_trees{'empty_quotation'}{'contents'}[8]{'contents'}[0]{'args'}[0]{'parent'}
= $result_trees{'empty_quotation'}{'contents'}[8]{'contents'}[0];
+$result_trees{'empty_quotation'}{'contents'}[8]{'contents'}[0]{'parent'} =
$result_trees{'empty_quotation'}{'contents'}[8];
+$result_trees{'empty_quotation'}{'contents'}[8]{'extra'}{'end_command'} =
$result_trees{'empty_quotation'}{'contents'}[8]{'contents'}[0];
+$result_trees{'empty_quotation'}{'contents'}[8]{'parent'} =
$result_trees{'empty_quotation'};
+
+$result_texis{'empty_quotation'} = '@setfilename empty_quotation.info
-$result_texis{'empty_quotation'} = '@quotation
+@quotation
@end quotation
@quotation Empty
@@ -325,6 +366,7 @@ $result_texis{'empty_quotation'} = '@quotation
$result_texts{'empty_quotation'} = '
+
Empty
@@ -343,7 +385,8 @@ $result_converted{'plaintext'}->{'empty_quotation'} = '
Empty:
: ';
-$result_converted{'html_text'}->{'empty_quotation'} = '<blockquote>
+$result_converted{'html_text'}->{'empty_quotation'} = '
+<blockquote>
</blockquote>
<blockquote>
@@ -357,7 +400,9 @@ $result_converted{'html_text'}->{'empty_quotation'} =
'<blockquote>
';
-$result_converted{'xml'}->{'empty_quotation'} = '<quotation endspaces=" ">
+$result_converted{'xml'}->{'empty_quotation'} = '<setfilename
file="empty_quotation.info" spaces=" ">empty_quotation.info</setfilename>
+
+<quotation endspaces=" ">
</quotation>
<quotation spaces=" " endspaces=" "><quotationtype>Empty</quotationtype>
@@ -371,7 +416,8 @@ $result_converted{'xml'}->{'empty_quotation'} = '<quotation
endspaces=" ">
';
-$result_converted{'docbook'}->{'empty_quotation'} = '<blockquote></blockquote>
+$result_converted{'docbook'}->{'empty_quotation'} = '
+<blockquote></blockquote>
<blockquote></blockquote>
<blockquote></blockquote>
<blockquote></blockquote>';
diff --git a/tp/t/results/latex_tests/fonttextsize/res_latex/fonttextsize.tex
b/tp/t/results/quotation/empty_quotation/res_latex/empty_quotation.tex
similarity index 85%
copy from tp/t/results/latex_tests/fonttextsize/res_latex/fonttextsize.tex
copy to tp/t/results/quotation/empty_quotation/res_latex/empty_quotation.tex
index e0e46a5..3d825db 100644
--- a/tp/t/results/latex_tests/fonttextsize/res_latex/fonttextsize.tex
+++ b/tp/t/results/quotation/empty_quotation/res_latex/empty_quotation.tex
@@ -21,6 +21,9 @@
\makeatletter
\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
\makeatother
+% add command aliases to use the same command in book and report
+\newcommand\GNUTexinfomainmatter{\mainmatter}
+\newcommand\GNUTexinfofrontmatter{\frontmatter}
% command that does nothing used to help with substitutions in commands
\newcommand{\GNUTexinfoplaceholder}[1]{}
@@ -63,27 +66,16 @@
\GNUTexinfosetsingleheader{}%
-\changefontsize{10}
-
\begin{document}
-\chapter{Chapter}
-\label{anchor:chapter}%
-
-\section{section}
-
-\subsection{Subsection 10pts}
-In 10pts
-
-\changefontsize{11}
-\subsection{Subsection 11pts}
-
-In 11pts
-
-\subsection{Subsection 8pts}
+\begin{quote}
+\end{quote}
-In 8pts
+\begin{quote}
+\textbf{Empty:} \end{quote}
-\subsection{Subsection 15pts}
+\begin{quote}
+\textbf{:} \end{quote}
-In 15pts
+\begin{quote}
+\textbf{\leavevmode{}\\:} \end{quote}
\end{document}
diff --git a/tp/t/results/quotation/quotation_and_author.pl
b/tp/t/results/quotation/quotation_and_author.pl
index c554e97..f625ed0 100644
--- a/tp/t/results/quotation/quotation_and_author.pl
+++ b/tp/t/results/quotation/quotation_and_author.pl
@@ -8,6 +8,58 @@ use utf8;
$result_trees{'quotation_and_author'} = {
'contents' => [
{
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'quotation_and_author.info'
+ }
+ ],
+ 'extra' => {
+ 'spaces_after_argument' => '
+'
+ },
+ 'parent' => {},
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'setfilename',
+ 'extra' => {
+ 'spaces_before_argument' => ' ',
+ 'text_arg' => 'quotation_and_author.info'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 1,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'Text before quotation
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
'cmdname' => 'quotation',
'contents' => [
{
@@ -43,7 +95,7 @@ $result_trees{'quotation_and_author'} = {
},
'line_nr' => {
'file_name' => '',
- 'line_nr' => 2,
+ 'line_nr' => 6,
'macro' => ''
},
'parent' => {}
@@ -84,7 +136,7 @@ $result_trees{'quotation_and_author'} = {
},
'line_nr' => {
'file_name' => '',
- 'line_nr' => 4,
+ 'line_nr' => 8,
'macro' => ''
},
'parent' => {}
@@ -98,7 +150,7 @@ $result_trees{'quotation_and_author'} = {
},
'line_nr' => {
'file_name' => '',
- 'line_nr' => 1,
+ 'line_nr' => 5,
'macro' => ''
},
'parent' => {}
@@ -110,6 +162,23 @@ $result_trees{'quotation_and_author'} = {
'type' => 'empty_line'
},
{
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'Text between quotation and smallquotation
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
'cmdname' => 'smallquotation',
'contents' => [
{
@@ -145,7 +214,7 @@ $result_trees{'quotation_and_author'} = {
},
'line_nr' => {
'file_name' => '',
- 'line_nr' => 7,
+ 'line_nr' => 13,
'macro' => ''
},
'parent' => {}
@@ -186,7 +255,7 @@ $result_trees{'quotation_and_author'} = {
},
'line_nr' => {
'file_name' => '',
- 'line_nr' => 9,
+ 'line_nr' => 15,
'macro' => ''
},
'parent' => {}
@@ -200,7 +269,7 @@ $result_trees{'quotation_and_author'} = {
},
'line_nr' => {
'file_name' => '',
- 'line_nr' => 6,
+ 'line_nr' => 12,
'macro' => ''
},
'parent' => {}
@@ -254,7 +323,7 @@ $result_trees{'quotation_and_author'} = {
},
'line_nr' => {
'file_name' => '',
- 'line_nr' => 12,
+ 'line_nr' => 18,
'macro' => ''
},
'parent' => {}
@@ -295,7 +364,7 @@ $result_trees{'quotation_and_author'} = {
},
'line_nr' => {
'file_name' => '',
- 'line_nr' => 14,
+ 'line_nr' => 20,
'macro' => ''
},
'parent' => {}
@@ -310,7 +379,7 @@ $result_trees{'quotation_and_author'} = {
},
'line_nr' => {
'file_name' => '',
- 'line_nr' => 11,
+ 'line_nr' => 17,
'macro' => ''
},
'parent' => {}
@@ -318,56 +387,72 @@ $result_trees{'quotation_and_author'} = {
],
'type' => 'text_root'
};
-$result_trees{'quotation_and_author'}{'contents'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'quotation_and_author'}{'contents'}[0];
-$result_trees{'quotation_and_author'}{'contents'}[0]{'contents'}[0]{'parent'}
= $result_trees{'quotation_and_author'}{'contents'}[0];
-$result_trees{'quotation_and_author'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'quotation_and_author'}{'contents'}[0]{'contents'}[1]{'args'}[0];
-$result_trees{'quotation_and_author'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'parent'}
= $result_trees{'quotation_and_author'}{'contents'}[0]{'contents'}[1];
-$result_trees{'quotation_and_author'}{'contents'}[0]{'contents'}[1]{'extra'}{'quotation'}
= $result_trees{'quotation_and_author'}{'contents'}[0];
-$result_trees{'quotation_and_author'}{'contents'}[0]{'contents'}[1]{'parent'}
= $result_trees{'quotation_and_author'}{'contents'}[0];
-$result_trees{'quotation_and_author'}{'contents'}[0]{'contents'}[2]{'contents'}[0]{'parent'}
= $result_trees{'quotation_and_author'}{'contents'}[0]{'contents'}[2];
-$result_trees{'quotation_and_author'}{'contents'}[0]{'contents'}[2]{'parent'}
= $result_trees{'quotation_and_author'}{'contents'}[0];
-$result_trees{'quotation_and_author'}{'contents'}[0]{'contents'}[3]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'quotation_and_author'}{'contents'}[0]{'contents'}[3]{'args'}[0];
-$result_trees{'quotation_and_author'}{'contents'}[0]{'contents'}[3]{'args'}[0]{'parent'}
= $result_trees{'quotation_and_author'}{'contents'}[0]{'contents'}[3];
-$result_trees{'quotation_and_author'}{'contents'}[0]{'contents'}[3]{'parent'}
= $result_trees{'quotation_and_author'}{'contents'}[0];
-$result_trees{'quotation_and_author'}{'contents'}[0]{'extra'}{'authors'}[0] =
$result_trees{'quotation_and_author'}{'contents'}[0]{'contents'}[1];
-$result_trees{'quotation_and_author'}{'contents'}[0]{'extra'}{'end_command'} =
$result_trees{'quotation_and_author'}{'contents'}[0]{'contents'}[3];
+$result_trees{'quotation_and_author'}{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'quotation_and_author'}{'contents'}[0]{'args'}[0];
+$result_trees{'quotation_and_author'}{'contents'}[0]{'args'}[0]{'parent'} =
$result_trees{'quotation_and_author'}{'contents'}[0];
$result_trees{'quotation_and_author'}{'contents'}[0]{'parent'} =
$result_trees{'quotation_and_author'};
$result_trees{'quotation_and_author'}{'contents'}[1]{'parent'} =
$result_trees{'quotation_and_author'};
-$result_trees{'quotation_and_author'}{'contents'}[2]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'quotation_and_author'}{'contents'}[2];
$result_trees{'quotation_and_author'}{'contents'}[2]{'contents'}[0]{'parent'}
= $result_trees{'quotation_and_author'}{'contents'}[2];
-$result_trees{'quotation_and_author'}{'contents'}[2]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'quotation_and_author'}{'contents'}[2]{'contents'}[1]{'args'}[0];
-$result_trees{'quotation_and_author'}{'contents'}[2]{'contents'}[1]{'args'}[0]{'parent'}
= $result_trees{'quotation_and_author'}{'contents'}[2]{'contents'}[1];
-$result_trees{'quotation_and_author'}{'contents'}[2]{'contents'}[1]{'extra'}{'quotation'}
= $result_trees{'quotation_and_author'}{'contents'}[2];
-$result_trees{'quotation_and_author'}{'contents'}[2]{'contents'}[1]{'parent'}
= $result_trees{'quotation_and_author'}{'contents'}[2];
-$result_trees{'quotation_and_author'}{'contents'}[2]{'contents'}[2]{'contents'}[0]{'parent'}
= $result_trees{'quotation_and_author'}{'contents'}[2]{'contents'}[2];
-$result_trees{'quotation_and_author'}{'contents'}[2]{'contents'}[2]{'parent'}
= $result_trees{'quotation_and_author'}{'contents'}[2];
-$result_trees{'quotation_and_author'}{'contents'}[2]{'contents'}[3]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'quotation_and_author'}{'contents'}[2]{'contents'}[3]{'args'}[0];
-$result_trees{'quotation_and_author'}{'contents'}[2]{'contents'}[3]{'args'}[0]{'parent'}
= $result_trees{'quotation_and_author'}{'contents'}[2]{'contents'}[3];
-$result_trees{'quotation_and_author'}{'contents'}[2]{'contents'}[3]{'parent'}
= $result_trees{'quotation_and_author'}{'contents'}[2];
-$result_trees{'quotation_and_author'}{'contents'}[2]{'extra'}{'authors'}[0] =
$result_trees{'quotation_and_author'}{'contents'}[2]{'contents'}[1];
-$result_trees{'quotation_and_author'}{'contents'}[2]{'extra'}{'end_command'} =
$result_trees{'quotation_and_author'}{'contents'}[2]{'contents'}[3];
$result_trees{'quotation_and_author'}{'contents'}[2]{'parent'} =
$result_trees{'quotation_and_author'};
$result_trees{'quotation_and_author'}{'contents'}[3]{'parent'} =
$result_trees{'quotation_and_author'};
-$result_trees{'quotation_and_author'}{'contents'}[4]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'quotation_and_author'}{'contents'}[4]{'args'}[0];
-$result_trees{'quotation_and_author'}{'contents'}[4]{'args'}[0]{'parent'} =
$result_trees{'quotation_and_author'}{'contents'}[4];
-$result_trees{'quotation_and_author'}{'contents'}[4]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'quotation_and_author'}{'contents'}[4]{'contents'}[0]{'args'}[0];
-$result_trees{'quotation_and_author'}{'contents'}[4]{'contents'}[0]{'args'}[0]{'parent'}
= $result_trees{'quotation_and_author'}{'contents'}[4]{'contents'}[0];
-$result_trees{'quotation_and_author'}{'contents'}[4]{'contents'}[0]{'extra'}{'quotation'}
= $result_trees{'quotation_and_author'}{'contents'}[4];
+$result_trees{'quotation_and_author'}{'contents'}[4]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'quotation_and_author'}{'contents'}[4];
$result_trees{'quotation_and_author'}{'contents'}[4]{'contents'}[0]{'parent'}
= $result_trees{'quotation_and_author'}{'contents'}[4];
-$result_trees{'quotation_and_author'}{'contents'}[4]{'contents'}[1]{'contents'}[0]{'parent'}
= $result_trees{'quotation_and_author'}{'contents'}[4]{'contents'}[1];
+$result_trees{'quotation_and_author'}{'contents'}[4]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'quotation_and_author'}{'contents'}[4]{'contents'}[1]{'args'}[0];
+$result_trees{'quotation_and_author'}{'contents'}[4]{'contents'}[1]{'args'}[0]{'parent'}
= $result_trees{'quotation_and_author'}{'contents'}[4]{'contents'}[1];
+$result_trees{'quotation_and_author'}{'contents'}[4]{'contents'}[1]{'extra'}{'quotation'}
= $result_trees{'quotation_and_author'}{'contents'}[4];
$result_trees{'quotation_and_author'}{'contents'}[4]{'contents'}[1]{'parent'}
= $result_trees{'quotation_and_author'}{'contents'}[4];
-$result_trees{'quotation_and_author'}{'contents'}[4]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'quotation_and_author'}{'contents'}[4]{'contents'}[2]{'args'}[0];
-$result_trees{'quotation_and_author'}{'contents'}[4]{'contents'}[2]{'args'}[0]{'parent'}
= $result_trees{'quotation_and_author'}{'contents'}[4]{'contents'}[2];
+$result_trees{'quotation_and_author'}{'contents'}[4]{'contents'}[2]{'contents'}[0]{'parent'}
= $result_trees{'quotation_and_author'}{'contents'}[4]{'contents'}[2];
$result_trees{'quotation_and_author'}{'contents'}[4]{'contents'}[2]{'parent'}
= $result_trees{'quotation_and_author'}{'contents'}[4];
-$result_trees{'quotation_and_author'}{'contents'}[4]{'extra'}{'authors'}[0] =
$result_trees{'quotation_and_author'}{'contents'}[4]{'contents'}[0];
-$result_trees{'quotation_and_author'}{'contents'}[4]{'extra'}{'end_command'} =
$result_trees{'quotation_and_author'}{'contents'}[4]{'contents'}[2];
+$result_trees{'quotation_and_author'}{'contents'}[4]{'contents'}[3]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'quotation_and_author'}{'contents'}[4]{'contents'}[3]{'args'}[0];
+$result_trees{'quotation_and_author'}{'contents'}[4]{'contents'}[3]{'args'}[0]{'parent'}
= $result_trees{'quotation_and_author'}{'contents'}[4]{'contents'}[3];
+$result_trees{'quotation_and_author'}{'contents'}[4]{'contents'}[3]{'parent'}
= $result_trees{'quotation_and_author'}{'contents'}[4];
+$result_trees{'quotation_and_author'}{'contents'}[4]{'extra'}{'authors'}[0] =
$result_trees{'quotation_and_author'}{'contents'}[4]{'contents'}[1];
+$result_trees{'quotation_and_author'}{'contents'}[4]{'extra'}{'end_command'} =
$result_trees{'quotation_and_author'}{'contents'}[4]{'contents'}[3];
$result_trees{'quotation_and_author'}{'contents'}[4]{'parent'} =
$result_trees{'quotation_and_author'};
+$result_trees{'quotation_and_author'}{'contents'}[5]{'parent'} =
$result_trees{'quotation_and_author'};
+$result_trees{'quotation_and_author'}{'contents'}[6]{'contents'}[0]{'parent'}
= $result_trees{'quotation_and_author'}{'contents'}[6];
+$result_trees{'quotation_and_author'}{'contents'}[6]{'parent'} =
$result_trees{'quotation_and_author'};
+$result_trees{'quotation_and_author'}{'contents'}[7]{'parent'} =
$result_trees{'quotation_and_author'};
+$result_trees{'quotation_and_author'}{'contents'}[8]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'quotation_and_author'}{'contents'}[8];
+$result_trees{'quotation_and_author'}{'contents'}[8]{'contents'}[0]{'parent'}
= $result_trees{'quotation_and_author'}{'contents'}[8];
+$result_trees{'quotation_and_author'}{'contents'}[8]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'quotation_and_author'}{'contents'}[8]{'contents'}[1]{'args'}[0];
+$result_trees{'quotation_and_author'}{'contents'}[8]{'contents'}[1]{'args'}[0]{'parent'}
= $result_trees{'quotation_and_author'}{'contents'}[8]{'contents'}[1];
+$result_trees{'quotation_and_author'}{'contents'}[8]{'contents'}[1]{'extra'}{'quotation'}
= $result_trees{'quotation_and_author'}{'contents'}[8];
+$result_trees{'quotation_and_author'}{'contents'}[8]{'contents'}[1]{'parent'}
= $result_trees{'quotation_and_author'}{'contents'}[8];
+$result_trees{'quotation_and_author'}{'contents'}[8]{'contents'}[2]{'contents'}[0]{'parent'}
= $result_trees{'quotation_and_author'}{'contents'}[8]{'contents'}[2];
+$result_trees{'quotation_and_author'}{'contents'}[8]{'contents'}[2]{'parent'}
= $result_trees{'quotation_and_author'}{'contents'}[8];
+$result_trees{'quotation_and_author'}{'contents'}[8]{'contents'}[3]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'quotation_and_author'}{'contents'}[8]{'contents'}[3]{'args'}[0];
+$result_trees{'quotation_and_author'}{'contents'}[8]{'contents'}[3]{'args'}[0]{'parent'}
= $result_trees{'quotation_and_author'}{'contents'}[8]{'contents'}[3];
+$result_trees{'quotation_and_author'}{'contents'}[8]{'contents'}[3]{'parent'}
= $result_trees{'quotation_and_author'}{'contents'}[8];
+$result_trees{'quotation_and_author'}{'contents'}[8]{'extra'}{'authors'}[0] =
$result_trees{'quotation_and_author'}{'contents'}[8]{'contents'}[1];
+$result_trees{'quotation_and_author'}{'contents'}[8]{'extra'}{'end_command'} =
$result_trees{'quotation_and_author'}{'contents'}[8]{'contents'}[3];
+$result_trees{'quotation_and_author'}{'contents'}[8]{'parent'} =
$result_trees{'quotation_and_author'};
+$result_trees{'quotation_and_author'}{'contents'}[9]{'parent'} =
$result_trees{'quotation_and_author'};
+$result_trees{'quotation_and_author'}{'contents'}[10]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'quotation_and_author'}{'contents'}[10]{'args'}[0];
+$result_trees{'quotation_and_author'}{'contents'}[10]{'args'}[0]{'parent'} =
$result_trees{'quotation_and_author'}{'contents'}[10];
+$result_trees{'quotation_and_author'}{'contents'}[10]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'quotation_and_author'}{'contents'}[10]{'contents'}[0]{'args'}[0];
+$result_trees{'quotation_and_author'}{'contents'}[10]{'contents'}[0]{'args'}[0]{'parent'}
= $result_trees{'quotation_and_author'}{'contents'}[10]{'contents'}[0];
+$result_trees{'quotation_and_author'}{'contents'}[10]{'contents'}[0]{'extra'}{'quotation'}
= $result_trees{'quotation_and_author'}{'contents'}[10];
+$result_trees{'quotation_and_author'}{'contents'}[10]{'contents'}[0]{'parent'}
= $result_trees{'quotation_and_author'}{'contents'}[10];
+$result_trees{'quotation_and_author'}{'contents'}[10]{'contents'}[1]{'contents'}[0]{'parent'}
= $result_trees{'quotation_and_author'}{'contents'}[10]{'contents'}[1];
+$result_trees{'quotation_and_author'}{'contents'}[10]{'contents'}[1]{'parent'}
= $result_trees{'quotation_and_author'}{'contents'}[10];
+$result_trees{'quotation_and_author'}{'contents'}[10]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'quotation_and_author'}{'contents'}[10]{'contents'}[2]{'args'}[0];
+$result_trees{'quotation_and_author'}{'contents'}[10]{'contents'}[2]{'args'}[0]{'parent'}
= $result_trees{'quotation_and_author'}{'contents'}[10]{'contents'}[2];
+$result_trees{'quotation_and_author'}{'contents'}[10]{'contents'}[2]{'parent'}
= $result_trees{'quotation_and_author'}{'contents'}[10];
+$result_trees{'quotation_and_author'}{'contents'}[10]{'extra'}{'authors'}[0] =
$result_trees{'quotation_and_author'}{'contents'}[10]{'contents'}[0];
+$result_trees{'quotation_and_author'}{'contents'}[10]{'extra'}{'end_command'}
= $result_trees{'quotation_and_author'}{'contents'}[10]{'contents'}[2];
+$result_trees{'quotation_and_author'}{'contents'}[10]{'parent'} =
$result_trees{'quotation_and_author'};
+
+$result_texis{'quotation_and_author'} = '@setfilename quotation_and_author.info
-$result_texis{'quotation_and_author'} = '@quotation
+Text before quotation
+
+@quotation
@author Some One
A quot---ation
@end quotation
+Text between quotation and smallquotation
+
@smallquotation
@author An Author Name
in small---quotation.
@@ -380,7 +465,12 @@ A Note
';
-$result_texts{'quotation_and_author'} = 'A quot--ation
+$result_texts{'quotation_and_author'} = '
+Text before quotation
+
+A quot--ation
+
+Text between quotation and smallquotation
in small--quotation.
@@ -395,9 +485,13 @@ $result_floats{'quotation_and_author'} = {};
-$result_converted{'plaintext'}->{'quotation_and_author'} = ' A quot--ation
+$result_converted{'plaintext'}->{'quotation_and_author'} = 'Text before
quotation
+
+ A quot--ation
-- _Some One_
+ Text between quotation and smallquotation
+
in small--quotation.
-- _An Author Name_
@@ -406,11 +500,16 @@ $result_converted{'plaintext'}->{'quotation_and_author'}
= ' A quot--ation
';
-$result_converted{'html_text'}->{'quotation_and_author'} = '<blockquote>
+$result_converted{'html_text'}->{'quotation_and_author'} = '
+<p>Text before quotation
+</p>
+<blockquote>
<p>A quot—ation
</p></blockquote>
<div align="center">— <em>Some One</em>
</div>
+<p>Text between quotation and smallquotation
+</p>
<blockquote>
<p>in small—quotation.
</p></blockquote>
@@ -423,11 +522,17 @@ $result_converted{'html_text'}->{'quotation_and_author'}
= '<blockquote>
</div>';
-$result_converted{'xml'}->{'quotation_and_author'} = '<quotation endspaces="
">
+$result_converted{'xml'}->{'quotation_and_author'} = '<setfilename
file="quotation_and_author.info" spaces="
">quotation_and_author.info</setfilename>
+
+<para>Text before quotation
+</para>
+<quotation endspaces=" ">
<author spaces=" ">Some One</author>
<para>A quot&textmdash;ation
</para></quotation>
+<para>Text between quotation and smallquotation
+</para>
<smallquotation endspaces=" ">
<author spaces=" ">An Author Name</author>
<para>in small&textmdash;quotation.
@@ -440,9 +545,14 @@ $result_converted{'xml'}->{'quotation_and_author'} =
'<quotation endspaces=" ">
';
-$result_converted{'docbook'}->{'quotation_and_author'} =
'<blockquote><attribution>Some One</attribution>
+$result_converted{'docbook'}->{'quotation_and_author'} = '
+<para>Text before quotation
+</para>
+<blockquote><attribution>Some One</attribution>
<para>A quot—ation
</para></blockquote>
+<para>Text between quotation and smallquotation
+</para>
<blockquote><attribution>An Author Name</attribution>
<para>in small—quotation.
</para></blockquote>
diff --git a/tp/t/results/latex_tests/fonttextsize/res_latex/fonttextsize.tex
b/tp/t/results/quotation/quotation_and_author/res_latex/quotation_and_author.tex
similarity index 77%
copy from tp/t/results/latex_tests/fonttextsize/res_latex/fonttextsize.tex
copy to
tp/t/results/quotation/quotation_and_author/res_latex/quotation_and_author.tex
index e0e46a5..b00c165 100644
--- a/tp/t/results/latex_tests/fonttextsize/res_latex/fonttextsize.tex
+++
b/tp/t/results/quotation/quotation_and_author/res_latex/quotation_and_author.tex
@@ -21,6 +21,9 @@
\makeatletter
\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
\makeatother
+% add command aliases to use the same command in book and report
+\newcommand\GNUTexinfomainmatter{\mainmatter}
+\newcommand\GNUTexinfofrontmatter{\frontmatter}
% command that does nothing used to help with substitutions in commands
\newcommand{\GNUTexinfoplaceholder}[1]{}
@@ -63,27 +66,31 @@
\GNUTexinfosetsingleheader{}%
-\changefontsize{10}
-
\begin{document}
-\chapter{Chapter}
-\label{anchor:chapter}%
-
-\section{section}
-
-\subsection{Subsection 10pts}
-In 10pts
-
-\changefontsize{11}
-\subsection{Subsection 11pts}
-
-In 11pts
-
-\subsection{Subsection 8pts}
-
-In 8pts
-
-\subsection{Subsection 15pts}
-
-In 15pts
+Text before quotation
+
+\begin{quote}
+A quot---ation
+\end{quote}
+\begin{center}
+--- \emph{Some One}
+\end{center}
+
+Text between quotation and smallquotation
+
+\begin{quote}
+\begin{footnotesize}
+in small---quotation.
+\end{footnotesize}
+\end{quote}
+\begin{center}
+--- \emph{An Author Name}
+\end{center}
+
+\begin{quote}
+\textbf{Note:} A Note
+\end{quote}
+\begin{center}
+--- \emph{Some Notifier}
+\end{center}
\end{document}
diff --git a/tp/t/results/quotation/quotation_author_in_example.pl
b/tp/t/results/quotation/quotation_author_in_example.pl
index 25fd062..ec5e69e 100644
--- a/tp/t/results/quotation/quotation_author_in_example.pl
+++ b/tp/t/results/quotation/quotation_author_in_example.pl
@@ -8,6 +8,41 @@ use utf8;
$result_trees{'quotation_author_in_example'} = {
'contents' => [
{
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'quotation_author_in_example.info'
+ }
+ ],
+ 'extra' => {
+ 'spaces_after_argument' => '
+'
+ },
+ 'parent' => {},
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'setfilename',
+ 'extra' => {
+ 'spaces_before_argument' => ' ',
+ 'text_arg' => 'quotation_author_in_example.info'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 1,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
'cmdname' => 'example',
'contents' => [
{
@@ -57,7 +92,7 @@ $result_trees{'quotation_author_in_example'} = {
},
'line_nr' => {
'file_name' => '',
- 'line_nr' => 3,
+ 'line_nr' => 5,
'macro' => ''
},
'parent' => {}
@@ -96,7 +131,7 @@ $result_trees{'quotation_author_in_example'} = {
},
'line_nr' => {
'file_name' => '',
- 'line_nr' => 5,
+ 'line_nr' => 7,
'macro' => ''
},
'parent' => {}
@@ -110,7 +145,7 @@ $result_trees{'quotation_author_in_example'} = {
},
'line_nr' => {
'file_name' => '',
- 'line_nr' => 2,
+ 'line_nr' => 4,
'macro' => ''
},
'parent' => {}
@@ -140,7 +175,7 @@ $result_trees{'quotation_author_in_example'} = {
},
'line_nr' => {
'file_name' => '',
- 'line_nr' => 6,
+ 'line_nr' => 8,
'macro' => ''
},
'parent' => {}
@@ -151,7 +186,7 @@ $result_trees{'quotation_author_in_example'} = {
},
'line_nr' => {
'file_name' => '',
- 'line_nr' => 1,
+ 'line_nr' => 3,
'macro' => ''
},
'parent' => {}
@@ -159,29 +194,35 @@ $result_trees{'quotation_author_in_example'} = {
],
'type' => 'text_root'
};
-$result_trees{'quotation_author_in_example'}{'contents'}[0]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'quotation_author_in_example'}{'contents'}[0];
-$result_trees{'quotation_author_in_example'}{'contents'}[0]{'contents'}[0]{'parent'}
= $result_trees{'quotation_author_in_example'}{'contents'}[0];
-$result_trees{'quotation_author_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'quotation_author_in_example'}{'contents'}[0]{'contents'}[1];
-$result_trees{'quotation_author_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'parent'}
= $result_trees{'quotation_author_in_example'}{'contents'}[0]{'contents'}[1];
-$result_trees{'quotation_author_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'quotation_author_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[0]{'args'}[0];
-$result_trees{'quotation_author_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[0]{'args'}[0]{'parent'}
=
$result_trees{'quotation_author_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[0];
-$result_trees{'quotation_author_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[0]{'extra'}{'quotation'}
= $result_trees{'quotation_author_in_example'}{'contents'}[0]{'contents'}[1];
-$result_trees{'quotation_author_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'quotation_author_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1];
-$result_trees{'quotation_author_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[1]{'parent'}
=
$result_trees{'quotation_author_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1];
-$result_trees{'quotation_author_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'parent'}
= $result_trees{'quotation_author_in_example'}{'contents'}[0]{'contents'}[1];
-$result_trees{'quotation_author_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'quotation_author_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[2]{'args'}[0];
-$result_trees{'quotation_author_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[2]{'args'}[0]{'parent'}
=
$result_trees{'quotation_author_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[2];
-$result_trees{'quotation_author_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[2]{'parent'}
= $result_trees{'quotation_author_in_example'}{'contents'}[0]{'contents'}[1];
-$result_trees{'quotation_author_in_example'}{'contents'}[0]{'contents'}[1]{'extra'}{'authors'}[0]
=
$result_trees{'quotation_author_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[0];
-$result_trees{'quotation_author_in_example'}{'contents'}[0]{'contents'}[1]{'extra'}{'end_command'}
=
$result_trees{'quotation_author_in_example'}{'contents'}[0]{'contents'}[1]{'contents'}[2];
-$result_trees{'quotation_author_in_example'}{'contents'}[0]{'contents'}[1]{'parent'}
= $result_trees{'quotation_author_in_example'}{'contents'}[0];
-$result_trees{'quotation_author_in_example'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'quotation_author_in_example'}{'contents'}[0]{'contents'}[2]{'args'}[0];
-$result_trees{'quotation_author_in_example'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'parent'}
= $result_trees{'quotation_author_in_example'}{'contents'}[0]{'contents'}[2];
-$result_trees{'quotation_author_in_example'}{'contents'}[0]{'contents'}[2]{'parent'}
= $result_trees{'quotation_author_in_example'}{'contents'}[0];
-$result_trees{'quotation_author_in_example'}{'contents'}[0]{'extra'}{'end_command'}
= $result_trees{'quotation_author_in_example'}{'contents'}[0]{'contents'}[2];
+$result_trees{'quotation_author_in_example'}{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'quotation_author_in_example'}{'contents'}[0]{'args'}[0];
+$result_trees{'quotation_author_in_example'}{'contents'}[0]{'args'}[0]{'parent'}
= $result_trees{'quotation_author_in_example'}{'contents'}[0];
$result_trees{'quotation_author_in_example'}{'contents'}[0]{'parent'} =
$result_trees{'quotation_author_in_example'};
+$result_trees{'quotation_author_in_example'}{'contents'}[1]{'parent'} =
$result_trees{'quotation_author_in_example'};
+$result_trees{'quotation_author_in_example'}{'contents'}[2]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'quotation_author_in_example'}{'contents'}[2];
+$result_trees{'quotation_author_in_example'}{'contents'}[2]{'contents'}[0]{'parent'}
= $result_trees{'quotation_author_in_example'}{'contents'}[2];
+$result_trees{'quotation_author_in_example'}{'contents'}[2]{'contents'}[1]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'quotation_author_in_example'}{'contents'}[2]{'contents'}[1];
+$result_trees{'quotation_author_in_example'}{'contents'}[2]{'contents'}[1]{'contents'}[0]{'parent'}
= $result_trees{'quotation_author_in_example'}{'contents'}[2]{'contents'}[1];
+$result_trees{'quotation_author_in_example'}{'contents'}[2]{'contents'}[1]{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'quotation_author_in_example'}{'contents'}[2]{'contents'}[1]{'contents'}[1]{'contents'}[0]{'args'}[0];
+$result_trees{'quotation_author_in_example'}{'contents'}[2]{'contents'}[1]{'contents'}[1]{'contents'}[0]{'args'}[0]{'parent'}
=
$result_trees{'quotation_author_in_example'}{'contents'}[2]{'contents'}[1]{'contents'}[1]{'contents'}[0];
+$result_trees{'quotation_author_in_example'}{'contents'}[2]{'contents'}[1]{'contents'}[1]{'contents'}[0]{'extra'}{'quotation'}
= $result_trees{'quotation_author_in_example'}{'contents'}[2]{'contents'}[1];
+$result_trees{'quotation_author_in_example'}{'contents'}[2]{'contents'}[1]{'contents'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'quotation_author_in_example'}{'contents'}[2]{'contents'}[1]{'contents'}[1];
+$result_trees{'quotation_author_in_example'}{'contents'}[2]{'contents'}[1]{'contents'}[1]{'contents'}[1]{'parent'}
=
$result_trees{'quotation_author_in_example'}{'contents'}[2]{'contents'}[1]{'contents'}[1];
+$result_trees{'quotation_author_in_example'}{'contents'}[2]{'contents'}[1]{'contents'}[1]{'parent'}
= $result_trees{'quotation_author_in_example'}{'contents'}[2]{'contents'}[1];
+$result_trees{'quotation_author_in_example'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'quotation_author_in_example'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'args'}[0];
+$result_trees{'quotation_author_in_example'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'args'}[0]{'parent'}
=
$result_trees{'quotation_author_in_example'}{'contents'}[2]{'contents'}[1]{'contents'}[2];
+$result_trees{'quotation_author_in_example'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'parent'}
= $result_trees{'quotation_author_in_example'}{'contents'}[2]{'contents'}[1];
+$result_trees{'quotation_author_in_example'}{'contents'}[2]{'contents'}[1]{'extra'}{'authors'}[0]
=
$result_trees{'quotation_author_in_example'}{'contents'}[2]{'contents'}[1]{'contents'}[1]{'contents'}[0];
+$result_trees{'quotation_author_in_example'}{'contents'}[2]{'contents'}[1]{'extra'}{'end_command'}
=
$result_trees{'quotation_author_in_example'}{'contents'}[2]{'contents'}[1]{'contents'}[2];
+$result_trees{'quotation_author_in_example'}{'contents'}[2]{'contents'}[1]{'parent'}
= $result_trees{'quotation_author_in_example'}{'contents'}[2];
+$result_trees{'quotation_author_in_example'}{'contents'}[2]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'quotation_author_in_example'}{'contents'}[2]{'contents'}[2]{'args'}[0];
+$result_trees{'quotation_author_in_example'}{'contents'}[2]{'contents'}[2]{'args'}[0]{'parent'}
= $result_trees{'quotation_author_in_example'}{'contents'}[2]{'contents'}[2];
+$result_trees{'quotation_author_in_example'}{'contents'}[2]{'contents'}[2]{'parent'}
= $result_trees{'quotation_author_in_example'}{'contents'}[2];
+$result_trees{'quotation_author_in_example'}{'contents'}[2]{'extra'}{'end_command'}
= $result_trees{'quotation_author_in_example'}{'contents'}[2]{'contents'}[2];
+$result_trees{'quotation_author_in_example'}{'contents'}[2]{'parent'} =
$result_trees{'quotation_author_in_example'};
-$result_texis{'quotation_author_in_example'} = '@example
+$result_texis{'quotation_author_in_example'} = '@setfilename
quotation_author_in_example.info
+
+@example
@quotation
@author Some One
A quot---ation
@@ -190,7 +231,8 @@ A quot---ation
';
-$result_texts{'quotation_author_in_example'} = 'A quot---ation
+$result_texts{'quotation_author_in_example'} = '
+A quot---ation
';
$result_errors{'quotation_author_in_example'} = [];
@@ -205,7 +247,8 @@
$result_converted{'plaintext'}->{'quotation_author_in_example'} = ' A q
';
-$result_converted{'html_text'}->{'quotation_author_in_example'} = '<div
class="example">
+$result_converted{'html_text'}->{'quotation_author_in_example'} = '
+<div class="example">
<blockquote>
<pre class="example">A quot---ation
</pre></blockquote>
@@ -214,7 +257,9 @@
$result_converted{'html_text'}->{'quotation_author_in_example'} = '<div class="e
';
-$result_converted{'xml'}->{'quotation_author_in_example'} = '<example
endspaces=" ">
+$result_converted{'xml'}->{'quotation_author_in_example'} = '<setfilename
file="quotation_author_in_example.info" spaces="
">quotation_author_in_example.info</setfilename>
+
+<example endspaces=" ">
<quotation endspaces=" ">
<pre xml:space="preserve"><author spaces=" ">Some One</author>
A quot---ation
@@ -223,7 +268,8 @@ A quot---ation
';
-$result_converted{'docbook'}->{'quotation_author_in_example'} =
'<blockquote><attribution>Some One</attribution>
+$result_converted{'docbook'}->{'quotation_author_in_example'} = '
+<blockquote><attribution>Some One</attribution>
<screen>A quot---ation
</screen></blockquote>';
diff --git a/tp/t/results/latex_tests/fonttextsize/res_latex/fonttextsize.tex
b/tp/t/results/quotation/quotation_author_in_example/res_latex/quotation_author_in_example.tex
similarity index 84%
copy from tp/t/results/latex_tests/fonttextsize/res_latex/fonttextsize.tex
copy to
tp/t/results/quotation/quotation_author_in_example/res_latex/quotation_author_in_example.tex
index e0e46a5..4b0ef2a 100644
--- a/tp/t/results/latex_tests/fonttextsize/res_latex/fonttextsize.tex
+++
b/tp/t/results/quotation/quotation_author_in_example/res_latex/quotation_author_in_example.tex
@@ -21,6 +21,9 @@
\makeatletter
\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
\makeatother
+% add command aliases to use the same command in book and report
+\newcommand\GNUTexinfomainmatter{\mainmatter}
+\newcommand\GNUTexinfofrontmatter{\frontmatter}
% command that does nothing used to help with substitutions in commands
\newcommand{\GNUTexinfoplaceholder}[1]{}
@@ -63,27 +66,13 @@
\GNUTexinfosetsingleheader{}%
-\changefontsize{10}
-
\begin{document}
-\chapter{Chapter}
-\label{anchor:chapter}%
-
-\section{section}
-
-\subsection{Subsection 10pts}
-In 10pts
-
-\changefontsize{11}
-\subsection{Subsection 11pts}
-
-In 11pts
-
-\subsection{Subsection 8pts}
-
-In 8pts
-
-\subsection{Subsection 15pts}
-
-In 15pts
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+\begin{quote}
+A quot---ation
+\end{quote}
+\begin{center}
+--- \emph{Some One}
+\end{center}
+\endgroup{}%
\end{document}
diff --git a/tp/t/results/quotation/space_at_commands_end_quotation_line.pl
b/tp/t/results/quotation/space_at_commands_end_quotation_line.pl
index 7f59b32..172de3e 100644
--- a/tp/t/results/quotation/space_at_commands_end_quotation_line.pl
+++ b/tp/t/results/quotation/space_at_commands_end_quotation_line.pl
@@ -8,6 +8,35 @@ use utf8;
$result_trees{'space_at_commands_end_quotation_line'} = {
'contents' => [
{
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'space_at_commands_end_quotation_line.info'
+ }
+ ],
+ 'extra' => {
+ 'spaces_after_argument' => '
+'
+ },
+ 'parent' => {},
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'setfilename',
+ 'extra' => {
+ 'spaces_before_argument' => ' ',
+ 'text_arg' => 'space_at_commands_end_quotation_line.info'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 1,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
'parent' => {},
'text' => '
',
@@ -89,7 +118,7 @@ $result_trees{'space_at_commands_end_quotation_line'} = {
},
'line_nr' => {
'file_name' => '',
- 'line_nr' => 4,
+ 'line_nr' => 5,
'macro' => ''
},
'parent' => {}
@@ -101,7 +130,7 @@ $result_trees{'space_at_commands_end_quotation_line'} = {
},
'line_nr' => {
'file_name' => '',
- 'line_nr' => 2,
+ 'line_nr' => 3,
'macro' => ''
},
'parent' => {}
@@ -199,7 +228,7 @@ $result_trees{'space_at_commands_end_quotation_line'} = {
},
'line_nr' => {
'file_name' => '',
- 'line_nr' => 8,
+ 'line_nr' => 9,
'macro' => ''
},
'parent' => {}
@@ -211,7 +240,7 @@ $result_trees{'space_at_commands_end_quotation_line'} = {
},
'line_nr' => {
'file_name' => '',
- 'line_nr' => 6,
+ 'line_nr' => 7,
'macro' => ''
},
'parent' => {}
@@ -219,42 +248,46 @@ $result_trees{'space_at_commands_end_quotation_line'} = {
],
'type' => 'text_root'
};
+$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[0]{'args'}[0];
+$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[0]{'args'}[0]{'parent'}
= $result_trees{'space_at_commands_end_quotation_line'}{'contents'}[0];
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[0]{'parent'}
= $result_trees{'space_at_commands_end_quotation_line'};
-$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[1]{'args'}[0];
-$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[1]{'args'}[0];
-$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[1]{'args'}[0];
-$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[1]{'args'}[0]{'parent'}
= $result_trees{'space_at_commands_end_quotation_line'}{'contents'}[1];
-$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[1]{'contents'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[1]{'contents'}[0];
-$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[1]{'contents'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[1]{'contents'}[0];
-$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[1]{'contents'}[0]{'contents'}[2]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[1]{'contents'}[0];
-$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[1]{'contents'}[0]{'contents'}[3]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[1]{'contents'}[0];
-$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[1]{'contents'}[0]{'contents'}[4]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[1]{'contents'}[0];
-$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[1]{'contents'}[0]{'parent'}
= $result_trees{'space_at_commands_end_quotation_line'}{'contents'}[1];
-$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[1]{'contents'}[1]{'args'}[0];
-$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[1]{'contents'}[1]{'args'}[0]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[1]{'contents'}[1];
-$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[1]{'contents'}[1]{'parent'}
= $result_trees{'space_at_commands_end_quotation_line'}{'contents'}[1];
-$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[1]{'extra'}{'end_command'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[1]{'contents'}[1];
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[1]{'parent'}
= $result_trees{'space_at_commands_end_quotation_line'};
+$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[2]{'args'}[0];
+$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[2]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[2]{'args'}[0];
+$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[2]{'args'}[0]{'contents'}[2]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[2]{'args'}[0];
+$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[2]{'args'}[0]{'parent'}
= $result_trees{'space_at_commands_end_quotation_line'}{'contents'}[2];
+$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[2]{'contents'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[2]{'contents'}[0];
+$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[2]{'contents'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[2]{'contents'}[0];
+$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[2]{'contents'}[0]{'contents'}[2]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[2]{'contents'}[0];
+$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[2]{'contents'}[0]{'contents'}[3]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[2]{'contents'}[0];
+$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[2]{'contents'}[0]{'contents'}[4]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[2]{'contents'}[0];
+$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[2]{'contents'}[0]{'parent'}
= $result_trees{'space_at_commands_end_quotation_line'}{'contents'}[2];
+$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[2]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[2]{'contents'}[1]{'args'}[0];
+$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[2]{'contents'}[1]{'args'}[0]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[2]{'contents'}[1];
+$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[2]{'contents'}[1]{'parent'}
= $result_trees{'space_at_commands_end_quotation_line'}{'contents'}[2];
+$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[2]{'extra'}{'end_command'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[2]{'contents'}[1];
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[2]{'parent'}
= $result_trees{'space_at_commands_end_quotation_line'};
-$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[3]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[3]{'args'}[0];
-$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[3]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[3]{'args'}[0];
-$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[3]{'args'}[0]{'contents'}[2]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[3]{'args'}[0];
-$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[3]{'args'}[0]{'contents'}[3]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[3]{'args'}[0];
-$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[3]{'args'}[0]{'parent'}
= $result_trees{'space_at_commands_end_quotation_line'}{'contents'}[3];
-$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[3]{'contents'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[3]{'contents'}[0];
-$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[3]{'contents'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[3]{'contents'}[0];
-$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[3]{'contents'}[0]{'contents'}[2]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[3]{'contents'}[0];
-$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[3]{'contents'}[0]{'contents'}[3]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[3]{'contents'}[0];
-$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[3]{'contents'}[0]{'contents'}[4]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[3]{'contents'}[0];
-$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[3]{'contents'}[0]{'contents'}[5]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[3]{'contents'}[0];
-$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[3]{'contents'}[0]{'parent'}
= $result_trees{'space_at_commands_end_quotation_line'}{'contents'}[3];
-$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[3]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[3]{'contents'}[1]{'args'}[0];
-$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[3]{'contents'}[1]{'args'}[0]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[3]{'contents'}[1];
-$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[3]{'contents'}[1]{'parent'}
= $result_trees{'space_at_commands_end_quotation_line'}{'contents'}[3];
-$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[3]{'extra'}{'end_command'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[3]{'contents'}[1];
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[3]{'parent'}
= $result_trees{'space_at_commands_end_quotation_line'};
+$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[4]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[4]{'args'}[0];
+$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[4]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[4]{'args'}[0];
+$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[4]{'args'}[0]{'contents'}[2]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[4]{'args'}[0];
+$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[4]{'args'}[0]{'contents'}[3]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[4]{'args'}[0];
+$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[4]{'args'}[0]{'parent'}
= $result_trees{'space_at_commands_end_quotation_line'}{'contents'}[4];
+$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[4]{'contents'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[4]{'contents'}[0];
+$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[4]{'contents'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[4]{'contents'}[0];
+$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[4]{'contents'}[0]{'contents'}[2]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[4]{'contents'}[0];
+$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[4]{'contents'}[0]{'contents'}[3]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[4]{'contents'}[0];
+$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[4]{'contents'}[0]{'contents'}[4]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[4]{'contents'}[0];
+$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[4]{'contents'}[0]{'contents'}[5]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[4]{'contents'}[0];
+$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[4]{'contents'}[0]{'parent'}
= $result_trees{'space_at_commands_end_quotation_line'}{'contents'}[4];
+$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[4]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[4]{'contents'}[1]{'args'}[0];
+$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[4]{'contents'}[1]{'args'}[0]{'parent'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[4]{'contents'}[1];
+$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[4]{'contents'}[1]{'parent'}
= $result_trees{'space_at_commands_end_quotation_line'}{'contents'}[4];
+$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[4]{'extra'}{'end_command'}
=
$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[4]{'contents'}[1];
+$result_trees{'space_at_commands_end_quotation_line'}{'contents'}[4]{'parent'}
= $result_trees{'space_at_commands_end_quotation_line'};
+
+$result_texis{'space_at_commands_end_quotation_line'} = '@setfilename
space_at_commands_end_quotation_line.info
-$result_texis{'space_at_commands_end_quotation_line'} = '
@quotation @@ at the end of line @
A @@ at the end of the @@quotation line.
@end quotation
@@ -297,7 +330,8 @@
$result_converted{'html_text'}->{'space_at_commands_end_quotation_line'} = '
';
-$result_converted{'xml'}->{'space_at_commands_end_quotation_line'} = '
+$result_converted{'xml'}->{'space_at_commands_end_quotation_line'} =
'<setfilename file="space_at_commands_end_quotation_line.info" spaces="
">space_at_commands_end_quotation_line.info</setfilename>
+
<quotation spaces=" " endspaces=" "><quotationtype>&arobase; at the end of
line <spacecmd type="nl"/></quotationtype><para>A &arobase; at the end of the
&arobase;quotation line.
</para></quotation>
diff --git a/tp/t/results/latex_tests/fonttextsize/res_latex/fonttextsize.tex
b/tp/t/results/quotation/space_at_commands_end_quotation_line/res_latex/space_at_commands_end_quotation_line.tex
similarity index 83%
copy from tp/t/results/latex_tests/fonttextsize/res_latex/fonttextsize.tex
copy to
tp/t/results/quotation/space_at_commands_end_quotation_line/res_latex/space_at_commands_end_quotation_line.tex
index e0e46a5..aa8069f 100644
--- a/tp/t/results/latex_tests/fonttextsize/res_latex/fonttextsize.tex
+++
b/tp/t/results/quotation/space_at_commands_end_quotation_line/res_latex/space_at_commands_end_quotation_line.tex
@@ -21,6 +21,9 @@
\makeatletter
\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
\makeatother
+% add command aliases to use the same command in book and report
+\newcommand\GNUTexinfomainmatter{\mainmatter}
+\newcommand\GNUTexinfofrontmatter{\frontmatter}
% command that does nothing used to help with substitutions in commands
\newcommand{\GNUTexinfoplaceholder}[1]{}
@@ -63,27 +66,12 @@
\GNUTexinfosetsingleheader{}%
-\changefontsize{10}
-
\begin{document}
-\chapter{Chapter}
-\label{anchor:chapter}%
-
-\section{section}
-
-\subsection{Subsection 10pts}
-In 10pts
-
-\changefontsize{11}
-\subsection{Subsection 11pts}
-
-In 11pts
-
-\subsection{Subsection 8pts}
-
-In 8pts
-
-\subsection{Subsection 15pts}
+\begin{quote}
+\textbf{@ at the end of line \ {}:} A @ at the end of the @quotation line.
+\end{quote}
-In 15pts
+\begin{quote}
+\textbf{@\ {} at the end of line \ {}:} A @\ {} at the end of the @quotation
line.
+\end{quote}
\end{document}
diff --git
a/tp/t/results/sectioning/chapter_between_nodes/res_latex/chapter_between_nodes.tex
b/tp/t/results/sectioning/chapter_between_nodes/res_latex/chapter_between_nodes.tex
index bd076e2..bd410ff 100644
---
a/tp/t/results/sectioning/chapter_between_nodes/res_latex/chapter_between_nodes.tex
+++
b/tp/t/results/sectioning/chapter_between_nodes/res_latex/chapter_between_nodes.tex
@@ -21,6 +21,9 @@
\makeatletter
\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
\makeatother
+% add command aliases to use the same command in book and report
+\newcommand\GNUTexinfomainmatter{\mainmatter}
+\newcommand\GNUTexinfofrontmatter{\frontmatter}
% command that does nothing used to help with substitutions in commands
\newcommand{\GNUTexinfoplaceholder}[1]{}
diff --git a/tp/t/results/sectioning/lone_Top_node/res_latex/lone_Top_node.tex
b/tp/t/results/sectioning/lone_Top_node/res_latex/lone_Top_node.tex
index 0b1210b..9a22ff0 100644
--- a/tp/t/results/sectioning/lone_Top_node/res_latex/lone_Top_node.tex
+++ b/tp/t/results/sectioning/lone_Top_node/res_latex/lone_Top_node.tex
@@ -21,6 +21,9 @@
\makeatletter
\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
\makeatother
+% add command aliases to use the same command in book and report
+\newcommand\GNUTexinfomainmatter{\mainmatter}
+\newcommand\GNUTexinfofrontmatter{\frontmatter}
% command that does nothing used to help with substitutions in commands
\newcommand{\GNUTexinfoplaceholder}[1]{}
diff --git a/tp/t/results/sectioning/loop_nodes/res_latex/loop_nodes.tex
b/tp/t/results/sectioning/loop_nodes/res_latex/loop_nodes.tex
index 3924bfb..f36f335 100644
--- a/tp/t/results/sectioning/loop_nodes/res_latex/loop_nodes.tex
+++ b/tp/t/results/sectioning/loop_nodes/res_latex/loop_nodes.tex
@@ -21,6 +21,9 @@
\makeatletter
\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
\makeatother
+% add command aliases to use the same command in book and report
+\newcommand\GNUTexinfomainmatter{\mainmatter}
+\newcommand\GNUTexinfofrontmatter{\frontmatter}
% command that does nothing used to help with substitutions in commands
\newcommand{\GNUTexinfoplaceholder}[1]{}
diff --git
a/tp/t/results/sectioning/node_sectop_before_chapter_no_node/res_latex/node_sectop_before_chapter_no_node.tex
b/tp/t/results/sectioning/node_sectop_before_chapter_no_node/res_latex/node_sectop_before_chapter_no_node.tex
index cafd395..5340e42 100644
---
a/tp/t/results/sectioning/node_sectop_before_chapter_no_node/res_latex/node_sectop_before_chapter_no_node.tex
+++
b/tp/t/results/sectioning/node_sectop_before_chapter_no_node/res_latex/node_sectop_before_chapter_no_node.tex
@@ -21,6 +21,9 @@
\makeatletter
\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
\makeatother
+% add command aliases to use the same command in book and report
+\newcommand\GNUTexinfomainmatter{\mainmatter}
+\newcommand\GNUTexinfofrontmatter{\frontmatter}
% command that does nothing used to help with substitutions in commands
\newcommand{\GNUTexinfoplaceholder}[1]{}
diff --git
a/tp/t/results/sectioning/node_sectop_before_lone_node_Top/res_latex/node_sectop_before_lone_node_Top.tex
b/tp/t/results/sectioning/node_sectop_before_lone_node_Top/res_latex/node_sectop_before_lone_node_Top.tex
index 9b137ba..d2040a4 100644
---
a/tp/t/results/sectioning/node_sectop_before_lone_node_Top/res_latex/node_sectop_before_lone_node_Top.tex
+++
b/tp/t/results/sectioning/node_sectop_before_lone_node_Top/res_latex/node_sectop_before_lone_node_Top.tex
@@ -21,6 +21,9 @@
\makeatletter
\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
\makeatother
+% add command aliases to use the same command in book and report
+\newcommand\GNUTexinfomainmatter{\mainmatter}
+\newcommand\GNUTexinfofrontmatter{\frontmatter}
% command that does nothing used to help with substitutions in commands
\newcommand{\GNUTexinfoplaceholder}[1]{}
diff --git
a/tp/t/results/sectioning/nodes_before_after_top/res_latex/nodes_before_after_top.tex
b/tp/t/results/sectioning/nodes_before_after_top/res_latex/nodes_before_after_top.tex
index 9d7d37c..c6f3de9 100644
---
a/tp/t/results/sectioning/nodes_before_after_top/res_latex/nodes_before_after_top.tex
+++
b/tp/t/results/sectioning/nodes_before_after_top/res_latex/nodes_before_after_top.tex
@@ -21,6 +21,9 @@
\makeatletter
\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
\makeatother
+% add command aliases to use the same command in book and report
+\newcommand\GNUTexinfomainmatter{\mainmatter}
+\newcommand\GNUTexinfofrontmatter{\frontmatter}
% command that does nothing used to help with substitutions in commands
\newcommand{\GNUTexinfoplaceholder}[1]{}
diff --git
a/tp/t/results/sectioning/nodes_before_after_top_xref/res_latex/nodes_before_after_top_xref.tex
b/tp/t/results/sectioning/nodes_before_after_top_xref/res_latex/nodes_before_after_top_xref.tex
index 9fea596..0e52743 100644
---
a/tp/t/results/sectioning/nodes_before_after_top_xref/res_latex/nodes_before_after_top_xref.tex
+++
b/tp/t/results/sectioning/nodes_before_after_top_xref/res_latex/nodes_before_after_top_xref.tex
@@ -21,6 +21,9 @@
\makeatletter
\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
\makeatother
+% add command aliases to use the same command in book and report
+\newcommand\GNUTexinfomainmatter{\mainmatter}
+\newcommand\GNUTexinfofrontmatter{\frontmatter}
% command that does nothing used to help with substitutions in commands
\newcommand{\GNUTexinfoplaceholder}[1]{}
diff --git
a/tp/t/results/sectioning/nodes_before_top/res_latex/nodes_before_top.tex
b/tp/t/results/sectioning/nodes_before_top/res_latex/nodes_before_top.tex
index a550e6e..57d4d4e 100644
--- a/tp/t/results/sectioning/nodes_before_top/res_latex/nodes_before_top.tex
+++ b/tp/t/results/sectioning/nodes_before_top/res_latex/nodes_before_top.tex
@@ -21,6 +21,9 @@
\makeatletter
\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
\makeatother
+% add command aliases to use the same command in book and report
+\newcommand\GNUTexinfomainmatter{\mainmatter}
+\newcommand\GNUTexinfofrontmatter{\frontmatter}
% command that does nothing used to help with substitutions in commands
\newcommand{\GNUTexinfoplaceholder}[1]{}
diff --git
a/tp/t/results/sectioning/section_before_after_top_node/res_latex/section_before_after_top_node.tex
b/tp/t/results/sectioning/section_before_after_top_node/res_latex/section_before_after_top_node.tex
index cb89189..5967b1e 100644
---
a/tp/t/results/sectioning/section_before_after_top_node/res_latex/section_before_after_top_node.tex
+++
b/tp/t/results/sectioning/section_before_after_top_node/res_latex/section_before_after_top_node.tex
@@ -21,6 +21,9 @@
\makeatletter
\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
\makeatother
+% add command aliases to use the same command in book and report
+\newcommand\GNUTexinfomainmatter{\mainmatter}
+\newcommand\GNUTexinfofrontmatter{\frontmatter}
% command that does nothing used to help with substitutions in commands
\newcommand{\GNUTexinfoplaceholder}[1]{}
diff --git
a/tp/t/results/sectioning/section_before_after_top_node_last_node/res_latex/section_before_after_top_node_last_node.tex
b/tp/t/results/sectioning/section_before_after_top_node_last_node/res_latex/section_before_after_top_node_last_node.tex
index b15768f..2f9fbb7 100644
---
a/tp/t/results/sectioning/section_before_after_top_node_last_node/res_latex/section_before_after_top_node_last_node.tex
+++
b/tp/t/results/sectioning/section_before_after_top_node_last_node/res_latex/section_before_after_top_node_last_node.tex
@@ -21,6 +21,9 @@
\makeatletter
\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
\makeatother
+% add command aliases to use the same command in book and report
+\newcommand\GNUTexinfomainmatter{\mainmatter}
+\newcommand\GNUTexinfofrontmatter{\frontmatter}
% command that does nothing used to help with substitutions in commands
\newcommand{\GNUTexinfoplaceholder}[1]{}
diff --git
a/tp/t/results/sectioning/section_chapter_before_top_nodes/res_latex/section_chapter_before_top_nodes.tex
b/tp/t/results/sectioning/section_chapter_before_top_nodes/res_latex/section_chapter_before_top_nodes.tex
index 798dc0e..3ad7f70 100644
---
a/tp/t/results/sectioning/section_chapter_before_top_nodes/res_latex/section_chapter_before_top_nodes.tex
+++
b/tp/t/results/sectioning/section_chapter_before_top_nodes/res_latex/section_chapter_before_top_nodes.tex
@@ -21,6 +21,9 @@
\makeatletter
\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
\makeatother
+% add command aliases to use the same command in book and report
+\newcommand\GNUTexinfomainmatter{\mainmatter}
+\newcommand\GNUTexinfofrontmatter{\frontmatter}
% command that does nothing used to help with substitutions in commands
\newcommand{\GNUTexinfoplaceholder}[1]{}
diff --git a/tp/tests/layout/res_parser/formatting_latex/formatting.tex
b/tp/tests/layout/res_parser/formatting_latex/formatting.tex
index 8d6c618..28a2515 100644
--- a/tp/tests/layout/res_parser/formatting_latex/formatting.tex
+++ b/tp/tests/layout/res_parser/formatting_latex/formatting.tex
@@ -21,6 +21,9 @@
\makeatletter
\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
\makeatother
+% add command aliases to use the same command in book and report
+\newcommand\GNUTexinfomainmatter{\mainmatter}
+\newcommand\GNUTexinfofrontmatter{\frontmatter}
% command that does nothing used to help with substitutions in commands
\newcommand{\GNUTexinfoplaceholder}[1]{}
@@ -70,7 +73,7 @@
\begin{document}
-\frontmatter
+\GNUTexinfofrontmatter
\begin{titlepage}
\begingroup
\newskip\titlepagetopglue \titlepagetopglue = 1.5in
@@ -331,55 +334,109 @@ $$
$$
{\ttfamily\textsl{default kbdinputstyle}}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}{\ttfamily\textsl{in
example default kbdinputstyle}}
-\endgroup{}
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+{\ttfamily\textsl{in example default kbdinputstyle}}
+\endgroup{}%
+
\texttt{code kbdinputstyle}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}\texttt{in
example code kbdinputstyle}
-\endgroup{}
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+\texttt{in example code kbdinputstyle}
+\endgroup{}%
+
{\ttfamily\textsl{example kbdinputstyle}}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}\texttt{in
example example kbdinputstyle}
-\endgroup{}
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+\texttt{in example example kbdinputstyle}
+\endgroup{}%
+
{\ttfamily\textsl{distinct kbdinputstyle}}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}{\ttfamily\textsl{in
example distinct kbdinputstyle}}
-\endgroup{}
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+{\ttfamily\textsl{in example distinct kbdinputstyle}}
+\endgroup{}%
+
+\begin{quote}
A quot---ation
+\end{quote}
+\begin{quote}
\textbf{Note:} A Note
+\end{quote}
+\begin{quote}
\textbf{note:} A note
+\end{quote}
+\begin{quote}
\textbf{Caution:} Caution
+\end{quote}
+\begin{quote}
\textbf{Important:} Important
+\end{quote}
+\begin{quote}
\textbf{Tip:} a Tip
+\end{quote}
+\begin{quote}
\textbf{Warning:} a Warning.
+\end{quote}
+\begin{quote}
\textbf{something \'{e} \TeX{}:} The something \'{e} \TeX{} is here.
+\end{quote}
+\begin{quote}
\textbf{@ at the end of line \ {}:} A @ at the end of the @quotation line.
+\end{quote}
+\begin{quote}
\textbf{something, other thing:} something, other thing
+\end{quote}
+\begin{quote}
\textbf{Note, the note:} Note, the note
+\end{quote}
+
+\begin{quote}
+\end{quote}
+\begin{quote}
+\textbf{Empty:} \end{quote}
-\textbf{Empty:}
-\textbf{:}
-\textbf{\leavevmode{}\\:}
+\begin{quote}
+\textbf{:} \end{quote}
+
+\begin{quote}
+\textbf{\leavevmode{}\\:} \end{quote}
+
+\begin{quote}
aaa quotation
+\end{quote}
\begin{center}
--- \emph{quotation author}
\end{center}
+\begin{quote}
indent in quotation
+\end{quote}
+\begin{quote}
+\begin{footnotesize}
A small quot---ation
+\end{footnotesize}
+\end{quote}
+\begin{quote}
+\begin{footnotesize}
\textbf{Note:} A small Note
+\end{footnotesize}
+\end{quote}
+\begin{quote}
+\begin{footnotesize}
\textbf{something, other thing:} something, other thing
+\end{footnotesize}
+\end{quote}
\textbullet{}
@@ -423,46 +480,82 @@ lone mu--ltitable item
truc bidule
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}e--xample
some
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+e--xample some
text
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}example
one arg
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}example
two args
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}example
three args
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}example
four args
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}example
five args
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}The
something \'{e} \TeX{} is here.
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}A
@ at the end of the @example line.
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}example
with empty args
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}example
with empty and non empty args mix
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}s--mallexample
-\endgroup{}
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+example one arg
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+example two args
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+example three args
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+example four args
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+example five args
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+The something \'{e} \TeX{} is here.
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+A @ at the end of the @example line.
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+example with empty args
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+example with empty and non empty args mix
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily\footnotesize{}%
+s--mallexample
+\endgroup{}%
+
\texttt{@noindent} after smallexample.
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}\$
wget
'http://savannah.gnu.org/cgi-bin/viewcvs/config/config/config.guess?rev=HEAD\&content-type=text/plain'
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\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'
-\endgroup{}\noindent{}Less recent versions are also present.
-
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax{}d--isplay
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax{}s--malldisplay
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}l--isp
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}s--malllisp
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax{}f--ormat
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax{}s--mallformat
-\endgroup{}
+\endgroup{}%
+\noindent{}Less recent versions are also present.
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax{}%
+d--isplay
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\footnotesize{}%
+s--malldisplay
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+l--isp
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily\footnotesize{}%
+s--malllisp
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax{}%
+f--ormat
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\footnotesize{}%
+s--mallformat
+\endgroup{}%
+
$$
disp--laymath
f(x) = {1 \over \sigma \sqrt{2\pi}}e^{-{1 \over 2}\left({x-\mu \over
\sigma}\right)^2}
@@ -1139,55 +1232,109 @@ $$
$$
{\ttfamily\textsl{default kbdinputstyle}}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}{\ttfamily\textsl{in
example default kbdinputstyle}}
-\endgroup{}
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+{\ttfamily\textsl{in example default kbdinputstyle}}
+\endgroup{}%
+
\texttt{code kbdinputstyle}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}\texttt{in
example code kbdinputstyle}
-\endgroup{}
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+\texttt{in example code kbdinputstyle}
+\endgroup{}%
+
{\ttfamily\textsl{example kbdinputstyle}}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}\texttt{in
example example kbdinputstyle}
-\endgroup{}
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+\texttt{in example example kbdinputstyle}
+\endgroup{}%
+
{\ttfamily\textsl{distinct kbdinputstyle}}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}{\ttfamily\textsl{in
example distinct kbdinputstyle}}
-\endgroup{}
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+{\ttfamily\textsl{in example distinct kbdinputstyle}}
+\endgroup{}%
+
+\begin{quote}
A quot---ation
+\end{quote}
+\begin{quote}
\textbf{Note:} A Note
+\end{quote}
+\begin{quote}
\textbf{note:} A note
+\end{quote}
+\begin{quote}
\textbf{Caution:} Caution
+\end{quote}
+\begin{quote}
\textbf{Important:} Important
+\end{quote}
+\begin{quote}
\textbf{Tip:} a Tip
+\end{quote}
+\begin{quote}
\textbf{Warning:} a Warning.
+\end{quote}
+\begin{quote}
\textbf{something \'{e} \TeX{}:} The something \'{e} \TeX{} is here.
+\end{quote}
+\begin{quote}
\textbf{@ at the end of line \ {}:} A @ at the end of the @quotation line.
+\end{quote}
+\begin{quote}
\textbf{something, other thing:} something, other thing
+\end{quote}
+\begin{quote}
\textbf{Note, the note:} Note, the note
+\end{quote}
+
+\begin{quote}
+\end{quote}
+
+\begin{quote}
+\textbf{Empty:} \end{quote}
+\begin{quote}
+\textbf{:} \end{quote}
-\textbf{Empty:}
-\textbf{:}
-\textbf{\leavevmode{}\\:}
+\begin{quote}
+\textbf{\leavevmode{}\\:} \end{quote}
+
+\begin{quote}
aaa quotation
+\end{quote}
\begin{center}
--- \emph{quotation author}
\end{center}
+\begin{quote}
indent in quotation
+\end{quote}
+\begin{quote}
+\begin{footnotesize}
A small quot---ation
+\end{footnotesize}
+\end{quote}
+\begin{quote}
+\begin{footnotesize}
\textbf{Note:} A small Note
+\end{footnotesize}
+\end{quote}
+\begin{quote}
+\begin{footnotesize}
\textbf{something, other thing:} something, other thing
+\end{footnotesize}
+\end{quote}
\textbullet{}
@@ -1231,46 +1378,82 @@ lone mu--ltitable item
truc bidule
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}e--xample
some
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+e--xample some
text
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}example
one arg
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}example
two args
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}example
three args
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}example
four args
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}example
five args
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}The
something \'{e} \TeX{} is here.
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}A
@ at the end of the @example line.
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}example
with empty args
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}example
with empty and non empty args mix
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}s--mallexample
-\endgroup{}
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+example one arg
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+example two args
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+example three args
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+example four args
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+example five args
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+The something \'{e} \TeX{} is here.
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+A @ at the end of the @example line.
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+example with empty args
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+example with empty and non empty args mix
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily\footnotesize{}%
+s--mallexample
+\endgroup{}%
+
\texttt{@noindent} after smallexample.
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}\$
wget
'http://savannah.gnu.org/cgi-bin/viewcvs/config/config/config.guess?rev=HEAD\&content-type=text/plain'
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\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'
-\endgroup{}\noindent{}Less recent versions are also present.
-
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax{}d--isplay
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax{}s--malldisplay
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}l--isp
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}s--malllisp
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax{}f--ormat
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax{}s--mallformat
-\endgroup{}
+\endgroup{}%
+\noindent{}Less recent versions are also present.
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax{}%
+d--isplay
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\footnotesize{}%
+s--malldisplay
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+l--isp
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily\footnotesize{}%
+s--malllisp
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax{}%
+f--ormat
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\footnotesize{}%
+s--mallformat
+\endgroup{}%
+
$$
disp--laymath
f(x) = {1 \over \sigma \sqrt{2\pi}}e^{-{1 \over 2}\left({x-\mu \over
\sigma}\right)^2}
@@ -1704,7 +1887,7 @@ Various deff lines
\endgroup
\end{titlepage}
\GNUTexinfosetsingleheader{}%
-\mainmatter
+\GNUTexinfomainmatter
\chapter{chapter}
\label{anchor:chapter}%
@@ -1962,55 +2145,109 @@ $$
$$
{\ttfamily\textsl{default kbdinputstyle}}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}{\ttfamily\textsl{in
example default kbdinputstyle}}
-\endgroup{}
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+{\ttfamily\textsl{in example default kbdinputstyle}}
+\endgroup{}%
+
\texttt{code kbdinputstyle}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}\texttt{in
example code kbdinputstyle}
-\endgroup{}
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+\texttt{in example code kbdinputstyle}
+\endgroup{}%
+
{\ttfamily\textsl{example kbdinputstyle}}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}\texttt{in
example example kbdinputstyle}
-\endgroup{}
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+\texttt{in example example kbdinputstyle}
+\endgroup{}%
+
{\ttfamily\textsl{distinct kbdinputstyle}}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}{\ttfamily\textsl{in
example distinct kbdinputstyle}}
-\endgroup{}
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+{\ttfamily\textsl{in example distinct kbdinputstyle}}
+\endgroup{}%
+
+\begin{quote}
A quot---ation
+\end{quote}
+\begin{quote}
\textbf{Note:} A Note
+\end{quote}
+\begin{quote}
\textbf{note:} A note
+\end{quote}
+\begin{quote}
\textbf{Caution:} Caution
+\end{quote}
+\begin{quote}
\textbf{Important:} Important
+\end{quote}
+\begin{quote}
\textbf{Tip:} a Tip
+\end{quote}
+\begin{quote}
\textbf{Warning:} a Warning.
+\end{quote}
+\begin{quote}
\textbf{something \'{e} \TeX{}:} The something \'{e} \TeX{} is here.
+\end{quote}
+\begin{quote}
\textbf{@ at the end of line \ {}:} A @ at the end of the @quotation line.
+\end{quote}
+\begin{quote}
\textbf{something, other thing:} something, other thing
+\end{quote}
+\begin{quote}
\textbf{Note, the note:} Note, the note
+\end{quote}
+
+\begin{quote}
+\end{quote}
+
+\begin{quote}
+\textbf{Empty:} \end{quote}
+\begin{quote}
+\textbf{:} \end{quote}
-\textbf{Empty:}
-\textbf{:}
-\textbf{\leavevmode{}\\:}
+\begin{quote}
+\textbf{\leavevmode{}\\:} \end{quote}
+
+\begin{quote}
aaa quotation
+\end{quote}
\begin{center}
--- \emph{quotation author}
\end{center}
+\begin{quote}
indent in quotation
+\end{quote}
+\begin{quote}
+\begin{footnotesize}
A small quot---ation
+\end{footnotesize}
+\end{quote}
+\begin{quote}
+\begin{footnotesize}
\textbf{Note:} A small Note
+\end{footnotesize}
+\end{quote}
+\begin{quote}
+\begin{footnotesize}
\textbf{something, other thing:} something, other thing
+\end{footnotesize}
+\end{quote}
\textbullet{}
@@ -2054,46 +2291,82 @@ lone mu--ltitable item
truc bidule
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}e--xample
some
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+e--xample some
text
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}example
one arg
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}example
two args
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}example
three args
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}example
four args
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}example
five args
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}The
something \'{e} \TeX{} is here.
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}A
@ at the end of the @example line.
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}example
with empty args
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}example
with empty and non empty args mix
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}s--mallexample
-\endgroup{}
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+example one arg
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+example two args
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+example three args
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+example four args
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+example five args
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+The something \'{e} \TeX{} is here.
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+A @ at the end of the @example line.
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+example with empty args
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+example with empty and non empty args mix
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily\footnotesize{}%
+s--mallexample
+\endgroup{}%
+
\texttt{@noindent} after smallexample.
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}\$
wget
'http://savannah.gnu.org/cgi-bin/viewcvs/config/config/config.guess?rev=HEAD\&content-type=text/plain'
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\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'
-\endgroup{}\noindent{}Less recent versions are also present.
-
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax{}d--isplay
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax{}s--malldisplay
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}l--isp
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}s--malllisp
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax{}f--ormat
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax{}s--mallformat
-\endgroup{}
+\endgroup{}%
+\noindent{}Less recent versions are also present.
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax{}%
+d--isplay
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\footnotesize{}%
+s--malldisplay
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+l--isp
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily\footnotesize{}%
+s--malllisp
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax{}%
+f--ormat
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\footnotesize{}%
+s--mallformat
+\endgroup{}%
+
$$
disp--laymath
f(x) = {1 \over \sigma \sqrt{2\pi}}e^{-{1 \over 2}\left({x-\mu \over
\sigma}\right)^2}
@@ -2768,55 +3041,109 @@ $$
$$
{\ttfamily\textsl{default kbdinputstyle}}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}{\ttfamily\textsl{in
example default kbdinputstyle}}
-\endgroup{}
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+{\ttfamily\textsl{in example default kbdinputstyle}}
+\endgroup{}%
+
\texttt{code kbdinputstyle}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}\texttt{in
example code kbdinputstyle}
-\endgroup{}
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+\texttt{in example code kbdinputstyle}
+\endgroup{}%
+
{\ttfamily\textsl{example kbdinputstyle}}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}\texttt{in
example example kbdinputstyle}
-\endgroup{}
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+\texttt{in example example kbdinputstyle}
+\endgroup{}%
+
{\ttfamily\textsl{distinct kbdinputstyle}}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}{\ttfamily\textsl{in
example distinct kbdinputstyle}}
-\endgroup{}
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+{\ttfamily\textsl{in example distinct kbdinputstyle}}
+\endgroup{}%
+
+\begin{quote}
A quot---ation
+\end{quote}
+\begin{quote}
\textbf{Note:} A Note
+\end{quote}
+\begin{quote}
\textbf{note:} A note
+\end{quote}
+\begin{quote}
\textbf{Caution:} Caution
+\end{quote}
+\begin{quote}
\textbf{Important:} Important
+\end{quote}
+\begin{quote}
\textbf{Tip:} a Tip
+\end{quote}
+\begin{quote}
\textbf{Warning:} a Warning.
+\end{quote}
+\begin{quote}
\textbf{something \'{e} \TeX{}:} The something \'{e} \TeX{} is here.
+\end{quote}
+\begin{quote}
\textbf{@ at the end of line \ {}:} A @ at the end of the @quotation line.
+\end{quote}
+\begin{quote}
\textbf{something, other thing:} something, other thing
+\end{quote}
+\begin{quote}
\textbf{Note, the note:} Note, the note
+\end{quote}
+\begin{quote}
+\end{quote}
-\textbf{Empty:}
-\textbf{:}
-\textbf{\leavevmode{}\\:}
+\begin{quote}
+\textbf{Empty:} \end{quote}
+
+\begin{quote}
+\textbf{:} \end{quote}
+
+\begin{quote}
+\textbf{\leavevmode{}\\:} \end{quote}
+
+\begin{quote}
aaa quotation
+\end{quote}
\begin{center}
--- \emph{quotation author}
\end{center}
+\begin{quote}
indent in quotation
+\end{quote}
+\begin{quote}
+\begin{footnotesize}
A small quot---ation
+\end{footnotesize}
+\end{quote}
+\begin{quote}
+\begin{footnotesize}
\textbf{Note:} A small Note
+\end{footnotesize}
+\end{quote}
+\begin{quote}
+\begin{footnotesize}
\textbf{something, other thing:} something, other thing
+\end{footnotesize}
+\end{quote}
\textbullet{}
@@ -2860,46 +3187,82 @@ lone mu--ltitable item
truc bidule
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}e--xample
some
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+e--xample some
text
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}example
one arg
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}example
two args
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}example
three args
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}example
four args
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}example
five args
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}The
something \'{e} \TeX{} is here.
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}A
@ at the end of the @example line.
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}example
with empty args
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}example
with empty and non empty args mix
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}s--mallexample
-\endgroup{}
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+example one arg
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+example two args
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+example three args
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+example four args
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+example five args
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+The something \'{e} \TeX{} is here.
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+A @ at the end of the @example line.
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+example with empty args
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+example with empty and non empty args mix
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily\footnotesize{}%
+s--mallexample
+\endgroup{}%
+
\texttt{@noindent} after smallexample.
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}\$
wget
'http://savannah.gnu.org/cgi-bin/viewcvs/config/config/config.guess?rev=HEAD\&content-type=text/plain'
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\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'
-\endgroup{}\noindent{}Less recent versions are also present.
-
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax{}d--isplay
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax{}s--malldisplay
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}l--isp
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}s--malllisp
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax{}f--ormat
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax{}s--mallformat
-\endgroup{}
+\endgroup{}%
+\noindent{}Less recent versions are also present.
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax{}%
+d--isplay
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\footnotesize{}%
+s--malldisplay
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+l--isp
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily\footnotesize{}%
+s--malllisp
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax{}%
+f--ormat
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\footnotesize{}%
+s--mallformat
+\endgroup{}%
+
$$
disp--laymath
f(x) = {1 \over \sigma \sqrt{2\pi}}e^{-{1 \over 2}\left({x-\mu \over
\sigma}\right)^2}
@@ -3332,7 +3695,8 @@ Various deff lines
In example.
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+
<
>
"
@@ -3539,20 +3903,25 @@ but , ,\@
After clickstyle $\Rightarrow{}$
\texttt{@clicksequence\{click @click\{\} A\}} click $\Rightarrow{}$ A
-\endgroup{}$$
+\endgroup{}%
+$$
\mathbf{``simple-double--three---four----''} \hbox{aa}
`\hbox{}`simple-double-\hbox{}-three---four----'\hbox{}'
$$
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}
-\endgroup{}$$
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+
+\endgroup{}%
+$$
\ddot{u} \ddot{U} \tilde{n} \hat{a} \acute{e} \bar{o} \grave{i} \acute{e}
\imath{} \jmath{} \grave{\bar{E}}
\mathord{\text{\l{}}} \textsl{\c{\'{C}}} \textsl{\c{\'{C}}} \textsl{\c{c}}
\textsl{\H{a}} \dot{a} \mathring{a} \textsl{\t{a}}
\breve{a} \textsl{\b{a}} \textsl{\d{a}} \check{a} \textsl{\k{a}} a^{h}_{l}
\ {}\ {} \ {}\-{} ! ? . @ \} \{
\today{}
$$
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}
-\endgroup{}$$
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+
+\endgroup{}%
+$$
\rightarrow{}
u
TeX LaTeX \bullet{} \copyright{} \dots{} \dots{} \equiv{}
@@ -3561,68 +3930,127 @@ TeX LaTeX \bullet{} \copyright{} \dots{} \dots{}
\equiv{}
\mathord{\text{\TH{}}} \mathord{\text{\dh{}}} \mathord{\text{\th{}}}
\mathord{\text{\textexclamdown{}}} \mathord{\text{\textquestiondown{}}}
\mathsterling{}
\circledR{} \mathord{\text{\textordfeminine{}}}
\mathord{\text{\textordmasculine{}}} ,
$$
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}
-\endgroup{}$$
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+
+\endgroup{}%
+$$
\mathord{\text{\textquotedblleft{}}} \mathord{\text{\textquotedblright{}}}
\mathord{\text{\textquoteleft{}}} \mathord{\text{\textquoteright{}}}
\mathord{\text{\quotedblbase{}}} \mathord{\text{\quotesinglbase{}}}
\mathord{\text{\guillemotleft{}}}
\mathord{\text{\guillemotright{}}} \mathord{\text{\guillemotleft{}}}
\mathord{\text{\guillemotright{}}} \mathord{\text{\guilsinglleft{}}}
\mathord{\text{\guilsinglright{}}} ^{\circ{}} \euro{} \rightarrow{} \leq{}
\geq{}
$$
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}
-\endgroup{}$$
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+
+\endgroup{}%
+$$
\mathbf{b} \mathit{i} \mathrm{r} sc \mathtt{t} \mathsf{sansserif} slanted
$$
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+
{\ttfamily\textsl{default kbdinputstyle}}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}{\ttfamily\textsl{in
example default kbdinputstyle}}
-\endgroup{}
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+{\ttfamily\textsl{in example default kbdinputstyle}}
+\endgroup{}%
+
\texttt{code kbdinputstyle}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}\texttt{in
example code kbdinputstyle}
-\endgroup{}
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+\texttt{in example code kbdinputstyle}
+\endgroup{}%
+
\texttt{example kbdinputstyle}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}\texttt{in
example example kbdinputstyle}
-\endgroup{}
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+\texttt{in example example kbdinputstyle}
+\endgroup{}%
+
{\ttfamily\textsl{distinct kbdinputstyle}}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}{\ttfamily\textsl{in
example distinct kbdinputstyle}}
-\endgroup{}
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+{\ttfamily\textsl{in example distinct kbdinputstyle}}
+\endgroup{}%
+
+\begin{quote}
A quot---ation
+\end{quote}
+\begin{quote}
\textbf{Note:} A Note
+\end{quote}
+\begin{quote}
\textbf{note:} A note
+\end{quote}
+\begin{quote}
\textbf{Caution:} Caution
+\end{quote}
+\begin{quote}
\textbf{Important:} Important
+\end{quote}
+\begin{quote}
\textbf{Tip:} a Tip
+\end{quote}
+\begin{quote}
\textbf{Warning:} a Warning.
+\end{quote}
+\begin{quote}
\textbf{something \'{e} \TeX{}:} The something \'{e} \TeX{} is here.
+\end{quote}
+\begin{quote}
\textbf{@ at the end of line \ {}:} A @ at the end of the @quotation line.
+\end{quote}
+\begin{quote}
\textbf{something, other thing:} something, other thing
+\end{quote}
+\begin{quote}
\textbf{Note, the note:} Note, the note
+\end{quote}
+
+\begin{quote}
+\end{quote}
+
+\begin{quote}
+\textbf{Empty:} \end{quote}
+\begin{quote}
+\textbf{:} \end{quote}
-\textbf{Empty:}
-\textbf{:}
-\textbf{\leavevmode{}\\:}
+\begin{quote}
+\textbf{\leavevmode{}\\:} \end{quote}
+
+\begin{quote}
aaa quotation
+\end{quote}
\begin{center}
--- \emph{quotation author}
\end{center}
+\begin{quote}
indent in quotation
+\end{quote}
+\begin{quote}
+\begin{footnotesize}
A small quot---ation
+\end{footnotesize}
+\end{quote}
+\begin{quote}
+\begin{footnotesize}
\textbf{Note:} A small Note
+\end{footnotesize}
+\end{quote}
+\begin{quote}
+\begin{footnotesize}
\textbf{something, other thing:} something, other thing
+\end{footnotesize}
+\end{quote}
\textbullet{}
@@ -3666,51 +4094,89 @@ lone mu--ltitable item
truc bidule
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}e--xample
some
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+e--xample some
text
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}example
one arg
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}example
two args
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}example
three args
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}example
four args
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}example
five args
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}The
something \'{e} \TeX{} is here.
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}A
@ at the end of the @example line.
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}example
with empty args
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}example
with empty and non empty args mix
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}s--mallexample
-\endgroup{}
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+example one arg
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+example two args
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+example three args
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+example four args
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+example five args
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+The something \'{e} \TeX{} is here.
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+A @ at the end of the @example line.
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+example with empty args
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+example with empty and non empty args mix
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily\footnotesize{}%
+s--mallexample
+\endgroup{}%
+
\texttt{@noindent} after smallexample.
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}\$
wget
'http://savannah.gnu.org/cgi-bin/viewcvs/config/config/config.guess?rev=HEAD\&content-type=text/plain'
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\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'
-\endgroup{}\noindent{}Less recent versions are also present.
-
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax{}d--isplay
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax{}s--malldisplay
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}l--isp
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}s--malllisp
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax{}f--ormat
-\endgroup{}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax{}s--mallformat
-\endgroup{}
-\endgroup{}$$
+\endgroup{}%
+\noindent{}Less recent versions are also present.
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax{}%
+d--isplay
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\footnotesize{}%
+s--malldisplay
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+l--isp
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily\footnotesize{}%
+s--malllisp
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax{}%
+f--ormat
+\endgroup{}%
+
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\footnotesize{}%
+s--mallformat
+\endgroup{}%
+
+\endgroup{}%
+$$
disp--laymath
f(x) = {1 \over \sigma \sqrt{2\pi}}e^{-{1 \over 2}\left({x-\mu \over
\sigma}\right)^2}
$$
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax\ttfamily{}%
+
\hbox{}-- c--ategory: d--effn\_name a--rguments...
@@ -4136,7 +4602,8 @@ Various deff lines
\texttt{@inforef\{\}}
-\endgroup{}
+\endgroup{}%
+
cp
@@ -4161,7 +4628,9 @@ tp
\footnote{in footnote}
-\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax{}\endgroup{}
+\par\begingroup\obeylines\obeyspaces\frenchspacing\leftskip=2em\relax\parskip=0pt\relax{}%
+\endgroup{}%
+
\section{A section}
\label{anchor:s_002d_002dect_002cion}%
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: LaTeX.pm: handle @*quotation, small preformatted environment. Adapt code to be able to use both report and book documentclass.,
Patrice Dumas <=