Hello,

Felix Breuer <[EMAIL PROTECTED]> writes:

> For use with literate programming, we would have two clones of every
> code snippet. The one would reside in an "untangled" part of the document,
> and the other would reside in the tangled part. Via some mechanism, we
> could make sure that the content is actually stored in the tangled part
> of the document, so that, given the new serialization format, we would
> then get the tangled version of the code automatically. If the user
> makes changes to the code via a text editor, there is no need to propagate
> the changes to the untangled part, because the content is serialized only
> once.

Your clone idea seems, at first read, similar to my reference
suggestion (albeit more elaborated ;).

If I have understood correctly, the "serialized form" is compilable
source code, that includes both original source code in a first part,
with appropriate labels as comments, and a second texmacs part that
references the code snippets in the first part, possibly
re-ordered. When the user opens the LP file in texmacs, he only sees the
re-ordered and literate version. Right?

I like this idea.

Best wishes,
d.
-- 
pub  1024D/A3AD7A2A 2004-10-03 David MENTRE <[EMAIL PROTECTED]>
 5996 CC46 4612 9CA4 3562  D7AC 6C67 9E96 A3AD 7A2A



_______________________________________________
Texmacs-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/texmacs-dev

Reply via email to