[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/Texinfo/Convert/LaTeX.pm (convert_math_to_im
From: |
Patrice Dumas |
Subject: |
branch master updated: * tp/Texinfo/Convert/LaTeX.pm (convert_math_to_images): use contents instead of args for @math. |
Date: |
Tue, 24 Dec 2024 09:54:48 -0500 |
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 ae769e4589 * tp/Texinfo/Convert/LaTeX.pm (convert_math_to_images): use
contents instead of args for @math.
ae769e4589 is described below
commit ae769e4589efb85681700ccfce6104c8dc1493b0
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Tue Dec 24 15:54:44 2024 +0100
* tp/Texinfo/Convert/LaTeX.pm (convert_math_to_images): use contents
instead of args for @math.
---
ChangeLog | 5 +++++
tp/Texinfo/Convert/LaTeX.pm | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 7fd433fb7a..cb5c9a6d08 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-12-24 Patrice Dumas <pertusus@free.fr>
+
+ * tp/Texinfo/Convert/LaTeX.pm (convert_math_to_images): use contents
+ instead of args for @math.
+
2024-11-11 Patrice Dumas <pertusus@free.fr>
* tp/Texinfo/XS/main/element_types.txt: remove unused internal type
diff --git a/tp/Texinfo/Convert/LaTeX.pm b/tp/Texinfo/Convert/LaTeX.pm
index 6cb6df0d25..12574a862e 100644
--- a/tp/Texinfo/Convert/LaTeX.pm
+++ b/tp/Texinfo/Convert/LaTeX.pm
@@ -4580,7 +4580,7 @@ sub convert_math_to_images($$$;$)
my $cmdname = $element->{'cmdname'};
my $tree;
if ($cmdname eq 'math') {
- $tree = $element->{'args'}->[0];
+ $tree = $element->{'contents'}->[0];
} elsif ($element->{'contents'}) {
$tree = {'contents' => [@{$element->{'contents'}}]};
if (scalar(@{$tree->{'contents'}})
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/Texinfo/Convert/LaTeX.pm (convert_math_to_images): use contents instead of args for @math.,
Patrice Dumas <=