From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Finer control over LaTeX export Date: Tue, 31 Dec 2013 17:00:34 +0100 Message-ID: <87fvp9dn8d.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33417) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vy1k0-0001KR-37 for emacs-orgmode@gnu.org; Tue, 31 Dec 2013 11:00:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vy1jr-0005H6-Dx for emacs-orgmode@gnu.org; Tue, 31 Dec 2013 11:00:23 -0500 Received: from mail-ea0-x234.google.com ([2a00:1450:4013:c01::234]:65475) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vy1jr-0005Gv-68 for emacs-orgmode@gnu.org; Tue, 31 Dec 2013 11:00:15 -0500 Received: by mail-ea0-f180.google.com with SMTP id f15so5526202eak.25 for ; Tue, 31 Dec 2013 08:00:14 -0800 (PST) In-Reply-To: (Uwe Ziegenhagen's message of "Tue, 31 Dec 2013 15:02:06 +0000 (UTC)") 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: Uwe Ziegenhagen Cc: emacs-orgmode@gnu.org Hello, Uwe Ziegenhagen writes: [...] > These get exported to > > \#+begin$_{\text{src}}$ python :results output > print(1+2+3+4+5+6+7+8+9+11) > \#+end$_{\text{src}}$ python This is wrong. You ended your block with #+end_src python but it should be #+end_src > The whole verbatim stuff is "okay", I'd like to replace that with the > listings package, but the > > \#+begin$_{\text{src}}$ python :results output > print(1+2+3+4+5+6+7+8+9+11) > \#+end$_{\text{src}}$ python > requires amsmath just for the \text command, so this is also something I > want to change. Can anyone point me to the correct way of changing it. Note that without \text command, you can't get subscript and superscript to work (see `org-latex-default-packages-alist'). Regards, -- Nicolas Goaziou