mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] Literate Programming Preview


Chronological Thread 
  • From: Joris van der Hoeven <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] Literate Programming Preview
  • Date: Thu, 1 Sep 2011 12:03:45 +0200

Dear Sam,

On Sat, Jun 25, 2011 at 05:34:03PM +0100, Sam Liddicott wrote:
> I've done some more work on my fangle literate programming
> (http://www.nongnu.org/fangle/)
>
> I've completed the first TeXmacs part of the getting started guide
> at http://git.savannah.gnu.org/cgit/fangle.git/tree/docs/getting-started.pdf
> which leads through production of this document
> http://git.savannah.gnu.org/cgit/fangle.git/tree/docs/examples/hello-world.pdf
>
> I would appreciate it very much if those who find these two PDF
> interesting would try it out.
>
> A fuller version of hello-world is available that explains the
> features from the readers point of view instead of the authors:
> http://www.nongnu.org/fangle/examples/hello-world.pdf
>
> Fangle works well with TeXmacs and I use it every day for writing
> and documenting software.
>
> There's still some features crippled by notable bugs, such as
> inability to properly include commas in parameters (it's supposed to
> work) and the fact that including a text chunk in a #-marked comment
> doesn't prefix all lines with # (it's supposed to work, along with $
> quoting for text included in makefiles and so on).

Thanks for posting your work, which looks promising,
despite a few problems with the macros on my system.

You should try to encapsulate your work in a plug-in,
with keyboard shortcuts, menus, and in which the nf-chunk
can be added to the enumerate tags during the initialization
(even better would be to add the line numbers automatically,
of course). I also miss a menu item or keyboard shortcut
for generating the target files from within TeXmacs.

Notice that plug-ins can document themselves from version 1.0.7.12 on.

Best, --Joris



Archive powered by MHonArc 2.6.19.

Top of page