From mboxrd@z Thu Jan 1 00:00:00 1970 From: cberry@tajo.ucsd.edu Subject: Re: new exporter drops :parameters ? Date: Wed, 04 Jul 2012 11:19:05 -0700 Message-ID: <87d34bqtie.fsf@tajo.ucsd.edu> References: <878vf1gq73.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:58605) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SmUAb-0007oF-MN for emacs-orgmode@gnu.org; Wed, 04 Jul 2012 14:19:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SmUAZ-0003I2-OH for emacs-orgmode@gnu.org; Wed, 04 Jul 2012 14:19:21 -0400 Received: from plane.gmane.org ([80.91.229.3]:53937) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SmUAZ-0003HB-CF for emacs-orgmode@gnu.org; Wed, 04 Jul 2012 14:19:19 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SmUAW-0007TF-CG for emacs-orgmode@gnu.org; Wed, 04 Jul 2012 20:19:16 +0200 Received: from tajo.ucsd.edu ([137.110.122.165]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 04 Jul 2012 20:19:16 +0200 Received: from cberry by tajo.ucsd.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 04 Jul 2012 20:19:16 +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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Nicolas Goaziou writes: > Hello, > > Charles Berry writes: > >> I am trying to put together a derived backend that makes use of Src Block >> :parameters attribute. >> [deleted] >> >> AFAICS :parameters is nowhere to be found when using >> org-export-to-buffer. > > This is because src blocks are executed before buffer is parsed. You can > try to call `org-export-blocks-preprocess' on the following buffer > (associated to a file): Thanks! I get it. It turns out I can piggyback extra info needed on the ':name' element and use that in lieu of ':parameters'. BTW, "#+name: aname" and "#+NAME: aname" are handled differently in e-latex. The former gets placed in the latex output as "\#+name: aname". Bug? Chuck > > > --8<---------------cut here---------------start------------->8--- > #+name: bblock > #+BEGIN_SRC R :exports code :et-cetera > rnorm(2)+1 > #+END_SRC > --8<---------------cut here---------------end--------------->8--- > > and see what is really parsed: the removal happens on the Babel side. > [snip] -- Charles C. Berry Dept of Family/Preventive Medicine cberry at ucsd edu UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901