[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: More LaTeX output tests. @deftypefnnewline on som
From: |
Patrice Dumas |
Subject: |
branch master updated: More LaTeX output tests. @deftypefnnewline on somewhat differnt with TeX |
Date: |
Wed, 27 Jul 2022 18:03:38 -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 ad15db2ae3 More LaTeX output tests. @deftypefnnewline on somewhat
differnt with TeX
ad15db2ae3 is described below
commit ad15db2ae3faad4d68b4f61d6a41fa558f5e9451
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Thu Jul 28 00:02:32 2022 +0200
More LaTeX output tests. @deftypefnnewline on somewhat differnt with TeX
---
tp/t/converters_tests.t | 3 +
tp/t/results/converters_tests/line_breaks.pl | 21 ++++
.../converters_tests/test_deftypefnnewline.pl | 107 +++++++++++++++++++++
tp/t/results/converters_tests/unknown_value.pl | 3 +
4 files changed, 134 insertions(+)
diff --git a/tp/t/converters_tests.t b/tp/t/converters_tests.t
index df646fb605..17d59cd5cb 100644
--- a/tp/t/converters_tests.t
+++ b/tp/t/converters_tests.t
@@ -847,6 +847,9 @@ my %latex_tests = (
'top_in_ref' => 1,
'ref_error_formatting' => 1,
'ref_in_sectioning' => 1,
+ 'unknown_value' => 1,
+ 'line_breaks' => 1,
+ 'test_deftypefnnewline' => 1,
'inline' => 1,
'test_sp' => 1,
'non_empty_part' => 1,
diff --git a/tp/t/results/converters_tests/line_breaks.pl
b/tp/t/results/converters_tests/line_breaks.pl
index 5bfb3b40fe..eb29f6a4b1 100644
--- a/tp/t/results/converters_tests/line_breaks.pl
+++ b/tp/t/results/converters_tests/line_breaks.pl
@@ -700,4 +700,25 @@ $result_converted{'docbook_doc'}->{'line_breaks'} = '<?xml
version="1.0"?>
</para></blockquote></book>
';
+
+$result_converted{'latex'}->{'line_breaks'} = '
+{\\raggedright {\\huge \\bfseries AWK As A Major Systems Programming
\\leavevmode{}\\\\ Language---Revisited}}
+\\vskip 4pt \\hrule height 4pt width \\hsize \\vskip 4pt
+
+\\begin{center}
+in center \\leavevmode{}\\\\ line break
+\\end{center}
+
+\\begin{description}
+\\item[{\\parbox[b]{\\linewidth}{%
+\\textbf{with break \\leavevmode{}\\\\ after}\\\\
+\\textbf{withx breakx \\leavevmode{}\\\\ afterx}}}]
+Text
+\\end{description}
+
+\\begin{quote}
+\\textbf{Q\\leavevmode{}\\\\ uotation:} T
+\\end{quote}
+';
+
1;
diff --git a/tp/t/results/converters_tests/test_deftypefnnewline.pl
b/tp/t/results/converters_tests/test_deftypefnnewline.pl
index 79413d7440..ea8bba8e35 100644
--- a/tp/t/results/converters_tests/test_deftypefnnewline.pl
+++ b/tp/t/results/converters_tests/test_deftypefnnewline.pl
@@ -3620,4 +3620,111 @@ $result_converted{'docbook'}->{'test_deftypefnnewline'}
= '<chapter label="1" id
</para></blockquote></chapter>
';
+
+$result_converted{'latex'}->{'test_deftypefnnewline'} = '
+
+\\label{anchor:Top}%
+\\chapter{chap}
+\\label{anchor:chapter}%
+
+\\noindent\\texttt{data-type\\leavevmode{}\\\\name
\\bgroup{}\\normalfont{}\\textsl{arguments...}\\egroup{}}\\hfill[Function]
+
+
+
+\\index[fn]{name@\\texttt{name}}%
+aaa
+
+\\noindent\\texttt{t{-}{-}ype\\leavevmode{}\\\\d{-}{-}eftypefn\\_name}\\hfill[c--ategory]
+
+
+
+\\index[fn]{d--eftypefn\\_name@\\texttt{d{-}{-}eftypefn\\_name}}%
+d--eftypefn no arg
+
+\\noindent\\texttt{t{-}{-}ype\\leavevmode{}\\\\d{-}{-}eftypeop\\_name
\\bgroup{}\\normalfont{}\\textsl{a--rguments...}\\egroup{}}\\hfill[c--ategory
on \\texttt{c{-}{-}lass}]
+
+
+
+\\index[fn]{d--eftypeop\\_name on c--lass@\\texttt{d{-}{-}eftypeop\\_name on
c{-}{-}lass}}%
+d--eftypeop
+
+\\noindent\\texttt{t{-}{-}ype\\leavevmode{}\\\\d{-}{-}eftypeop\\_name}\\hfill[c--ategory
on \\texttt{c{-}{-}lass}]
+
+
+
+\\index[fn]{d--eftypeop\\_name on c--lass@\\texttt{d{-}{-}eftypeop\\_name on
c{-}{-}lass}}%
+d--eftypeop no arg
+
+\\noindent\\texttt{t{-}{-}ype\\leavevmode{}\\\\d{-}{-}eftypecv\\_name}\\hfill[c--ategory
of \\texttt{c{-}{-}lass}]
+
+
+
+\\index[vr]{d--eftypecv\\_name of c--lass@\\texttt{d{-}{-}eftypecv\\_name of
c{-}{-}lass}}%
+d--eftypecv
+
+\\noindent\\texttt{t{-}{-}ype\\leavevmode{}\\\\d{-}{-}eftypecv\\_name
\\bgroup{}\\normalfont{}\\textsl{a--rguments...}\\egroup{}}\\hfill[c--ategory
of \\texttt{c{-}{-}lass}]
+
+
+
+\\index[vr]{d--eftypecv\\_name of c--lass@\\texttt{d{-}{-}eftypecv\\_name of
c{-}{-}lass}}%
+d--eftypecv with arguments
+
+\\noindent\\texttt{arg}\\hfill[fun]
+
+
+
+\\index[fn]{arg@\\texttt{arg}}%
+fff
+
+
+\\noindent\\texttt{data-type2 name2
\\bgroup{}\\normalfont{}\\textsl{arguments2...}\\egroup{}}\\hfill[Function]
+
+
+
+\\index[fn]{name2@\\texttt{name2}}%
+aaa2
+
+\\noindent\\texttt{t{-}{-}ype2 d{-}{-}eftypefn\\_name2}\\hfill[c--ategory2]
+
+
+
+\\index[fn]{d--eftypefn\\_name2@\\texttt{d{-}{-}eftypefn\\_name2}}%
+d--eftypefn no arg2
+
+\\noindent\\texttt{t{-}{-}ype2 d{-}{-}eftypeop\\_name2
\\bgroup{}\\normalfont{}\\textsl{a--rguments2...}\\egroup{}}\\hfill[c--ategory2
on \\texttt{c{-}{-}lass2}]
+
+
+
+\\index[fn]{d--eftypeop\\_name2 on c--lass2@\\texttt{d{-}{-}eftypeop\\_name2
on c{-}{-}lass2}}%
+d--eftypeop2
+
+\\noindent\\texttt{t{-}{-}ype2 d{-}{-}eftypeop\\_name2}\\hfill[c--ategory2 on
\\texttt{c{-}{-}lass2}]
+
+
+
+\\index[fn]{d--eftypeop\\_name2 on c--lass2@\\texttt{d{-}{-}eftypeop\\_name2
on c{-}{-}lass2}}%
+d--eftypeop no arg2
+
+\\noindent\\texttt{t{-}{-}ype2 d{-}{-}eftypecv\\_name2}\\hfill[c--ategory2 of
\\texttt{c{-}{-}lass2}]
+
+
+
+\\index[vr]{d--eftypecv\\_name2 of c--lass2@\\texttt{d{-}{-}eftypecv\\_name2
of c{-}{-}lass2}}%
+d--eftypecv2
+
+\\noindent\\texttt{t{-}{-}ype2 d{-}{-}eftypecv\\_name2
\\bgroup{}\\normalfont{}\\textsl{a--rguments2...}\\egroup{}}\\hfill[c--ategory2
of \\texttt{c{-}{-}lass2}]
+
+
+
+\\index[vr]{d--eftypecv\\_name2 of c--lass2@\\texttt{d{-}{-}eftypecv\\_name2
of c{-}{-}lass2}}%
+d--eftypecv with arguments2
+
+\\noindent\\texttt{arg2}\\hfill[fun2]
+
+
+
+\\index[fn]{arg2@\\texttt{arg2}}%
+fff2
+';
+
1;
diff --git a/tp/t/results/converters_tests/unknown_value.pl
b/tp/t/results/converters_tests/unknown_value.pl
index 441ef45077..2e0e78844d 100644
--- a/tp/t/results/converters_tests/unknown_value.pl
+++ b/tp/t/results/converters_tests/unknown_value.pl
@@ -59,4 +59,7 @@ $result_converted{'xml'}->{'unknown_value'} = '';
$result_converted{'docbook'}->{'unknown_value'} = '';
+
+$result_converted{'latex'}->{'unknown_value'} = '\\{No value for
`unknown\'\\}';
+
1;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: More LaTeX output tests. @deftypefnnewline on somewhat differnt with TeX,
Patrice Dumas <=