emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* no div/id on named example blocks in html export
@ 2016-03-27 23:43 John Kitchin
  2016-03-28  9:09 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: John Kitchin @ 2016-03-27 23:43 UTC (permalink / raw)
  To: Org Mode Mailing List


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?


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

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

* Re: no div/id on named example blocks in html export
  2016-03-27 23:43 no div/id on named example blocks in html export John Kitchin
@ 2016-03-28  9:09 ` Nicolas Goaziou
  2016-03-28 19:12   ` John Kitchin
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2016-03-28  9:09 UTC (permalink / raw)
  To: John Kitchin; +Cc: Org Mode Mailing List

Hello,

John Kitchin <jkitchin@andrew.cmu.edu> 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,

-- 
Nicolas Goaziou

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

* Re: no div/id on named example blocks in html export
  2016-03-28  9:09 ` Nicolas Goaziou
@ 2016-03-28 19:12   ` John Kitchin
  0 siblings, 0 replies; 3+ messages in thread
From: John Kitchin @ 2016-03-28 19:12 UTC (permalink / raw)
  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 <jkitchin@andrew.cmu.edu> 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

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

end of thread, other threads:[~2016-03-28 19:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-27 23:43 no div/id on named example blocks in html export John Kitchin
2016-03-28  9:09 ` Nicolas Goaziou
2016-03-28 19:12   ` John Kitchin

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