From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas S. Dye" Subject: Re: [babe] noweb used to work but no longer does... what has changed? Date: Mon, 1 Feb 2010 13:57:09 -1000 Message-ID: <91C9F693-65DA-4D97-A436-C372C9C24661@tsdye.com> References: <87zl3s1rox.wl%ucecesf@ucl.ac.uk> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nc68r-0004Ru-BK for emacs-orgmode@gnu.org; Mon, 01 Feb 2010 18:57:17 -0500 Received: from [199.232.76.173] (port=56751 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nc68r-0004Rd-0C for emacs-orgmode@gnu.org; Mon, 01 Feb 2010 18:57:17 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nc68o-0001F7-OE for emacs-orgmode@gnu.org; Mon, 01 Feb 2010 18:57:16 -0500 Received: from outbound-mail-351.bluehost.com ([66.147.249.12]:35914) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Nc68o-0001ES-9V for emacs-orgmode@gnu.org; Mon, 01 Feb 2010 18:57:14 -0500 In-Reply-To: <87zl3s1rox.wl%ucecesf@ucl.ac.uk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric S Fraga , Eric S Fraga Cc: org-mode mailing list On Feb 1, 2010, at 1:06 PM, Eric S Fraga wrote: > Hi, > > after two months away from a particular document, I find that all my > babel codes in that document no longer work as they used to. > Specifically, references to other source code blocks are now no longer > expanded: > > --8<---------------cut here---------------start------------->8--- > * maxima test > *** COMMENT units > #+srcname: units > #+begin_src maxima > programmode: false$ > h: 3600*s$ > day: 24*h$ > #+end_src > > *** Real evaluations > #+srcname: unitstest > #+begin_src maxima :results output :exports results :noweb > <> > solution: solve([m = 2*day], [m]),numer$ > #+end_src > > #+results: unitstest > : stdin:2:Incorrect syntax: < is not a prefix operator > : << > : ^ > --8<---------------cut here---------------end--------------->8--- > > The error at the end is because the code segment immediately above, > unitstest, has been copied literally to the maxima input file without > expansion of "<>". This used to work fine so something has > changed? If the change is something that will have affected my maxima > babel code, I can post that (but it's a total hack...). > > Any and all suggestions or pointers more than welcome! > > Thanks, > eric Hi Eric, Yes, the :noweb syntax was changed. You'll need to say :noweb yes now. There are ways to set this by file and globally as well. The Org-babel documentation should be up-to-date on the new syntax. All the best, Tom