From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lawrence Bottorff Subject: HTML export for math markup Date: Mon, 9 Jan 2017 10:28:24 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113ba450c5e5c60545ab04d6 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59678) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cQbs4-0001ZC-V0 for emacs-orgmode@gnu.org; Mon, 09 Jan 2017 10:28:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cQbs3-0004W6-TW for emacs-orgmode@gnu.org; Mon, 09 Jan 2017 10:28:28 -0500 Received: from mail-oi0-x232.google.com ([2607:f8b0:4003:c06::232]:33869) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cQbs3-0004VO-Pj for emacs-orgmode@gnu.org; Mon, 09 Jan 2017 10:28:27 -0500 Received: by mail-oi0-x232.google.com with SMTP id 3so510855160oih.1 for ; Mon, 09 Jan 2017 07:28:26 -0800 (PST) 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 Mailinglist --001a113ba450c5e5c60545ab04d6 Content-Type: text/plain; charset=UTF-8 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? LB --001a113ba450c5e5c60545ab04d6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
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 an= d puts them in a subfolder ltximg. Is there any way to skip this translatin= g to pictures and just use MathJax directly. I've seen=C2=A0this, bu= t my setup seems to be defaulted to png picture production, not direct Math= Jax rendering via=C2=A0"http://cdn.mathjax.org/mathjax/latest/= MathJax.js?config=3DTeX-AMS_HTML. I understand that what's happenin= g is this, but that's not MathJax.=C2=A0What am I doing (thinking) wr= ong?

LB
--001a113ba450c5e5c60545ab04d6-- 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 12:30:36 -0500 Message-ID: <87zij0nnsz.fsf@gmail.com> References: 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]:35667) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cQdmW-00056Z-Oe for emacs-orgmode@gnu.org; Mon, 09 Jan 2017 12:30:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cQdmT-0008SB-KV for emacs-orgmode@gnu.org; Mon, 09 Jan 2017 12:30:52 -0500 Received: from [195.159.176.226] (port=57455 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cQdmT-0008Rb-E0 for emacs-orgmode@gnu.org; Mon, 09 Jan 2017 12:30:49 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cQdmL-0006nJ-Nh for emacs-orgmode@gnu.org; Mon, 09 Jan 2017 18:30:41 +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: > 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: HTML export for math markup Date: Mon, 09 Jan 2017 18:31:31 +0100 Message-ID: <874m18ywb0.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35814) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cQdnK-0005bq-11 for emacs-orgmode@gnu.org; Mon, 09 Jan 2017 12:31:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cQdnG-0000Dd-Te for emacs-orgmode@gnu.org; Mon, 09 Jan 2017 12:31:42 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:34821) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cQdnG-0000DQ-NB for emacs-orgmode@gnu.org; Mon, 09 Jan 2017 12:31:38 -0500 In-Reply-To: (Lawrence Bottorff's message of "Mon, 9 Jan 2017 10:28:24 -0500") 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: Lawrence Bottorff Cc: emacs-orgmode Mailinglist Hello, 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? MathJax should be the default behaviour. See `org-html-with-latex'. Regards, -- Nicolas Goaziou From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lawrence Bottorff Subject: Re: HTML export for math markup Date: Mon, 9 Jan 2017 16:53:46 -0500 Message-ID: References: <87zij0nnsz.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113ba450e871270545b066fa Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38401) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cQhsy-0000WV-Mu for emacs-orgmode@gnu.org; Mon, 09 Jan 2017 16:53:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cQhsx-0005vl-LG for emacs-orgmode@gnu.org; Mon, 09 Jan 2017 16:53:48 -0500 Received: from mail-oi0-x234.google.com ([2607:f8b0:4003:c06::234]:33671) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cQhsx-0005vc-GB for emacs-orgmode@gnu.org; Mon, 09 Jan 2017 16:53:47 -0500 Received: by mail-oi0-x234.google.com with SMTP id w204so26722679oiw.0 for ; Mon, 09 Jan 2017 13:53:47 -0800 (PST) In-Reply-To: <87zij0nnsz.fsf@gmail.com> 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: Nick Dokos Cc: emacs-orgmode Mailinglist --001a113ba450e871270545b066fa Content-Type: text/plain; charset=UTF-8 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? 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 > > > --001a113ba450e871270545b066fa Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
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 MathJa= x. Anyone know how to switch this behavior?

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 an= y way to skip this translating to
> pictures and just use MathJax directly. I've seen=C2=A0this, but m= y setup seems to be defaulted to png
> picture production, not direct MathJax rendering via=C2=A0"http://cdn.mathjax.org/mathjax/latest/MathJax.js?=
> config=3DTeX-AMS_HTML. I understand that what's happening is this,= but that's not MathJax.=C2=A0What am I doing
> (thinking) wrong?
>

