emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <ucecesf@ucl.ac.uk>
To: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: [babe] noweb used to work but no longer does... what has changed?
Date: Mon, 01 Feb 2010 23:06:54 +0000	[thread overview]
Message-ID: <87zl3s1rox.wl%ucecesf@ucl.ac.uk> (raw)

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
<<units>>
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 "<<units>>".  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

             reply	other threads:[~2010-02-01 23:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-01 23:06 Eric S Fraga [this message]
2010-02-01 23:57 ` [babe] noweb used to work but no longer does... what has changed? Thomas S. Dye
2010-02-02  0:22   ` Eric S Fraga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zl3s1rox.wl%ucecesf@ucl.ac.uk \
    --to=ucecesf@ucl.ac.uk \
    --cc=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).