[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: 6.8
From: |
Gavin D. Smith |
Subject: |
branch master updated: 6.8 |
Date: |
Sat, 03 Jul 2021 07:28:15 -0400 |
This is an automated email from the git hooks/post-receive script.
gavin pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new 0ae1063 6.8
0ae1063 is described below
commit 0ae106301d16bc9d3f9388a077598162a28cd1ae
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sat Jul 3 12:27:50 2021 +0100
6.8
* tp/Texinfo/Convert/HTML.pm: unconditionally reference MathJax
code if HTML_MATH is 'mathjax' and it is non-split output.
---
ChangeLog | 7 +++++++
tp/Texinfo/Convert/HTML.pm | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 5cf2c94..c7d3530 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,13 @@
2021-07-03 Gavin Smith <gavinsmith0123@gmail.com>
6.8
+
+ * tp/Texinfo/Convert/HTML.pm: unconditionally reference MathJax
+ code if HTML_MATH is 'mathjax' and it is non-split output.
+
+2021-07-03 Gavin Smith <gavinsmith0123@gmail.com>
+
+ 6.8
* configure.ac, NEWS, util/texi2dvi, util/texi2pdf: versionn
* tp/Texinfo/Documentlanguages.pm: Regenerate.
diff --git a/tp/Texinfo/Convert/HTML.pm b/tp/Texinfo/Convert/HTML.pm
index bd48b79..476384e 100644
--- a/tp/Texinfo/Convert/HTML.pm
+++ b/tp/Texinfo/Convert/HTML.pm
@@ -6737,7 +6737,7 @@ sub _file_header_informations($$)
$self->{'jslicenses_element'}->{$key} =
$self->{'jslicenses_infojs'}->{$key};
}
}
- if ($self->{'element_math'}
+ if (($self->{'element_math'} or !$self->get_conf('SPLIT'))
and defined($self->get_conf('HTML_MATH'))
and $self->get_conf('HTML_MATH') eq 'mathjax') {
my $mathjax_script = $self->get_conf('MATHJAX_SCRIPT');