emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Feature request: lists with letters


From: Rasmus
Subject: Re: [O] Feature request: lists with letters
Date: Mon, 13 Feb 2017 11:51:45 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Hi,

>   #+attr_html: some clever code which I don't know.

Probably `org-html-begin-plain-list' would need to patched to accept
:class or :style.  In general it might be nicer to accept those in more
places.  Then one could do either

"#+attr_html: :class alpha" (with corresponding css) or "#+attr_html:
:style list-style-type: lower-alpha;".

For html in particular, one would need to change the reference label in
the output to match the type of the list.  E.g. if <<point>> is an
lower-alpha type the textContent of [[ref]] must be adjusted.  This is
just how html is.  JS could solve it at display-time, of one could use a
filter to add the right label (shouldn't be too hard as the item element
already have a :bullet in the plist).  

One could also use a prep. filter to add the correct #+attr_ lines at the
necessary places.

IOW the problems are all fairly easy to deal with once we've added :style
and :class support to more places in ox-html.

Rasmus

-- 
Dobbelt-A




reply via email to

[Prev in Thread] Current Thread [Next in Thread]