From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Huszagh Subject: Re: patch: add custom latex->html conversion command Date: Sun, 16 Feb 2020 16:12:01 -0800 Message-ID: References: <87blpz1c29.fsf@gmail.com> <87ftfahyau.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000027bfcb059eba68c9" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:59500) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j3U1I-0000NM-9E for emacs-orgmode@gnu.org; Sun, 16 Feb 2020 19:12:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j3U1H-0000mH-6j for emacs-orgmode@gnu.org; Sun, 16 Feb 2020 19:12:16 -0500 In-Reply-To: <87ftfahyau.fsf@gnu.org> 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-mx.org@gnu.org Sender: "Emacs-orgmode" To: Bastien Cc: "emacs-orgmode@gnu.org" --00000000000027bfcb059eba68c9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Bastien, Thanks for the reply. I=E2=80=99ll look into it. However, I=E2=80=99d initi= ally ruled that out because the final output is meant to be an image. So, to get just text insertion into the html output I imagine would be a bit of a hack. For instance what to set image-converter to etc. Matt On Sun, Feb 16, 2020 at 4:06 PM Bastien wrote: > Hi Matt, > > Matt Huszagh writes: > > > The patch below allow's you to provide your own shell command the > > generates HTML from a latex fragment and places the output directly in > > the exported HTML file. > > Can you get the same output by configuring a new symbol in > `org-preview-latex-process-alist' then setting `org-html-with-latex' > to this new symbol? > > I've not tested it, so perhaps it does not work. > > But any patch about adding latexmlc support should surely look in this > direction first. > > HTH, > > -- > Bastien > --00000000000027bfcb059eba68c9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Bastien,

Thanks for the reply. I=E2=80=99ll look into it. However, I= =E2=80=99d initially ruled that out because the final output is meant to be= an image. So, to get just text insertion into the html output I imagine wo= uld be a bit of a hack. For instance what to set image-converter to etc.

Matt

On Sun, Feb 16, 2= 020 at 4:06 PM Bastien <bzg@gnu.org&g= t; wrote:
Hi Matt,

Matt Huszagh <huszaghmatt@gmail.com> writes:

> The patch below allow's you to provide your own shell command the<= br> > generates HTML from a latex fragment and places the output directly in=
> the exported HTML file.

Can you get the same output by configuring a new symbol in
`org-preview-latex-process-alist' then setting `org-html-with-latex'= ;
to this new symbol?

I've not tested it, so perhaps it does not work.

But any patch about adding latexmlc support should surely look in this
direction first.

HTH,

--
=C2=A0Bastien
--00000000000027bfcb059eba68c9--