From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: babel output as LaTeX code: help please! Date: Tue, 10 Mar 2015 19:14:21 +0000 Message-ID: <87r3swll6a.fsf@ucl.ac.uk> References: <871tkwn4sm.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49408) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVPbw-0005PZ-6i for emacs-orgmode@gnu.org; Tue, 10 Mar 2015 15:14:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YVPbr-0005q6-1g for emacs-orgmode@gnu.org; Tue, 10 Mar 2015 15:14:36 -0400 Received: from mail-db3on0127.outbound.protection.outlook.com ([157.55.234.127]:56128 helo=emea01-db3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVPbq-0005ph-Pj for emacs-orgmode@gnu.org; Tue, 10 Mar 2015 15:14:30 -0400 In-Reply-To: (Thomas S. Dye's message of "Tue, 10 Mar 2015 08:42:15 -1000") 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: "Thomas S. Dye" Cc: emacs-orgmode@gnu.org On Tuesday, 10 Mar 2015 at 08:42, Thomas S. Dye wrote: [...] > Have you tried > > #+call: drawlayout[:stdin solution]() :results raw > > or, > > #+call: drawlayout[:stdin solution]() :results latex > > which should make the print "#+begin_latex" etc. lines of drawlayout redundant? Both work perfectly. Many thanks! The documentation confused me. I see now that the end header arguments are not to be enclosed in [] whereas the inside ones are. The documentation shows this in the example but the syntax seems to imply that the []s are required -- but in hindsight I guess the []s mean optional in this case. However, they are not optional for the inside arguments... Ummm, the documentation is definitely confusing but I'm not sure how to improve it other than by adding a sentence making this explicit? Thanks again, eric -- : Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3beta-843-ga5f1a3.dirty