From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Salazar Subject: Re: using lightbox plugins in HTML export Date: Wed, 22 Jan 2014 23:34:11 -0500 Message-ID: References: <87r482yk6v.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7bf0c922c8fa8304f09bc0e1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39855) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6Bzd-0004yW-RE for emacs-orgmode@gnu.org; Wed, 22 Jan 2014 23:34:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W6Bzd-0002Dj-1J for emacs-orgmode@gnu.org; Wed, 22 Jan 2014 23:34:17 -0500 In-Reply-To: <87r482yk6v.fsf@bzg.ath.cx> 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: Bastien Cc: org-mode --047d7bf0c922c8fa8304f09bc0e1 Content-Type: text/plain; charset=ISO-8859-1 Hey Bastien, Thanks for the response. That ATTR_HTML comes in very handy. I made one adjustment to your code, and it totally worked! Amazing! Here it is in full: #+ATTR_LaTeX: :width 300px #+ATTR_HTML: :rel lightbox :href image.png [[file:image.png]] Thanks! On Mon, Jan 20, 2014 at 6:19 AM, Bastien wrote: > Hi Peter, > > Peter Salazar writes: > > > Alternatively, how do I specify the LaTeX image on one line, and the > > HTML image as an on a different line, such that > > the link doesn't appear in the LaTeX export and the image doesn't get > > duplicated in the HTML export? > > #+ATTR_LaTeX: :width 300px > #+ATTR_HTML: :rel lightbox > [[file:image.png]] > > HTH, > > -- > Bastien > --047d7bf0c922c8fa8304f09bc0e1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hey Bastien,

Thanks for the response. T= hat ATTR_HTML comes in very handy. I made one adjustment to your code, and = it totally worked! Amazing!=A0

Here it is in full:=

#+ATTR_LaTeX: :width 300px
#+ATTR_HTML: :rel lightbox :href image.png
[[file:image.pn= g]]

Thanks!




On = Mon, Jan 20, 2014 at 6:19 AM, Bastien <bzg@gnu.org> wrote:
Hi Peter,

Peter Salazar <cycleofsong@gmai= l.com> writes:

> Alternatively, how do I specify the LaTeX image on one line, and the > HTML image as an <a href rel=3Dlightbox> on a different line, su= ch that
> the link doesn't appear in the LaTeX export and the image doesn= 9;t get
> duplicated in the HTML export?

#+ATTR_LaTeX: :width 300px
#+ATTR_HTML: :rel lightbox
[[file:image.png]]

HTH,

--
=A0Bastien

--047d7bf0c922c8fa8304f09bc0e1--