From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: HTML export for math markup Date: Mon, 09 Jan 2017 17:57:53 -0500 Message-ID: <87k2a3on7y.fsf@gmail.com> References: <87zij0nnsz.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51399) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cQitO-0006AV-G0 for emacs-orgmode@gnu.org; Mon, 09 Jan 2017 17:58:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cQitL-0005g2-Ek for emacs-orgmode@gnu.org; Mon, 09 Jan 2017 17:58:18 -0500 Received: from [195.159.176.226] (port=57674 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cQitL-0005fp-7u for emacs-orgmode@gnu.org; Mon, 09 Jan 2017 17:58:15 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cQit7-0004LI-6N for emacs-orgmode@gnu.org; Mon, 09 Jan 2017 23:58:01 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Lawrence Bottorff 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 wrote: > > Lawrence Bottorff 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