Marcin Borkowski <mb...@amu.edu.pl> writes:

> So basically I can attach #+ATTR_WHATEVER attributes also to lists,
> paragraphs and other elements?  Even list items?  (This would mean
> that I could mark the "correct" answer using that syntax - but I think
> this would be too verbose.  I can't see any harm in abusing checkboxes
> for that, though I [[http://xkcd.com/292/][might be mistaken]];))

You can attach attributes (which is a subset of "affiliated keywords"
category) to any element excepted clock, headline, inlinetask, item,
planning, node-property, section and table-row types.

So, plain lists can have attributes, but not items. There are
workarounds, though. For example, you can use an export snippet at the
beginning of the item to mark the correct answer. Hence, assuming "qcm"
is the name of your backend, you could use:

  #+attr_qcm: :type mct
  - answer a
  - @@qcm:correct@@ answer b
  - answer c

"ox-beamer.el" uses it to specify action overlays item wise. See
`org-beamer-item' for an example.


Regards,

-- 
Nicolas Goaziou

Reply via email to