From mboxrd@z Thu Jan 1 00:00:00 1970 From: Haochen Xie Subject: Re: Block level specification for tex code html export method Date: Fri, 4 Sep 2015 15:23:22 +0900 Message-ID: References: <87egifp7jb.fsf@ucl.ac.uk> <87h9nbmbe1.fsf@nicolasgoaziou.fr> <87a8t2pv5v.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113aceaaa6422e051ee5f00c Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36097) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXkPV-0006UU-OD for emacs-orgmode@gnu.org; Fri, 04 Sep 2015 02:23:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXkPS-0007HH-Jq for emacs-orgmode@gnu.org; Fri, 04 Sep 2015 02:23:41 -0400 Received: from mail-qg0-f47.google.com ([209.85.192.47]:35012) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXkPS-0007HD-EI for emacs-orgmode@gnu.org; Fri, 04 Sep 2015 02:23:38 -0400 Received: by qgt47 with SMTP id 47so9120939qgt.2 for ; Thu, 03 Sep 2015 23:23:37 -0700 (PDT) Received: from mail-qk0-f181.google.com (mail-qk0-f181.google.com. [209.85.220.181]) by smtp.gmail.com with ESMTPSA id c188sm810067qka.37.2015.09.03.23.23.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 Sep 2015 23:23:37 -0700 (PDT) Received: by qkcj187 with SMTP id j187so4964507qkc.2 for ; Thu, 03 Sep 2015 23:23:37 -0700 (PDT) In-Reply-To: <87a8t2pv5v.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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Fabrice Popineau Cc: emacs-orgmode@gnu.org --001a113aceaaa6422e051ee5f00c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Eric, It's very likely due to this problem as both Andreas and I mentioned in earlier mails: Also please follow this link [1] to fix a > =E2=80=8Bbug > in htlatex as mentioned in Andreas's mail, or your html export will fail > silently (showing success on emacs, but no images generated). > > =E2=80=8B=E2=80=8B > [1] http://tex.stackexchange.com/a/232739 =E2=80=8B=E2=80=8B =E2=80=8BAlso, please make sure you have htlatex in your emacs' $PATH=E2=80= =8B. =E2=80=8B=E2=80=8B =E2=80=8BRegards, Haochen=E2=80=8B -- Mail from Haochen Xie On Fri, Sep 4, 2015 at 3:15 PM, Eric S Fraga wrote: > On Thursday, 3 Sep 2015 at 23:38, Nicolas Goaziou wrote: > > [...] > > > What about > > > > (defmacro by-backend (&rest body) > > `(case org-export-current-backend ,@body)) > > Nicolas, > > this seems to work! I thought I had tried something like this but I > must have got one of the ,@` wrong along the way... > > I do have a problem in that the svg file doesn't get created but that > problem lies elsewhere methinks... > > Many thanks. > > -- > : Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.2, Org release_8.3.1-188-g410e= a6 > > --001a113aceaaa6422e051ee5f00c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Eric,

It's very likely due to this problem as bo= th Andreas and I mentioned in earlier mails:

= Also please follow this link [1] to fix a=C2=A0
=E2=80=8Bbug
=C2=A0in htlatex as mentioned in A= ndreas's mail, or your html export will fail silently (showing success = on emacs, but no images generated).

=E2=80=8B=E2=80=8B[1]=C2=A0http://tex.stackexchange.com/a/232739
=E2=80=8B= =E2=80=8B
=E2=80=8BAlso, please make sure you have htlatex in your emacs&#= 39; $PATH=E2=80=8B.
=E2=80=8B=E2=80=8B
=E2=80=8BRegards,

Haochen=E2=80=8B
=C2=A0

--

Mail from Haochen Xie

On Fri, Sep 4, 2015 at 3:15 PM, Eric S Fraga= <e.fraga@ucl.ac.uk> wrote:

> What about
>
>=C2=A0 =C2=A0(defmacro by-backend (&rest body)
>=C2=A0 =C2=A0 =C2=A0`(case org-export-current-backend ,@body))

Nicolas,

this seems to work!=C2=A0 I thought I had tried something like this but I must have got one of the ,@` wrong along the way...

I do have a problem in that the svg file doesn't get created but that problem lies elsewhere methinks...

Many thanks.

--
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.2, Org release_8.3.1-188-g410ea6=


--001a113aceaaa6422e051ee5f00c--