Have you tried exporting with a minimal init file and none of your c= ustomizations?

--
Nick



--001a113ba450e871270545b066fa-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thierry Banel Subject: Re: HTML export for math markup Date: Mon, 09 Jan 2017 23:34:37 +0100 Message-ID: <58740FFD.7020100@free.fr> References: Mime-Version: 1.0 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47064) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cQiWa-00054h-BT for emacs-orgmode@gnu.org; Mon, 09 Jan 2017 17:34:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cQiWV-0006J6-Ru for emacs-orgmode@gnu.org; Mon, 09 Jan 2017 17:34:44 -0500 Received: from smtp3-g21.free.fr ([212.27.42.3]:21606) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cQiWV-0006Hy-L7 for emacs-orgmode@gnu.org; Mon, 09 Jan 2017 17:34:39 -0500 Received: from [IPv6:2a01:e35:2e21:def0:21bc:a51c:900e:b555] (unknown [IPv6:2a01:e35:2e21:def0:21bc:a51c:900e:b555]) by smtp3-g21.free.fr (Postfix) with ESMTP id 814D413F80A for ; Mon, 9 Jan 2017 23:34:37 +0100 (CET) In-Reply-To: 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
Le 09/01/2017 16:28, Lawrence Bottorff a =C3=A9crit=C2=A0:
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=C2=A0this, but my setup seems to be defaulted to png picture production, not direct MathJax rendering via=C2=A0"http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=3DTeX-AMS_= HTML. I understand that what's happening is thi= s, but that's not MathJax.=C2=A0What am I doing (thinking) wrong?

LB

I use
#+HTML_MATHJAX: align: left etc...
Works well.

Then you can control appearance through CSS. For instance:
.MathJax_Display {
=C2=A0=C2=A0=C2=A0 color: #080;
=C2=A0 =C2=A0 margin: 0;
}

