From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: [Babel] size limit of #+call Date: Sat, 24 Mar 2012 15:00:02 -0400 Message-ID: <32138.1332615602@alphaville> References: <8889A3B3-267B-4E41-B52D-D33DC9162523@gmail.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:51020) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SBWC9-0008IL-1t for emacs-orgmode@gnu.org; Sat, 24 Mar 2012 15:00:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SBWC7-0005Tr-CK for emacs-orgmode@gnu.org; Sat, 24 Mar 2012 15:00:08 -0400 Received: from g5t0007.atlanta.hp.com ([15.192.0.44]:36973) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SBWC7-0005SH-7j for emacs-orgmode@gnu.org; Sat, 24 Mar 2012 15:00:07 -0400 In-Reply-To: Message from Martin Halder of "Sat, 24 Mar 2012 19:39:17 BST." <8889A3B3-267B-4E41-B52D-D33DC9162523@gmail.com> 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: Martin Halder Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org Martin Halder wrote: > Hi all, > > trying to use a function to output a latex file using python with = > #+call. > > The example below does work but when pycalltest gets too big it just = > output "nil". > When I call pycalltest directly with C-c C-c it works even with a big = > function. > > Is there a size limit when I use #+call ? > > Thanks for help, > Martin > > #+name: = > pycalltest(trans=3Dtranslation,items=3Ditems,cust=3Dcustomer,deta=3Ddetail= > s,lang=3D"german",cur=3D"chf") > #+begin_src python :results output > execfile('latex.py') > print lx_config > #+end_src > #+call: pycalltest(translation,items,customer,details,"german","chf") = > :file "test.tex" Can you please provide all the pieces needed to run this? I presume at least latex.py is needed - anything else? Thanks, Nick