[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] HTML export for math markup

From: Nick Dokos
Subject: Re: [O] HTML export for math markup
Date: Mon, 09 Jan 2017 17:57:53 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Lawrence Bottorff <address@hidden> writes:

> The default behavior with a plain vanilla installation is, indeed, to use png 
> files and create the
> ltximg subdirectory. It's not a huge problem, but I'd prefer it not doing 
> that; instead, using MathJax.
> Anyone know how to switch this behavior?

No, the default with a plain vanilla install is MathJax. In your minimal init 
what is the value of org-html-with-latex? What about org-export-with-latex? 
Both of these
should be t by default.

If they are, I would edebug org-html-format-latex, run the export and,
when it stops at org-html-format-latex, look at its arguments: the
second argument is the processing-type and it *should* be mathjax.

> On Mon, Jan 9, 2017 at 12:30 PM, Nick Dokos <address@hidden> wrote:
>     Lawrence Bottorff <address@hidden> writes:
>     > I've got an org file with Latex math markup, e.g. $x_2/y^3$. When I 
> export this to HTML, it
>     produces png
>     > files for each markup and puts them in a subfolder ltximg. Is there any 
> way to skip this
>     translating to
>     > pictures and just use MathJax directly. I've seen this, but my setup 
> seems to be defaulted to png
>     > picture production, not direct MathJax rendering via 
> "http://cdn.mathjax.org/mathjax/latest/
>     MathJax.js?
>     > config=TeX-AMS_HTML. I understand that what's happening is this, but 
> that's not MathJax. What am I
>     doing
>     > (thinking) wrong?
>     >
>     Have you tried exporting with a minimal init file and none of your 
> customizations?
>     --
>     Nick


reply via email to

[Prev in Thread] Current Thread [Next in Thread]