emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* adding #+ATTR_XXX to list items?
@ 2014-12-03 22:33 Matt Price
  2014-12-03 22:42 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Matt Price @ 2014-12-03 22:33 UTC (permalink / raw)
  To: Org Mode

[-- Attachment #1: Type: text/plain, Size: 794 bytes --]

I came across this bug for ox-reveal.el (which is not supported), but it
seems to originate in ox-html.el.  When I try something like this:

- show bullet-points
- show more bullet-points
#+ATTR_REVEAL: :frag roll-in
- one
- by
- one

the HTML that is generated gives:

ul class="org-ul"><li>show bullet-points</li><li>show more
bullet-points</li></ul><ul
class="org-ul"><li>one</li><li>by</li><li>one</li></ul>


Looking more closely, it appears that org itself regards this as two
lists.  I think most users writing something like this would intend to
generate one single list, with an attribute applied to a single list item.
Is there a way to get that effect?  Should there be?

Thanks,

Matt

PS, there is a bug report against org-reveal at:

https://github.com/yjwen/org-reveal/issues/42

[-- Attachment #2: Type: text/html, Size: 2228 bytes --]

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

* Re: adding #+ATTR_XXX to list items?
  2014-12-03 22:33 adding #+ATTR_XXX to list items? Matt Price
@ 2014-12-03 22:42 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2014-12-03 22:42 UTC (permalink / raw)
  To: Matt Price; +Cc: Org Mode

Hello,

Matt Price <moptop99@gmail.com> writes:

> I came across this bug for ox-reveal.el (which is not supported), but it
> seems to originate in ox-html.el.  When I try something like this:
>
> - show bullet-points
> - show more bullet-points
> #+ATTR_REVEAL: :frag roll-in
> - one
> - by
> - one
>
> the HTML that is generated gives:
>
> ul class="org-ul"><li>show bullet-points</li><li>show more
> bullet-points</li></ul><ul
> class="org-ul"><li>one</li><li>by</li><li>one</li></ul>
>
>
> Looking more closely, it appears that org itself regards this as two
> lists.  I think most users writing something like this would intend to
> generate one single list, with an attribute applied to a single list item.

Attributes do not apply to items (nor to clocks, headlines, inlinetasks,
properties drawers, node properties sections and table rows).


Regards,

-- 
Nicolas Goaziou

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

end of thread, other threads:[~2014-12-03 22:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-03 22:33 adding #+ATTR_XXX to list items? Matt Price
2014-12-03 22:42 ` Nicolas Goaziou

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