Re: asciidoctor-mathematical fails to install

Posted by mojavelinux on
URL: https://discuss.asciidoctor.org/asciidoctor-mathematical-fails-to-install-tp8173p8187.html

> ok, if that's the case, could that strategy not be used by asciidoctor as well

Yes, absolutely. You always have the option of converting to DocBook, then using the DocBook toolchain (either using a2x or fopub) to convert to PDF. However, that's technically going outside of the Asciidoctor ecosystem, which is why I said that asciidoctor-mathematical is the solution within the Asciidoctor ecosystem.

Best Regards,

-Dan

On Tue, Aug 18, 2020 at 2:29 AM jvdh [via Asciidoctor :: Discussion] <[hidden email]> wrote:


On 18.08.20 10:17, mojavelinux [via Asciidoctor :: Discussion] wrote:
>
>
> AsciiDoc Python passes the latex expressions through raw, then a2x (aka
> DocBook toolchain) uses dblatex (which is actually LaTeX itself) to handle
> the equations.

ok, if that's the case, could that strategy not be used by asciidoctor as well? if the equations
reach the docbook output in a way that dblatex can identify/use them, at least the xml -> latex ->
pdf route could be used with asciidoctor as well (and it would for this use case (equation heavy
documents) be neither than svg or png images, of course).

>
> 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).

understood. I will have to try that, then.

>
> 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 ;)

I would if I could but I can't :).

best regards,

joerg

>
> 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
>>
>>> Best Regards,
>>>
>>> -Dan
>>>
>>> On Mon, Aug 17, 2020 at 12:34 PM abelsromero [via Asciidoctor ::
>>> Discussion] <[hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=8182&i=0>> wrote:
>>>
>>>> I'd try with the exact libs they mention. If it does not work, post
>>>> directly in the projects GitHub repo.
>>>>
>>>> ------------------------------
>>>> If you reply to this email, your message will be added to the
>> discussion
>>>> below:
>>>>
>>>>
>> https://discuss.asciidoctor.org/asciidoctor-mathematical-fails-to-install-tp8173p8176.html
>>>> To start a new topic under Asciidoctor :: Discussion, email
>>>> [hidden email] <http:///user/SendEmail.jtp?type=node&node=8182&i=1>
>>>> To unsubscribe from Asciidoctor :: Discussion, click here
>>>> <
>> https://discuss.asciidoctor.org/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=ZGFuLmouYWxsZW5AZ21haWwuY29tfDF8MTY5MzI5MDU4>
>>
>>>> .
>>>> NAML
>>>> <
>> https://discuss.asciidoctor.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>>>>
>>>
>>>
>>
>>
>> ------------------------------
>> If you reply to this email, your message will be added to the discussion
>> below:
>>
>> https://discuss.asciidoctor.org/asciidoctor-mathematical-fails-to-install-tp8173p8182.html
>> To start a new topic under Asciidoctor :: Discussion, email
>> [hidden email]
>> To unsubscribe from Asciidoctor :: Discussion, click here
>> <https://discuss.asciidoctor.org/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=ZGFuLmouYWxsZW5AZ21haWwuY29tfDF8MTY5MzI5MDU4>
>> .
>> NAML
>> <https://discuss.asciidoctor.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>



If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/asciidoctor-mathematical-fails-to-install-tp8173p8185.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen (he, him, his) | @mojavelinux | https://twitter.com/mojavelinux