emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: HTML export for math markup
Date: Mon, 09 Jan 2017 17:57:53 -0500	[thread overview]
Message-ID: <87k2a3on7y.fsf@gmail.com> (raw)
In-Reply-To: CAFAhFSXRV2w4P_8_4AN=+aK6K7BWEzzjrOB-Q+Wg=ssY=DDWfw@mail.gmail.com

Lawrence Bottorff <borgauf@gmail.com> 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 environment,
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 <ndokos@gmail.com> wrote:
>
>     Lawrence Bottorff <borgauf@gmail.com> 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
>

-- 
Nick

  reply	other threads:[~2017-01-09 22:58 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-09 15:28 HTML export for math markup Lawrence Bottorff
2017-01-09 17:30 ` Nick Dokos
2017-01-09 21:53   ` Lawrence Bottorff
2017-01-09 22:57     ` Nick Dokos [this message]
2017-01-09 17:31 ` Nicolas Goaziou
2017-01-09 22:34 ` Thierry Banel
2017-01-10  0:13   ` Lawrence Bottorff
2017-01-10  0:24     ` Lawrence Bottorff
     [not found]   ` <88f10863f4f94677abfb0514800db64f@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-01-10  8:21     ` Eric S Fraga
2017-01-10 13:12       ` Lawrence Bottorff
     [not found]       ` <68254ff0988e445a973c6d43f255aa9e@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-01-11  7:00         ` Eric S Fraga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k2a3on7y.fsf@gmail.com \
    --to=ndokos@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).