emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* apply attr_html to a whole figure?
@ 2016-09-22  1:11 Matt Price
  2016-09-22  7:09 ` Christian Moe
  2016-09-22  9:50 ` Eric Abrahamsen
  0 siblings, 2 replies; 5+ messages in thread
From: Matt Price @ 2016-09-22  1:11 UTC (permalink / raw)
  To: Org Mode

[-- Attachment #1: Type: text/plain, Size: 696 bytes --]

When exporting images with captions, ox-html currently creates a strucuture
like this:


<div class="figure">
<p><img src="./images/hlevel.png" alt="hlevel.png">
</p>
<p><span class="figure-number">Figure 1:</span> "test"</p>
</div>

(I've tried setting org-html-html5-fancy" to t, but for whatever reason
this doesn't result in the useo f the <figure> tag. I tried with emacs -q
with no luck).

I would like to be able to give an additional class to the enclosing <div
class="figure">.  Any idea how i might be able to do that? As far as I can
see, org-html--wrap-image does not have access to the org link element and
so can't query for attributes.

I really appreciate any ideas! Thanks,
Matt

[-- Attachment #2: Type: text/html, Size: 1012 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-09-22 20:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-22  1:11 apply attr_html to a whole figure? Matt Price
2016-09-22  7:09 ` Christian Moe
2016-09-22 20:46   ` Matt Price
2016-09-22  9:50 ` Eric Abrahamsen
2016-09-22 20:49   ` Matt Price

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).