Re: The downside of math::

From: Markus Heiser
Date: Thu Oct 20 2016 - 11:15:42 EST



Am 20.10.2016 um 16:55 schrieb Jani Nikula <jani.nikula@xxxxxxxxxxxxxxx>:
>> So, I really prefer not removing math support.
>
> I wonder if we could cook up a nice way to make the math:: usage
> conditional on actually being able to render it.
>
> I would rather have the math:: directive produce just the preformatted
> indented block as-is in the html output, instead of failing, when latex
> is not available.
>
> Adapt to the environment, produce the prettiest thing when you can, but
> fallback to something uglier if all the dependencies are not there. See
> what I did with the sphinx_rtd_theme in conf.py - we use it if it's
> there, but it's not a hard dependency.

Hi Jani,

you are right. I will add this point to my TODO list. Give me just
a view days / ATM I'am working on a other project.

--Markus--