From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: LaTeX export: Theorem with an author Date: Sat, 09 Feb 2013 14:09:07 +0100 Message-ID: <877gmhab2k.fsf@med.uni-goettingen.de> References: <9CD440C643384D4EB0732CBE5F4161F1@gmail.com> <87txpmfuhg.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:51070) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4ABH-0002sD-1G for emacs-orgmode@gnu.org; Sat, 09 Feb 2013 08:09:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U4ABE-0005dj-7W for emacs-orgmode@gnu.org; Sat, 09 Feb 2013 08:09:22 -0500 Received: from plane.gmane.org ([80.91.229.3]:55070) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4ABE-0005dZ-13 for emacs-orgmode@gnu.org; Sat, 09 Feb 2013 08:09:20 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1U4ABV-0006HZ-Bl for emacs-orgmode@gnu.org; Sat, 09 Feb 2013 14:09:37 +0100 Received: from vpn-2122.gwdg.de ([134.76.2.122]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 09 Feb 2013 14:09:37 +0100 Received: from andreas.leha by vpn-2122.gwdg.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 09 Feb 2013 14:09:37 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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