[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: tp/Texinfo/Convert/LaTeX.pm add to TODO, change c
From: |
Patrice Dumas |
Subject: |
branch master updated: tp/Texinfo/Convert/LaTeX.pm add to TODO, change comment |
Date: |
Thu, 11 Aug 2022 10:48:08 -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 e2270abada tp/Texinfo/Convert/LaTeX.pm add to TODO, change comment
e2270abada is described below
commit e2270abada85a25c7d1317eed530fec44166ccf2
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Thu Aug 11 16:46:18 2022 +0200
tp/Texinfo/Convert/LaTeX.pm add to TODO, change comment
---
tp/Texinfo/Convert/LaTeX.pm | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/tp/Texinfo/Convert/LaTeX.pm b/tp/Texinfo/Convert/LaTeX.pm
index a53fbcf64a..0b95422f62 100644
--- a/tp/Texinfo/Convert/LaTeX.pm
+++ b/tp/Texinfo/Convert/LaTeX.pm
@@ -165,6 +165,13 @@
# index entry between @table and first @item causes an empty \item[] to be
# output.
#
+# @headitem row is not formatted differently from an item row. It is
+# possible to use the multitable_head to get the same information.
+#
+# if there is a prototype for a multitable, it is converted to plain
+# text to determine the fraction. If it was done differently, @headitemfont
+# may need to be processed, too.
+#
# In Texinfo TeX, @code{@slanted{slanted in code}} and
# @slanted{@code{code in slanted}} are different,
# @slanted{@code{code in slanted}} is not slanted.
@@ -3249,10 +3256,10 @@ sub _convert($$)
and $item_container_commands{$element->{'parent'}->{'cmdname'}}) {
# item in @enumerate and @itemize
$result .= '\item ';
- # open a multitable cell
} elsif ($cmdname eq 'headitem' or $cmdname eq 'item'
or $cmdname eq 'tab') {
- # ...
+ # nothing to do here. The condition ensures that the commands are not
+ # considered as unknown commands in the else below.
} elsif ($cmdname eq 'center') {
$result .= "\\begin{center}\n";
$result .= $self->_convert (
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: tp/Texinfo/Convert/LaTeX.pm add to TODO, change comment,
Patrice Dumas <=