From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabrice Popineau Subject: Re: tikz for multiple targets Date: Wed, 10 Jul 2013 12:16:30 +0200 Message-ID: References: <87k3kztlam.fsf@ucl.ac.uk> <87wqoyagmh.fsf@gmx.us> <87ppuqagel.fsf@gmx.us> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1132f8487517fa04e1259392 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38474) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwrSC-0007js-2b for emacs-orgmode@gnu.org; Wed, 10 Jul 2013 06:16:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UwrS8-0007J2-ET for emacs-orgmode@gnu.org; Wed, 10 Jul 2013 06:16:56 -0400 Received: from mail-ee0-x233.google.com ([2a00:1450:4013:c00::233]:40322) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwrS8-0007HT-6l for emacs-orgmode@gnu.org; Wed, 10 Jul 2013 06:16:52 -0400 Received: by mail-ee0-f51.google.com with SMTP id e52so4768022eek.10 for ; Wed, 10 Jul 2013 03:16:50 -0700 (PDT) In-Reply-To: <87ppuqagel.fsf@gmx.us> 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: Rasmus Cc: "emacs-orgmode@gnu.org" --001a1132f8487517fa04e1259392 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable And did anybody tried the svg backend available from tikz, rather than relying on pdf conversion? Fabrice 2013/7/10 Rasmus > Rasmus writes: > > >> Is what I want possible with the new exporter? If so, I imagine the > >> test for the backend must be different now. Any pointers very welcome= ! > > > > It needs to be added to `org-html-inline-image-rules' and some > > potential translation should be added to org-html-inline-image-p, > > e.g. substitute pgf or tikz with whatever is the output format. > > Perhaps the dvipng code in ox-html can utilized to obtain a png > > seemingly. > > Actually, dvisvgm might be way to go as it may be possible to leverage > upon all of the dvipng code without much loss of generality. It would > also be useful for equations where one does not want to use mathjax. > It's only packed for Texlive, though. > > http://www.ctan.org/pkg/dvisvgm > > =96Rasmus > > -- > May contains speling mistake > > > --=20 Fabrice Popineau ----------------------------- SUPELEC D=E9partement Informatique 3, rue Joliot Curie 91192 Gif/Yvette Cedex Tel direct : +33 (0) 169851950 Standard : +33 (0) 169851212 ------------------------------ --001a1132f8487517fa04e1259392 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
And did anybody tried the svg backend available from tikz,= rather than relying
on pdf conversion?

Fabrice



2013/7/10 Rasmus <<= a href=3D"mailto:rasmus@gmx.us" target=3D"_blank">rasmus@gmx.us>
Rasmus <rasmus@gmx.us= > writes:

>> Is what I want possible with the new exporter? =A0If so, I imagine= the
>> test for the backend must be different now. =A0Any pointers very w= elcome!
>
> It needs to be added to `org-html-inline-image-rules' and some
> potential translation should be added to org-html-inline-image-p,
> e.g. substitute pgf or tikz with whatever is the output format.
> Perhaps the dvipng code in ox-html can utilized to obtain a png
> seemingly.

Actually, dvisvgm might be way to go as it may be possible to leverag= e
upon all of the dvipng code without much loss of generality. =A0It would also be useful for equations where one does not want to use mathjax.
It's only packed for Texlive, though.

=A0 =A0 =A0ht= tp://www.ctan.org/pkg/dvisvgm

=96Rasmus

--
May contains speling mistake





-- Fabrice Popineau
-----------------------------
SUPELEC
D=E9partement Informatique
3, rue Joliot Curie
91= 192 Gif/Yvette Cedex
Tel direct : +33 (0) 169851950
Standard : +33 (0) 169851212<= /div>
------------------------------

--001a1132f8487517fa04e1259392--