From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jarmo Hurri Subject: Re: Babel CALL no longer produces HTML output Date: Sat, 23 Jul 2016 19:52:58 +0300 Message-ID: <87r3akpa8l.fsf@iki.fi> References: <87r3akzh3c.fsf@iki.fi> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40275) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bR0Aw-0000bD-BG for emacs-orgmode@gnu.org; Sat, 23 Jul 2016 12:53:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bR0At-0008Su-7Z for emacs-orgmode@gnu.org; Sat, 23 Jul 2016 12:53:18 -0400 Received: from plane.gmane.org ([80.91.229.3]:41159) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bR0At-0008Si-0H for emacs-orgmode@gnu.org; Sat, 23 Jul 2016 12:53:15 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bR0An-0001Ir-7Q for emacs-orgmode@gnu.org; Sat, 23 Jul 2016 18:53:09 +0200 Received: from 82-181-168-52.bb.dnainternet.fi ([82.181.168.52]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 23 Jul 2016 18:53:09 +0200 Received: from jarmo.hurri by 82-181-168-52.bb.dnainternet.fi with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 23 Jul 2016 18:53:09 +0200 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: emacs-orgmode@gnu.org "Charles C. Berry" writes: > On Sat, 23 Jul 2016, Jarmo Hurri wrote: >> 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 Yes! It works now, thank you very, very much. More below. > 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 > > I am not sure I find this new behavior to be an improvement. The new behaviour actually makes sense to me: I need to override all the parameters from the original Babel block. If this is really the case, I am more than fine with it: I think it makes the system more logical and provides full control. Again, thanks! Jarmo