From: Peter Salazar <cycleofsong@gmail.com>
To: Bastien <bzg@gnu.org>
Cc: org-mode <emacs-orgmode@gnu.org>
Subject: Re: using lightbox plugins in HTML export
Date: Wed, 22 Jan 2014 23:34:11 -0500 [thread overview]
Message-ID: <CAE+_6TzQ=Dh+eNawCqK44M2RJO44yKXw1_Zfocb6RVNrX+X3hQ@mail.gmail.com> (raw)
In-Reply-To: <87r482yk6v.fsf@bzg.ath.cx>
[-- Attachment #1: Type: text/plain, Size: 760 bytes --]
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 <bzg@gnu.org> wrote:
> Hi Peter,
>
> Peter Salazar <cycleofsong@gmail.com> writes:
>
> > Alternatively, how do I specify the LaTeX image on one line, and the
> > HTML image as an <a href rel=lightbox> 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
>
[-- Attachment #2: Type: text/html, Size: 1693 bytes --]
next prev parent reply other threads:[~2014-01-23 4:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-15 6:32 using lightbox plugins in HTML export Peter Salazar
2014-01-16 9:58 ` Peter Salazar
2014-01-20 11:19 ` Bastien
2014-01-23 4:34 ` Peter Salazar [this message]
2014-01-23 7:33 ` Bastien
2014-01-24 8:40 ` Peter Salazar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAE+_6TzQ=Dh+eNawCqK44M2RJO44yKXw1_Zfocb6RVNrX+X3hQ@mail.gmail.com' \
--to=cycleofsong@gmail.com \
--cc=bzg@gnu.org \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).