From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Salazar Subject: Re: using lightbox plugins in HTML export Date: Thu, 16 Jan 2014 04:58:21 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b10cc8536b29404f0137719 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53248) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3jiS-00012j-Lp for emacs-orgmode@gnu.org; Thu, 16 Jan 2014 04:58:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W3jiR-0000jo-LO for emacs-orgmode@gnu.org; Thu, 16 Jan 2014 04:58:24 -0500 Received: from mail-pb0-x22c.google.com ([2607:f8b0:400e:c01::22c]:53892) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3jiR-0000jg-EX for emacs-orgmode@gnu.org; Thu, 16 Jan 2014 04:58:23 -0500 Received: by mail-pb0-f44.google.com with SMTP id rq2so2438174pbb.31 for ; Thu, 16 Jan 2014 01:58:22 -0800 (PST) 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: org-mode --047d7b10cc8536b29404f0137719 Content-Type: text/plain; charset=ISO-8859-1 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? Thanks! On Wed, Jan 15, 2014 at 1:32 AM, Peter Salazar wrote: > Does anyone know of a lightbox-style plug-in that will work with org-mode > HTML export that will automatically, on click, expand images to fill the > screen, i.e. one doesn't require me to manually add an "href" and > "rel=lightbox" manually to each image? > > (Most lightbox-style plugins require you to not just include IMG tags, but > to wrap them in something like ) > > Alternatively, is there a way to direct org to automatically add href and > rel="lightbox" to all images on HTML export in a way that won't break LaTeX > export? > > Thanks! > > --047d7b10cc8536b29404f0137719 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Alternatively, how do I specify the LaTeX image on one lin= e, and the HTML image as an <a href rel=3Dlightbox> on a different li= ne, such that the link doesn't appear in the LaTeX export and the image= doesn't get duplicated in the HTML export?=A0

Thanks!



On Wed, Jan 15, 2014 at 1:32 AM, Pe= ter Salazar <cycleofsong@gmail.com> wrote:
Does anyone know of a = lightbox-style plug-in that will work with org-mode HTML export that will a= utomatically, on click, expand images to fill the screen, =A0i.e. one doesn= 't require me to manually add an "href" and "rel=3Dlight= box" manually to each image?

(Most lightbox-style plugins require you to not just in= clude IMG tags, but to wrap them in something like <a href=3D"img/i= mage-1.jpg" rel=3Dlightbox></a>)

Alt= ernatively, is there a way to direct org to automatically add href and rel= =3D"lightbox" to all images on HTML export in a way that won'= t break LaTeX export?=A0

Thanks!


--047d7b10cc8536b29404f0137719--