From mboxrd@z Thu Jan 1 00:00:00 1970 From: henry atting Subject: latex code block evaluation Date: Sun, 10 Feb 2013 19:17:45 +0100 Message-ID: <87mwvc58za.fsf@bye.fritz.box> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56595) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4bTV-0000vD-TP for emacs-orgmode@gnu.org; Sun, 10 Feb 2013 13:18:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U4bTQ-0005cJ-EG for emacs-orgmode@gnu.org; Sun, 10 Feb 2013 13:18:01 -0500 Received: from plane.gmane.org ([80.91.229.3]:48958) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4bTQ-0005c8-81 for emacs-orgmode@gnu.org; Sun, 10 Feb 2013 13:17:56 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1U4bTg-0002gW-Ke for emacs-orgmode@gnu.org; Sun, 10 Feb 2013 19:18:12 +0100 Received: from dslb-188-103-175-221.pools.arcor-ip.net ([188.103.175.221]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Feb 2013 19:18:12 +0100 Received: from snd by dslb-188-103-175-221.pools.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Feb 2013 19:18:12 +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 I have this latex code block: #+begin_src latex :file foo.pdf \documentclass{article} \begin{document} ...some text... \end{document} #+end_src After evaluation the resulting file looks like this: article ...some text... I do not understand this. As far as I know it is possible to define the latex documentclass within a code block. -- henry; http://literaturlatenight.de