From mboxrd@z Thu Jan 1 00:00:00 1970 From: coroa@online.de (Jonas =?utf-8?Q?H=C3=B6rsch?=) Subject: Re: AUCTex within org-babel Date: Fri, 10 Feb 2012 13:11:04 +0100 Message-ID: <8739aievmv.fsf@gmail.com> References: <87ty31csgh.fsf@gmx.com> <874nv1gil3.fsf@gmail.com> <87k43wf5lx.fsf@gmail.com> <87ehu4dj8r.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:51342) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvpK4-0007Fh-P2 for emacs-orgmode@gnu.org; Fri, 10 Feb 2012 07:11:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RvpJw-0007Hv-2A for emacs-orgmode@gnu.org; Fri, 10 Feb 2012 07:11:28 -0500 Received: from plane.gmane.org ([80.91.229.3]:52826) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvpJv-0007HV-TS for emacs-orgmode@gnu.org; Fri, 10 Feb 2012 07:11:20 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1RvpJs-0004f5-Ac for emacs-orgmode@gnu.org; Fri, 10 Feb 2012 13:11:16 +0100 Received: from kafka.exp.univie.ac.at ([131.130.102.14]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Feb 2012 13:11:16 +0100 Received: from coroa by kafka.exp.univie.ac.at with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Feb 2012 13:11:16 +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 riccardo, On Thu, Feb 09 2012, Riccardo Romoli wrote: > I do not understand why the code works only if I use: > > #+begin_src latex :exports results :results latex > .... > #+end_src for this to work you have to add (latex . t) to org-babel-load-languages. but it's actually thought to be used to automatically include some generated latex code as f.ex. an org table as in [1]. org-babel then creates a #+begin_latex...#+end_latex - block with the whole latex inside, which is then exported the same way as if you had directly used the latex-block. cheers, jonas [1] http://orgmode.org/worg/org-tutorials/org-latex-export.html#sec-13-2