Have fun

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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lawrence Bottorff Subject: Re: HTML export for math markup Date: Mon, 9 Jan 2017 19:13:57 -0500 Message-ID: References: <58740FFD.7020100@free.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a114147c8459ea40545b25ccb Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38665) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cQk4e-0002Lw-Fp for emacs-orgmode@gnu.org; Mon, 09 Jan 2017 19:14:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cQk4d-0001Aa-0f for emacs-orgmode@gnu.org; Mon, 09 Jan 2017 19:14:00 -0500 Received: from mail-oi0-x234.google.com ([2607:f8b0:4003:c06::234]:33099) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cQk4c-0001AN-QZ for emacs-orgmode@gnu.org; Mon, 09 Jan 2017 19:13:58 -0500 Received: by mail-oi0-x234.google.com with SMTP id w204so30327131oiw.0 for ; Mon, 09 Jan 2017 16:13:58 -0800 (PST) In-Reply-To: <58740FFD.7020100@free.fr> 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: Thierry Banel Cc: emacs-orgmode Mailinglist --001a114147c8459ea40545b25ccb Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable This is the entirety of my header section. I'm sure there are redundancies etc. But again, the clean vanilla of Emacs 25.1.1 and org-mode 9.0.2 is defaulting to producing png's. #+TITLE: \zwnj^{147}Pm SAGA #+AUTHOR: 147Pm #+EMAIL: borgauf@sdf.org # date ... will set (change) each time (if remembered) #+DATE: <2015-05-09 Sat 07:53> #+FILETAGS: :CompleteReWrite: #+LANGUAGE: en #+INFOJS_OPT: view:showall ltoc:t mouse:underline path: http://orgmode.org/org-info.js #+HTML_HEAD: #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+OPTIONS: H:10 num:4 toc:nil \n:nil @:t ::t |:t _:{} *:t ^:{} prop:t #+OPTIONS: prop:t #+OPTIONS: tex:imagemagick #+LATEX_CLASS: article #+LATEX_CLASS_OPTIONS: [american] # Setup tikz package for both LaTeX and HTML export: #+LATEX_HEADER: \usepackage{tikz} #+LaTeX_HEADER: \usepackage{pgfplots} #+LaTeX_HEADER: \usepackage{sansmath} #+HTML_MATHJAX: align: left indent: 5em tagside: left font: Neo-Euler #+PROPERTY: header-args:latex+ :packages '(("" "tikz")) # #+PROPERTY: header-args:latex+ :imagemagick (by-backend (latex nil) (t "yes")) #+PROPERTY: header-args:latex+ :exports results :fit yes # #+STARTUP: showall #+STARTUP: align #+STARTUP: indent #+STARTUP: entitiespretty #+STARTUP: logdrawer On Mon, Jan 9, 2017 at 5:34 PM, Thierry Banel wrote: > Le 09/01/2017 16:28, Lawrence Bottorff a =C3=A9crit : > > I've got an org file with Latex math markup, e.g. $x_2/y^3$. When I expor= t > 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 a= nd > 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=3DTeX-AMS_HTML. I understand that what's happening is this > , but > that's not MathJax. What am I doing (thinking) wrong? > > LB > > > I use > #+HTML_MATHJAX: align: left etc... > Works well. > > Then you can control appearance through CSS. For instance: > .MathJax_Display { > color: #080; > margin: 0; > } > > Have fun > > --001a114147c8459ea40545b25ccb Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
This is the entirety of my header section. I'm su= re there are redundancies etc. But again, the clean vanilla of Emacs 25.1.1= and org-mode 9.0.2 is defaulting to producing png's.

#+TITLE: \zwnj^{147}Pm SAGA
#+AUTHOR: 147Pm
#+E= MAIL: borgauf@sdf.org
# da= te ... will set (change) each time (if remembered)
#+DATE: <20= 15-05-09 Sat 07:53>
#+FILETAGS: :CompleteReWrite:
#+= LANGUAGE: =C2=A0en
#+INFOJS_OPT: view:showall ltoc:t mouse:underl= ine path:http://orgmode.org/org-= info.js
#+HTML_HEAD: <link rel=3D"stylesheet" hr= ef=3D"data/stylesheet.css" type=3D"text/css">
<= div>#+EXPORT_SELECT_TAGS: export
#+EXPORT_EXCLUDE_TAGS: noexport<= /div>
#+OPTIONS: H:10 num:4 toc:nil \n:nil @:t ::t |:t _:{} *:t ^:{} pr= op:t
#+OPTIONS: prop:t
#+OPTIONS: tex:imagemagick
=
#+LATEX_CLASS: article
#+LATEX_CLASS_OPTIONS: [american]
# Setup tikz package for both LaTeX and HTML export:
#+LAT= EX_HEADER: \usepackage{tikz}
#+LaTeX_HEADER: \usepackage{pgfplots= }
#+LaTeX_HEADER: \usepackage{sansmath}
#+HTML_MATHJAX:= align: left indent: 5em tagside: left font: Neo-Euler
#+PROPERTY= : header-args:latex+ :packages '(("" "tikz"))
=
#
#+PROPERTY: header-args:latex+ :imagemagick (by-backend (l= atex nil) (t "yes"))
#+PROPERTY: header-args:latex+ :ex= ports results :fit yes
#
#+STARTUP: showall
#= +STARTUP: align
#+STARTUP: indent
#+STARTUP: entitiespr= etty
#+STARTUP: logdrawer
<= br>
On Mon, Jan 9, 2017 at 5:34 PM, Thierry Banel= <tbanelwebmin@free.fr> wrote:
=20 =20 =20
Le 09/01/2017 16:28= , Lawrence Bottorff a =C3=A9crit=C2=A0:
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=C2=A0this, but my setup seems to be defaulted to png picture production, not direct MathJax rendering via=C2=A0"http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=3DTeX-= AMS_HTML. I understand that what's happening is this, but that's not MathJax.=C2=A0What am I doing (thinking) wrong?

