From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Price Subject: add class to *figure*, not *img*, on html export? Date: Wed, 4 Sep 2019 08:24:47 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000002084a60591b94bdf" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:47002) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i5ULO-0007iH-95 for emacs-orgmode@gnu.org; Wed, 04 Sep 2019 08:25:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i5ULN-0001Nq-FR for emacs-orgmode@gnu.org; Wed, 04 Sep 2019 08:25:02 -0400 Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436]:39079) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i5ULN-0001N4-9y for emacs-orgmode@gnu.org; Wed, 04 Sep 2019 08:25:01 -0400 Received: by mail-pf1-x436.google.com with SMTP id s12so6148622pfe.6 for ; Wed, 04 Sep 2019 05:25:00 -0700 (PDT) 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" To: Org Mode --0000000000002084a60591b94bdf Content-Type: text/plain; charset="UTF-8" in HTML export, the following org text: #+ATTR_HTML: :class paired [[file:~/DH/Images/louvre-jean-baptiste-greuze-la-lecture-de-la-bible.jpg]] exports for me as: -----
louvre-jean-baptiste-greuze-la-lecture-de-la-bible.jpg
------ Is there a way to get the ~class="paired"~ attached to the *figure* rather than the *img* tag? Thank you! --0000000000002084a60591b94bdf Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

in HTML export, the following org text= :

#+ATTR_HTML: :class paired
[[file:~/DH/Images= /louvre-jean-baptiste-greuze-la-lecture-de-la-bible.jpg]]

exports for me as:

-----
<= ;figure>
<img src=3D"file:///home/matt/DH/Images/louvre-jean-= baptiste-greuze-la-lecture-de-la-bible.jpg" alt=3D"louvre-jean-ba= ptiste-greuze-la-lecture-de-la-bible.jpg" class=3D"paired"&g= t;

</figure>
------

Is ther= e a way to get the ~class=3D"paired"~ attached to the *figure* ra= ther than the *img* tag?=C2=A0 Thank you!
--0000000000002084a60591b94bdf--