[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Axiom-developer] Re: literate programming pamphlet files forMathAct
From: |
Bill Page |
Subject: |
RE: [Axiom-developer] Re: literate programming pamphlet files forMathAction |
Date: |
Fri, 1 Oct 2004 13:52:20 -0400 |
Further,
This idea is entirely general since for example in
a bash shell script or Makefile I could write
wget http://.../pamphlet-file/tangle/code/hello |
gcc -o hello.exe
to extract the code chunk named 'hello' from the
pamphlet named 'pamphlet-file' and pipe the source
code to the C compiler to produce an executable. Etc.
I think that's nice.
Regards,
Bill Page.
On Friday, October 01, 2004 1:26 PM I wrote:
> ...
> Then there will be a *method* called 'tangle' which
> could be applied for any LatexWiki page. A url like
> this:
>
> http://.../zope/mathaction/dhmatrix/tangle/axiom
>
> would have the effect of calling notangle to extract and
> expand the default chunk <<*>>= from the 'dhmatrix' source
> and call axiom via a /begin{axiom} ... /end{axiom} wrapper
> and the render the result via LatexWiki. The rendered
> result would be saved with the 'dhmatrix' object so that
> this is only done once after the source object is edited,
> (i.e. there would be two page renderings). In fact this
> could be easily extended to
>
> http://.../zope/mathaction/dhmatrix/tangle/axiom/root
>
> to allow starting the extraction and expansion with
> the chunk named <<root>>= And so then there might be
> even more than two renderings.