emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Ordered List (Alphabetical) and HTML Export
@ 2013-05-30 18:57 Josiah Schwab
  2013-06-30 21:45 ` Bastien
  0 siblings, 1 reply; 13+ messages in thread
From: Josiah Schwab @ 2013-05-30 18:57 UTC (permalink / raw)
  To: emacs-orgmode

Hi All,

I am using orgmode 8.0.3 with emacs 24.3.  I frequently use
ordered lists with alphabetical bullets.  I have
  (setq org-list-allow-alphabetical t)
in my .emacs.

I just noticed that when I export an alphabetical list using the HTML
exporter, it appears as a numerical list in the rendered HTML.  My
expectation was that the ol tags for this list would look like <ol
type="a">, but instead they are just plain <ol>. (At the end of the
message is a snippet that lets you reproduce this.)

From poking around in ox-html.el (specfically, looking at
org-html-begin-plain-list), I see that there is no code that handles
the list "type".

I spent a few minutes looking at org-list.el, but I'm new enough to
both org-mode and elisp, that I couldn't immediately see how to extend
org-html-begin-plain-list so that it could figure out the kind of list
bullet and properly set the type.

Could anyone help walk me through what one would need to do to get the
desired behavior of HTML export preserving alphabetically bulleted
lists?

Best,
Josiah Schwab

P.S.  Here's an example org snippet.

* Letters
a. foo
b. bar
c. baz
* Numbers
1. foo
2. bar
3. baz

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

end of thread, other threads:[~2013-07-01 14:32 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-30 18:57 Ordered List (Alphabetical) and HTML Export Josiah Schwab
2013-06-30 21:45 ` Bastien
2013-07-01  9:42   ` Nicolas Goaziou
2013-07-01 10:15     ` Bastien
2013-07-01 10:21       ` Bastien
2013-07-01 10:49         ` Sebastien Vauban
2013-07-01 11:49       ` Nicolas Goaziou
2013-07-01 12:54         ` Bastien
2013-07-01 13:49           ` Nicolas Goaziou
2013-07-01 14:13             ` Jambunathan K
2013-07-01 14:19             ` Bastien
2013-07-01 14:32             ` Bastien
2013-07-01 14:29         ` Carsten Dominik

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