LB

I use
#+HTML_MATHJAX: align: left etc...
Works well.

Then you can control appearance through CSS. For instance:
.MathJax_Display {
=C2=A0=C2=A0=C2=A0 color: #080;
=C2=A0 =C2=A0 margin: 0;
}

Have fun


--001a114147c8459ea40545b25ccb-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lawrence Bottorff Subject: Re: HTML export for math markup Date: Mon, 9 Jan 2017 19:24:39 -0500 Message-ID: References: <58740FFD.7020100@free.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a114098d4862dad0545b282ea Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40428) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cQkF0-0004ae-8m for emacs-orgmode@gnu.org; Mon, 09 Jan 2017 19:24:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cQkEz-00046t-0V for emacs-orgmode@gnu.org; Mon, 09 Jan 2017 19:24:42 -0500 Received: from mail-oi0-x234.google.com ([2607:f8b0:4003:c06::234]:35978) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cQkEy-00046c-QX for emacs-orgmode@gnu.org; Mon, 09 Jan 2017 19:24:40 -0500 Received: by mail-oi0-x234.google.com with SMTP id u143so119875754oif.3 for ; Mon, 09 Jan 2017 16:24:40 -0800 (PST) In-Reply-To: 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 Mailinglist , Nick Dokos --001a114098d4862dad0545b282ea Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable org-html-with-latex is t and org-export-with-latex is also t. I don't have a org-html-format-latex, or at least nothing comes up with C-h v org-html-format-latex. Also, how does edebug work as you, Nick, described= ? On Mon, Jan 9, 2017 at 7:13 PM, Lawrence Bottorff wrote= : > This is the entirety of my header section. I'm sure there are redundancie= s > etc. But again, the clean vanilla of Emacs 25.1.1 and org-mode 9.0.2 is > defaulting to producing png's. > > #+TITLE: \zwnj^{147}Pm SAGA > #+AUTHOR: 147Pm > #+EMAIL: borgauf@sdf.org > # date ... will set (change) each time (if remembered) > #+DATE: <2015-05-09 Sat 07:53> > #+FILETAGS: :CompleteReWrite: > #+LANGUAGE: en > #+INFOJS_OPT: view:showall ltoc:t mouse:underline path: > http://orgmode.org/org-info.js > #+HTML_HEAD: type=3D"text/css"> > #+EXPORT_SELECT_TAGS: export > #+EXPORT_EXCLUDE_TAGS: noexport > #+OPTIONS: H:10 num:4 toc:nil \n:nil @:t ::t |:t _:{} *:t ^:{} prop:t > #+OPTIONS: prop:t > #+OPTIONS: tex:imagemagick > #+LATEX_CLASS: article > #+LATEX_CLASS_OPTIONS: [american] > # Setup tikz package for both LaTeX and HTML export: > #+LATEX_HEADER: \usepackage{tikz} > #+LaTeX_HEADER: \usepackage{pgfplots} > #+LaTeX_HEADER: \usepackage{sansmath} > #+HTML_MATHJAX: align: left indent: 5em tagside: left font: Neo-Euler > #+PROPERTY: header-args:latex+ :packages '(("" "tikz")) > # > #+PROPERTY: header-args:latex+ :imagemagick (by-backend (latex nil) (t > "yes")) > #+PROPERTY: header-args:latex+ :exports results :fit yes > # > #+STARTUP: showall > #+STARTUP: align > #+STARTUP: indent > #+STARTUP: entitiespretty > #+STARTUP: logdrawer > > On Mon, Jan 9, 2017 at 5:34 PM, Thierry Banel > wrote: > >> Le 09/01/2017 16:28, Lawrence Bottorff a =C3=A9crit : >> >> 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 picture= s >> and just use MathJax directly. I've seen this >> , but my >> setup seems to be defaulted to png picture production, not direct MathJa= x >> rendering via "http://cdn.mathjax.org/mathjax/latest/MathJax.js?config >> =3DTeX-AMS_HTML. I understand that what's happening is this >> , but >> that's not MathJax. What am I doing (thinking) wrong? >> >> LB >> >> >> I use >> #+HTML_MATHJAX: align: left etc... >> Works well. >> >> Then you can control appearance through CSS. For instance: >> .MathJax_Display { >> color: #080; >> margin: 0; >> } >> >> Have fun >> >> > --001a114098d4862dad0545b282ea Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
org-html-with-latex is t and=C2=A0org-export-with-latex is= also t. I don't have a=C2=A0org-html-format-latex, or at least nothing= comes up with C-h v=C2=A0org-html-format-latex. Also, how does edebug work= as you, Nick, described?

