I've come up with a set of changes to .conf files and XSL for
asciidoc/a2x/dblatex that allow use of LaTeX math in latexmath: macros,
which is passed through unchanged to HTML from asciidoc or HTML from
a2x/Docbook, with appropriate contortions to inject the MathJax scripts
into the document headers and process math correctly. They also pass the
same math through to the dblatex->PDF process.
These changes seem to solve the problem I posted about recently, of wanting
a single source-document representation of math that would target *all* the
output formats we care about without source conditionals. So I'm wondering
if there's enough interest in this to be worth proposing a merge to the
asciidoc source? If so, what would be the right way to enable this
behavior? I'm thinking maybe enabling it with an asciidoc variable, since
some of the changes are irrelevant to, or would interfere with other math
toolchains.
The only thing I know of that's not working properly at present is imbedded
math using environments like {align*}. This doesn't work with PDF output
because dblatex is injecting $$ delimiters around this math, which creates
illegal LaTeX. So I'm trying to understand how to fix the dblatex XSL on
that end. But AFAICT this problem doesn't affect math using the usual $$
\[\] \(\) delimiters.
Jon
--
You received this message because you are subscribed to the Google Groups
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/d/optout.