From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avdi Grimm Subject: Re: Embed images in formats best suited for HTML and LaTeX export and inline viewing Date: Wed, 6 Jun 2012 23:47:24 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001636c598811c616504c1d9bf45 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33208) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ScThO-0006Z5-Oi for emacs-orgmode@gnu.org; Wed, 06 Jun 2012 23:47:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ScThM-000383-Sm for emacs-orgmode@gnu.org; Wed, 06 Jun 2012 23:47:50 -0400 Received: from mail-we0-f169.google.com ([74.125.82.169]:54411) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ScThM-00037y-JL for emacs-orgmode@gnu.org; Wed, 06 Jun 2012 23:47:48 -0400 Received: by wefh52 with SMTP id h52so106855wef.0 for ; Wed, 06 Jun 2012 20:47:45 -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: Brett Viren Cc: emacs-orgmode@gnu.org --001636c598811c616504c1d9bf45 Content-Type: text/plain; charset=ISO-8859-1 I'm interested in this as well. At present I plan on handling it externally to org-mode with some preprocessing before final org-export; but it would be cool to have it be a built-in feature. Obviously it can be accomplished manually with #+LaTeX: and #+HTML: sections, but some syntax sugar for it would be great. On Wed, May 30, 2012 at 9:26 AM, Brett Viren wrote: > Hi, > > How can I tell org-mode to use different file formats for an image for > different purposes? > > What I really want is a scalable format to embed "line art" type images > (plots) into org-mode documents so that they can display inline and in > both HTML and LaTeX exports. SVG seems good for the first two but LaTeX > doesn't accept it. Likewise, LaTeX wants PDF but inline and HTML export > do not. > > Anyway to eat my cake? > > Thanks, > -Brett. > --001636c598811c616504c1d9bf45 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I'm interested in this as well. At present I plan on handling it extern= ally to org-mode with some preprocessing before final org-export; but it wo= uld be cool to have it be a built-in feature. Obviously it can be accomplis= hed manually with #+LaTeX: and #+HTML: sections, but some syntax sugar for = it would be great.

On Wed, May 30, 2012 at 9:26 AM, = Brett Viren <bv@bnl.gov> wrote:
Hi,

How can I tell org-mode to use different file formats for an image for
different purposes?

What I really want is a scalable format to embed "line art" type = images
(plots) into org-mode documents so that they can display inline and in
both HTML and LaTeX exports. =A0SVG seems good for the first two but LaTeX<= br> doesn't accept it. =A0Likewise, LaTeX wants PDF but inline and HTML exp= ort
do not.

Anyway to eat my cake?

Thanks,
-Brett.

--001636c598811c616504c1d9bf45--