On Mon, Jan 9, 2017 at 7:13 PM, Lawrence Bottorff <borga= uf@gmail.com> wrote:
This is the entirety of my header section. I'm sure the= re are redundancies etc. But again, the clean vanilla of Emacs 25.1.1 and o= rg-mode 9.0.2 is defaulting to producing png's.

#+TITLE: \zwnj^{147}Pm SAGA
#+AUTHOR: 147Pm
#+EMAIL: = borgauf@sdf.org
# date ... will set (change) each time (if remembered)
#+= DATE: <2015-05-09 Sat 07:53>
#+FILETAGS: :CompleteReWrite:<= /div>
#+LANGUAGE: =C2=A0en
#+INFOJS_OPT: view:showall ltoc:t = mouse:underline path:http://orgmode.org/org-info.js
#+HTML_HEAD: <l= ink rel=3D"stylesheet" href=3D"data/stylesheet.css" typ= e=3D"text/css">
#+EXPORT_SELECT_TAGS: export
#+EXPORT_EXCLUDE_TAGS: noexport
#+OPTIONS: H:10 num:4 toc:nil = \n:nil @:t ::t |:t _:{} *:t ^:{} prop:t
#+OPTIONS: prop:t
#+OPTIONS: tex:imagemagick
#+LATEX_CLASS: article
#+= LATEX_CLASS_OPTIONS: [american]
# Setup tikz package for both LaT= eX and HTML export:
#+LATEX_HEADER: \usepackage{tikz}
#= +LaTeX_HEADER: \usepackage{pgfplots}
#+LaTeX_HEADER: \usepackage{= sansmath}
#+HTML_MATHJAX: align: left indent: 5em tagside: left f= ont: Neo-Euler
#+PROPERTY: header-args:latex+ :packages '((&q= uot;" "tikz"))
#
#+PROPERTY: header-args= :latex+ :imagemagick (by-backend (latex nil) (t "yes"))
#+PROPERTY: header-args:latex+ :exports results :fit yes
#
=
#+STARTUP: showall
#+STARTUP: align
#+STARTUP: ind= ent
#+STARTUP: entitiespretty
#+STARTUP: logdrawer
<= br>
On Mon, Jan 9, 2017 at 5:34 PM, Thierry Banel= <tbanelwebmin@free.fr> wrote:
=20 =20 =20
Le 09/01/2017 16:28, Lawrence Bottorff a =C3=A9crit=C2=A0:
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=C2=A0this, but my setup seems to be defaulted to png picture production, not direct MathJax rendering via=C2=A0"http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=3DTeX-= AMS_HTML. I understand that what's happening is this, but that's not MathJax.=C2=A0What am I doing (thinking) wrong?

