Hi,
> > #+begin_theorem :options [Him]
> > slkdfj
> > #+end_theorem
>
> This isn't future-proof. If, for example, we need to add options for the
> HTML back-end, there will be a syntax conflict. The rule is the
> following:
>
> - If the toggle are global, allow them on the block opening string
>
Vincent Beffara writes:
> It does seem more consistent with things like fig captions and so on -
> thanks for implementing! A little bit more verbose but that's fine ...
> and I agree that the previous "#+begin_theorem Somebody" felt a bit
> vague. How about a middle ground like this ?
>
> #+begi
Hi,
> 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 see
Hi Nicolas,
>>> #+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 shor
Hello,
Andreas Leha writes:
>> #+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
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
Hello,
Vincent Beffara writes:
> 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
>
>
> (possibly with brackets, not sure) but
Hi,
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
(possibly with brackets, not sure) but now the rest of the #+BEGIN_ line is
ignored ... Thi