From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles C. Berry" Subject: Re: Babel CALL no longer produces HTML output Date: Sat, 23 Jul 2016 09:10:22 -0700 Message-ID: References: <87r3akzh3c.fsf@iki.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35268) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQzVV-00026X-83 for emacs-orgmode@gnu.org; Sat, 23 Jul 2016 12:10:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bQzVR-0001vS-01 for emacs-orgmode@gnu.org; Sat, 23 Jul 2016 12:10:28 -0400 Received: from iport-acv1-out.ucsd.edu ([132.239.0.176]:6048) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQzVQ-0001uw-Mf for emacs-orgmode@gnu.org; Sat, 23 Jul 2016 12:10:24 -0400 In-Reply-To: <87r3akzh3c.fsf@iki.fi> 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" To: Jarmo Hurri Cc: emacs-orgmode@gnu.org On Sat, 23 Jul 2016, Jarmo Hurri wrote: > > Greetings. > > The Org example below used to work correctly when exported as HTML until > I pulled a newer version of Org from git. I am first going to include > the example here, and then explain the reasoning behind its structure. > Commit dbb375f mades changes to the babel call handling. IIUC, one result is that header args in the src block being called take precedence over default header args. More below. > ======================================================================= > * Example > > This call here produced HTML output when exported as HTML until the > newer versions of Org. Now it produces no HTML output whatsoever. > > #+CALL: rekursio-pystyviivat[:noweb yes]() :results html > Try this: #+CALL: rekursio-pystyviivat[:noweb yes :exports results]() :results html > The following code blocks still work as expected. > [snip] Since you have `:exports code' here, that prevents the evaluation of the babel call above: > #+NAME: rekursio-pystyviivat > #+BEGIN_SRC processing :exports code :noweb no > void piirraPystyviivat (int viivoja, float x, float korkeus) > { > <> > } > > void setup () > { > size (600, 400); > noLoop (); > } > > void draw () > { > piirraPystyviivat (50, 10, 350); > } > #+END_SRC > ======================================================================= I am not sure I find this new behavior to be an improvement. Chuck