From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: no div/id on named example blocks in html export Date: Mon, 28 Mar 2016 15:12:43 -0400 Message-ID: References: <87oa9zq894.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55201) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akcam-0003ok-J7 for emacs-orgmode@gnu.org; Mon, 28 Mar 2016 15:12:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1akcaj-0003wL-Dd for emacs-orgmode@gnu.org; Mon, 28 Mar 2016 15:12:48 -0400 Received: from mail-qg0-x231.google.com ([2607:f8b0:400d:c04::231]:35371) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akcaj-0003wH-97 for emacs-orgmode@gnu.org; Mon, 28 Mar 2016 15:12:45 -0400 Received: by mail-qg0-x231.google.com with SMTP id y89so116709512qge.2 for ; Mon, 28 Mar 2016 12:12:45 -0700 (PDT) In-reply-to: <87oa9zq894.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou Cc: Org Mode Mailing List I gave this a shot (I think ;). I sent patches to the mailing list adding an id attribute to three blocks: example, quote and special. Hopefully that is the right way to do it. I signed the FSF papers in April 2014, and they were approved in May 2014. Let me know if there is another way to do this. Thanks, Nicolas Goaziou writes: > Hello, > > John Kitchin writes: > >> I noticed that if I make a block like this: >> >> #+name: methane-smiles >> #+BEGIN_EXAMPLE >> C >> #+END_EXAMPLE >> >> There is no id="methane-smiles" assocated with the pre block in the HTML >> export. >> >> The place to add it would be in org-html-example-block I suppose. Is >> there any reason not to do that? > > I think that nobody felt the need for that yet. Do you want to provide > a patch? > > > Regards, -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu