Hi Nicolas, >> How to generate latex code for a theorem with an author, like this: >> >> \begin{theorem}[Newton] >> Blah. >> \end{theorem} >> >> With the old exporter, you could do this: >> >> >> #+BEGIN_theorem Newton >> Blah. >> #+END_theorem >> >>
[...] I was not aware of that possibility in the old exporter. Neat! > > There's no right way at the moment: I forgot to implement this. > > Anyway, since this feature was LaTeX only, what do you think about the > following syntax (which doesn't work yet): > > #+attr_latex: :options [Newton] > #+begin_theorem > Blah. > #+end_theorem > > It is heavier but it seems more consistent to me. Even if it *was* LaTeX only, shouldn't it be up to the backend to provide translation of such arguments? I'd vote for the shorter version to have a (possibly future) backend-agnostic version. Just my 2ct. - Andreas