From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: :noweb header argument Date: Sun, 08 Jan 2012 13:04:07 -1000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:56899) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rk1mg-0005Ap-GX for emacs-orgmode@gnu.org; Sun, 08 Jan 2012 18:04:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rk1mf-0005SB-BV for emacs-orgmode@gnu.org; Sun, 08 Jan 2012 18:04:14 -0500 Received: from oproxy5-pub.bluehost.com ([67.222.38.55]:50921) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Rk1me-0005Rw-Vt for emacs-orgmode@gnu.org; Sun, 08 Jan 2012 18:04:13 -0500 Received: from cpe-24-94-66-191.hawaii.res.rr.com ([24.94.66.191] helo=poto) by box472.bluehost.com with esmtpa (Exim 4.76) (envelope-from ) id 1Rk1ma-0001Cr-Pv for emacs-orgmode@gnu.org; Sun, 08 Jan 2012 16:04:10 -0700 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: Org-mode Hi Eric, Is there a difference between :noweb tangle and :noweb no? Based on the documentation and some limited testing, I made the following table. *** :noweb parameters | param | eval | tangle | export | |--------+------+--------+--------| | yes | + | + | + | | no | - | + | - | | tangle | - | + | - | |--------+------+--------+--------| | need | + | + | - | I think it might be good to have a parameter that expands noweb references on evaluation and tangling, but leaves them alone during export. This way the code block would be fully functional, but wouldn't duplicate code during export (when the noweb references are to other code blocks in the same document). In any case, I'll fix the documentation (which incompletely describes :noweb no) when I have this figured out. All the best, Tom -- T.S. Dye & Colleagues, Archaeologists 735 Bishop St, Suite 315, Honolulu, HI 96813 Tel: 808-529-0866, Fax: 808-529-0884 http://www.tsdye.com