lout-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Writing verbatim to a file


From: Valeriy E. Ushakov
Subject: Re: Writing verbatim to a file
Date: Sat, 22 Sep 2001 05:10:49 +0400
User-agent: Mutt/1.3.3i

On Fri, Sep 21, 2001 at 19:01:19 +0200, Oliver Bandel wrote:

> is it possible to write text/data directly into a file,
> maybe with directing a copy of it as a raw-text to
> the lout-document?
> 
> This could be used to write C-Code into a file from
> within a Lout-document and at the same time setting
> it in the document.

Why would you want to do this with Lout?  Even TeX uses tangle/weave
to extract the code and document from a web program.

> This is intended to use lout for literate programming,
> where the documentation to the C-Code and the C-Code itself
> will be written at the same time and will be located at the
> same place, so that it is easier to maintain documentation
> and code in parallel.

Have you noticed that prg2lout can handle embedded comments?
See section 11.7 of the User's Guide.

SY, Uwe
-- 
address@hidden                         |       Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen


reply via email to

[Prev in Thread] Current Thread [Next in Thread]