LB

I use
#+HTML_MATHJAX: align: left etc...
Works well.

Then you can control appearance through CSS. For instance:
.MathJax_Display {
=C2=A0=C2=A0=C2=A0 color: #080;
=C2=A0 =C2=A0 margin: 0;
}

Have fun



--001a114098d4862dad0545b282ea-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: HTML export for math markup Date: Tue, 10 Jan 2017 08:21:41 +0000 Message-ID: <87y3yjgwa2.fsf@ucl.ac.uk> References: <58740FFD.7020100@free.fr> <88f10863f4f94677abfb0514800db64f@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> Reply-To: Eric S Fraga Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51857) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cQrw6-000433-5l for emacs-orgmode@gnu.org; Tue, 10 Jan 2017 03:37:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cQrw1-0004Eh-9Y for emacs-orgmode@gnu.org; Tue, 10 Jan 2017 03:37:42 -0500 Received: from mail-db5eur01on0091.outbound.protection.outlook.com ([104.47.2.91]:9884 helo=EUR01-DB5-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cQrw0-0004EO-Ud for emacs-orgmode@gnu.org; Tue, 10 Jan 2017 03:37:37 -0500 In-Reply-To: <88f10863f4f94677abfb0514800db64f@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> (Lawrence Bottorff's message of "Tue, 10 Jan 2017 00:13:57 +0000") 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 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tuesday, 10 Jan 2017 at 00:13, Lawrence Bottorff wrote: > This is the entirety of my header section. I'm sure there are > redundancies etc. But again, the clean vanilla of Emacs 25.1.1 and > org-mode 9.0.2 is defaulting to producing png's. [...] > #+OPTIONS: tex:imagemagick Maybe this is the problem? =2D-=20 : Eric S Fraga (0xFFFCF67D), Emacs 26.0.50.1, Org release_9.0.3-189-ge46676 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSPXCedOQfhSlwpVw3IkZPY//z2fQUCWHSZlgAKCRDIkZPY//z2 ffCdAJ4zjh2H5+8ZZyHl+KTtJ76ttCxhEACfUKdbWqIb8ZvhNdrr2vxZ9l3Apgk= =SeyL -----END PGP SIGNATURE----- --=-=-=-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lawrence Bottorff Subject: Re: HTML export for math markup Date: Tue, 10 Jan 2017 08:12:47 -0500 Message-ID: References: <58740FFD.7020100@free.fr> <88f10863f4f94677abfb0514800db64f@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> <87y3yjgwa2.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113d30bc98cac30545bd3d3e Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36498) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cQwEM-0001Rw-1e for emacs-orgmode@gnu.org; Tue, 10 Jan 2017 08:12:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cQwEK-0000t1-VR for emacs-orgmode@gnu.org; Tue, 10 Jan 2017 08:12:50 -0500 Received: from mail-oi0-x232.google.com ([2607:f8b0:4003:c06::232]:33097) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cQwEK-0000sw-Qt for emacs-orgmode@gnu.org; Tue, 10 Jan 2017 08:12:48 -0500 Received: by mail-oi0-x232.google.com with SMTP id w204so47842923oiw.0 for ; Tue, 10 Jan 2017 05:12:48 -0800 (PST) In-Reply-To: <87y3yjgwa2.fsf@ucl.ac.uk> 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: Eric S Fraga , emacs-orgmode Mailinglist --001a113d30bc98cac30545bd3d3e Content-Type: text/plain; charset=UTF-8 Yes, I tested all my header lines and found that was the 'offender." It got there on someone's suggestion it was needed for proper TikZ. Or was it bibtex? Or does a ton of pngs come if you choose Latex preview? No time for further investigation. Confusion will be my epitaph. . . . On Tue, Jan 10, 2017 at 3:21 AM, Eric S Fraga wrote: > On Tuesday, 10 Jan 2017 at 00:13, Lawrence Bottorff wrote: > > This is the entirety of my header section. I'm sure there are > > redundancies etc. But again, the clean vanilla of Emacs 25.1.1 and > > org-mode 9.0.2 is defaulting to producing png's. > > [...] > > > #+OPTIONS: tex:imagemagick > > Maybe this is the problem? > > -- > : Eric S Fraga (0xFFFCF67D), Emacs 26.0.50.1, Org release_9.0.3-189-ge46676 > --001a113d30bc98cac30545bd3d3e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Yes, I tested all my header lines and found that was the &= #39;offender." It got there on someone's suggestion it was needed = for proper TikZ. Or was it bibtex? Or does a ton of pngs come if you choose= Latex preview? No time for further investigation. Confusion will be my epi= taph. . . .

= On Tue, Jan 10, 2017 at 3:21 AM, Eric S Fraga <e.fraga@ucl.ac.uk> wrote:
On Tuesday,= 10 Jan 2017 at 00:13, Lawrence Bottorff wrote:
> This is the entirety of my header section. I'm sure there are
> redundancies etc. But again, the clean vanilla of Emacs 25.1.1 and
> org-mode 9.0.2 is defaulting to producing png's.

[...]

> #+OPTIONS: tex:imagemagick

Maybe this is the problem?

--
: Eric S Fraga (0xFFFCF67D), Emacs 26.0.50.1, Org release_9.0.3-189-ge46676=

--001a113d30bc98cac30545bd3d3e-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: HTML export for math markup Date: Wed, 11 Jan 2017 07:00:29 +0000 Message-ID: <87eg0am67m.fsf@ucl.ac.uk> References: <58740FFD.7020100@free.fr> <88f10863f4f94677abfb0514800db64f@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> <87y3yjgwa2.fsf@ucl.ac.uk> <68254ff0988e445a973c6d43f255aa9e@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> Reply-To: Eric S Fraga Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53029) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cREMs-0002YG-8t for emacs-orgmode@gnu.org; Wed, 11 Jan 2017 03:34:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cREMp-0002wF-5e for emacs-orgmode@gnu.org; Wed, 11 Jan 2017 03:34:50 -0500 Received: from mail-db5eur01on0103.outbound.protection.outlook.com ([104.47.2.103]:20657 helo=EUR01-DB5-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cREMo-0002vf-Ru for emacs-orgmode@gnu.org; Wed, 11 Jan 2017 03:34:47 -0500 In-Reply-To: <68254ff0988e445a973c6d43f255aa9e@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> (Lawrence Bottorff's message of "Tue, 10 Jan 2017 13:12:47 +0000") 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 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tuesday, 10 Jan 2017 at 13:12, Lawrence Bottorff wrote: > Yes, I tested all my header lines and found that was the 'offender." > It got there on someone's suggestion it was needed for proper TikZ. Or > was it bibtex? Or does a ton of pngs come if you choose Latex preview? > No time for further investigation. Confusion will be my epitaph. . . . I think, IIUC, the tex: option is for inline LaTeX and maybe (maybe not) exported LaTeX. If you want to use mathjax for this, then tikz et al. need to be done differently, e.g. using src blocks with a :file output. =2D-=20 : Eric S Fraga (0xFFFCF67D), Emacs 26.0.50.1, Org release_9.0.3-189-ge46676 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSPXCedOQfhSlwpVw3IkZPY//z2fQUCWHXYDQAKCRDIkZPY//z2 fWVzAJ9VvIl9i+SUplFnrjV8x+zKNDEjLACgiENmEHtFAhTUCbU1M+8VC1RC2ww= =K352 -----END PGP SIGNATURE----- --=-=-=--