Hello,

Bastien <b...@gnu.org> writes:

> Somehow this calls for a way to let a backend use several affiliated
> keywords.  For example you would have:
>
> #+ATTR_HTML: :width 400px
> #+ATTR_BLOG: :lineno t

Org already provided a syntax to number lines in source blocks. Couldn't
it be used instead?

  #+begin_src emacs-lisp -n
  ...
  #+end_src

> and the exporter would take both into account, letting you to simply
> export to HTML without the need to add redundant information.
>
> Nicolas, did this cross your mind?  Or maybe this is already feasible?

This is already feasible. See `org-beamer-plain-list' for an example.
Both #+attr_latex and #+attr_beamer are read but the latter has
precedence over the former.


Regards,

-- 
Nicolas Goaziou

Reply via email to