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: Wed, 12 Aug 2015 01:24:02 +0900 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11425c529b7069051d0b8860 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36151) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPCLf-0007kw-Sq for emacs-orgmode@gnu.org; Tue, 11 Aug 2015 12:24:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZPCLa-0002Pj-Nx for emacs-orgmode@gnu.org; Tue, 11 Aug 2015 12:24:23 -0400 Received: from mail-ig0-f170.google.com ([209.85.213.170]:34421) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPCLa-0002Pf-IK for emacs-orgmode@gnu.org; Tue, 11 Aug 2015 12:24:18 -0400 Received: by igui7 with SMTP id i7so43794977igu.1 for ; Tue, 11 Aug 2015 09:24:18 -0700 (PDT) Received: from mail-io0-f176.google.com (mail-io0-f176.google.com. [209.85.223.176]) by smtp.gmail.com with ESMTPSA id z65sm1816080ioi.38.2015.08.11.09.24.17 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Aug 2015 09:24:17 -0700 (PDT) Received: by iodb91 with SMTP id b91so147745036iod.1 for ; Tue, 11 Aug 2015 09:24:17 -0700 (PDT) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: fabrice.popineau@centralesupelec.fr Cc: Andreas Leha , "emacs-orgmode@gnu.org" --001a11425c529b7069051d0b8860 Content-Type: text/plain; charset=UTF-8 Hi Fabrice, Thank you for mentioning dvisvgm. I did some researches on it, and it seems that as for now, the only way to invoke dvisvgm is to first export the latex part to dvi, and call dvisvgm manually to convert it to svg, then include it in the org file, which, is too troublesome for me. Is there any plan to add dvisvgm as an alternative to dvipng and imagemagick? IMO svg images will look much better than png (well, in browsers supporting it), so that's a nice option to have. Regards, Haochen -- Mail from Haochen Xie On Tue, Aug 11, 2015 at 5:53 PM, Fabrice Popineau < fabrice.popineau@supelec.fr> wrote: > > > 2015-08-11 10:47 GMT+02:00 Haochen Xie : > >> Hi Andreas, >> >> Thank you for your reply. I've read the whole thread, and found your >> example (the second link) very useful. Although for some reason, SVG >> image is not working well on my machine (not being displayed in >> chrome, nor on IE. I don't have firefox installed), but since the SVG >> image generated by imagemagick is indeed a raster image, I don't see >> any benefit using SVG over PNG, and exporting to PNG works perfectly. >> >> > Use dvisvgm instead of imagemagick to generate the svg file. > > Fabrice > --001a11425c529b7069051d0b8860 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Fabrice,

Thank you for mentioning dvisvgm. I did som= e researches on it, and it seems that as for now, the only way to invoke dv= isvgm is to first export the latex part to dvi, and call dvisvgm manually t= o convert it to svg, then include it in the org file, which, is too trouble= some for me. Is there any plan to add dvisvgm as an alternative to dvipng a= nd imagemagick? IMO svg images will look much better than png (well, in bro= wsers supporting it), so that's a nice option to have.

Regards,=

Haochen

=

--

M= ail from Haochen Xie

On Tue, Aug 11, 2015 at 5:53 PM, Fabrice Pop= ineau <fabrice.popineau@supelec.fr> wrote:

=
2015-08-11 10:47 GMT+02:00 = Haochen Xie <haochenx@acm.org>:
Hi Andr= eas,

=
Thank you for your reply. I've= read the whole thread, and found your
example (the second link) very useful. Although for some r= eason, SVG
image is no= t working well on my machine (not being displayed in
chrome, nor on IE. I don't have firefox = installed), but since the SVG
image generated by imagemagick is indeed a raster image, I don'= t see
any benefit usin= g SVG over PNG, and exporting to PNG works perfectly.

<= div>
Use dvisvgm instead of imagemagick to generate th= e svg file.

Fabrice

--001a11425c529b7069051d0b8860--