You've hit upon it exactly; this solution works perfectly. Thank you, Andrew!
This little tidbit, a few lines at the header, and a slightly different script
now make my tangled Orgmode files executable at the command line. Ah, the joys
of literate code.
- M
This message was sent from my iPa
I recently wrote what I thought to be a very simply she'll script to tangle a
file; simply call the script on a file, e.g. 'tangle corgi.org' and a file,
'corgi.rb' (assuming one uses Ruby) appears in the local directory.
Tangling the file from within Emacs works normally. Tangling from this sc
I am sure that this is a trivially simple issue that I've simply overlooked in
the manual, but by God, I've been studiously overlooking it for about an hour...
I simply print a few things...
#+BEGIN_SRC emacs-lisp :export output
(let (
(dog (sqrt 2))
(cat 7)
A few of us at my institution have started using CALC in our documents (not
embedded, which is far too clumsy for most of us, but C-x * u and simple
embedded phrases, often to the tune of several pages) to use Emacs text files
rather like Maple and Mathematica files. We're starting to use GIT a