commit b4fc8aff5967ee63d3cf3bd7f2310db5c7a59e0e
parent 9c2f80b00337ba9b2005c79c02785559c81c8b2c
Author: Wolfgang Corcoran-Mathe <wcm@sigwinch.xyz>
Date: Wed, 7 Feb 2024 11:53:23 -0500
Basic HTML_MATH config for build script.
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/doc/r7rs-small/build.sh b/doc/r7rs-small/build.sh
@@ -23,6 +23,7 @@ input_file="r7rs-small.texinfo"
split=""
makeinfo_cmd="${MAKEINFO:-makeinfo}"
makeinfo_flags="$MAKEINFOFLAGS"
+html_math="mathjax" # TODO: CLI option for this.
while getopts hs opt
do
@@ -34,6 +35,10 @@ do
esac
done
+# Append HTML_MATH setting.
+set_var="--set-customization-variable HTML_MATH=${html_math}"
+makeinfo_flags="$makeinfo_flags $set_var"
+
if test "$split" != "yes"
then
makeinfo_flags="$makeinfo_flags --no-split"