Re: asciidoctor-mathematical fails to install
Posted by
mojavelinux on
URL: https://discuss.asciidoctor.org/asciidoctor-mathematical-fails-to-install-tp8173p8183.html
AsciiDoc Python passes the latex expressions through raw, then a2x (aka DocBook toolchain) uses dblatex (which is actually LaTeX itself) to handle the equations.
asciidoctor-mathematical is the current solution in the Asciidoctor ecosystem. However, you have to use the Docker container to make use of it (unless you are able to compile mathematical yourself).
Another viable solution is to use MathJax. There are users who have done it successfully. But as of yet, no one has come forward with an official extension for Asciidoctor. So we wait ;)
Best Regards,
-Dan
On Tue, Aug 18, 2020 at 1:59 AM jvdh [via Asciidoctor :: Discussion] <
[hidden email]> wrote:
On 17.08.20 22:27, mojavelinux [via Asciidoctor :: Discussion] wrote:
>
>
> What I can tell you is that even I cannot install asciidoctor-mathematical.
> The only way I know to use it is via the Docker container. That's because
> mathematical is not really a portable library. It works on very specific
> versions of Linux. One of those is Alpine, which the Docker image builds on.
>
ah, I see. unfortunate, but thanks for clarifying.
question: I am not sure, what the `asciidoc' and(?) `a2x' do to pass latex equations through
docbook/xml to dblatex exactly but that seems to be the only option, then, to get latex math into
pdf output. is there a way to do similar with `asciidoctor'?
best regards,
joerg
--