[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/Texinfo/Convert/Text.pm (_convert): handle d
From: |
Patrice Dumas |
Subject: |
branch master updated: * tp/Texinfo/Convert/Text.pm (_convert): handle displaymath as a block command |
Date: |
Sat, 27 Aug 2022 01:53:24 -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 d50eb98c71 * tp/Texinfo/Convert/Text.pm (_convert): handle displaymath
as a block command
d50eb98c71 is described below
commit d50eb98c713812240fd92dbd930124cc32ac91be
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sat Aug 27 07:50:42 2022 +0200
* tp/Texinfo/Convert/Text.pm (_convert): handle displaymath as a block
command
---
ChangeLog | 5 +++++
tp/Texinfo/Convert/Text.pm | 3 ++-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 7ece0ad947..07626f33df 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2022-08-27 Patrice Dumas <pertusus@free.fr>
+
+ * tp/Texinfo/Convert/Text.pm (_convert): handle displaymath as a block
+ command
+
2022-08-27 Gavin Smith <gavinsmith0123@gmail.com>
* doc/texinfo.tex (\LaTeX): Smaller font for letter A in footnotes
diff --git a/tp/Texinfo/Convert/Text.pm b/tp/Texinfo/Convert/Text.pm
index 3096bb0093..1b1c54755e 100644
--- a/tp/Texinfo/Convert/Text.pm
+++ b/tp/Texinfo/Convert/Text.pm
@@ -509,7 +509,8 @@ sub _convert($;$)
} elsif ($element->{'args'} and $element->{'args'}->[0]
and (($element->{'args'}->[0]->{'type'}
and $element->{'args'}->[0]->{'type'} eq 'brace_command_arg')
- or $Texinfo::Common::math_commands{$element->{'cmdname'}})) {
+ or ($Texinfo::Common::math_commands{$element->{'cmdname'}}
+ and
defined($Texinfo::Common::brace_commands{$element->{'cmdname'}})))) {
my $result;
my $in_code;
$options->{'sc'}++ if ($element->{'cmdname'} eq 'sc');
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/Texinfo/Convert/Text.pm (_convert): handle displaymath as a block command,
Patrice Dumas <=