On 3/11/06, Henri Lesourd <address@hidden> wrote:
> I see. If i pass it as a arg by using macro, then passed paragraph
> will be editable in the document that requests the other document to
> be included. However the document that's being included will not be
> editable, as it's now a macro.
The document that's being included is not editable not because it is part
of a macro (because inside a macro, you can precisely turn parts to being
editable using <arg>), but because it is part of <include>. On the other
hand, even in the context of only one document, the tags
<value|variable-name>
do not allow for direct editing of the variable value.
> If I pass it as a value via <value|intro-text>, then the document
> that's being included is editable,
No, its not : as soon as you use <include> or any of its derivatives
(like the
one I wrote in Scheme), the included text is *not* editable any more.
By the inluded file being editable i didn't mean editing it from the
document doing the including, but I was refering to being able to load
the included file in a seperate texmacs buffer and edit it. We
could turn the included file into a "pure" macro (without a include
& "value" call), but then we loose our normal editing abilities on
this buffer, and can only work in "code mode" (as
"<assign|x|<macro|..." statements don't display anything)