I learned that:
1. I can keep just the last argument of a "mark" tag or a "with" tag.
(original "with" tag has become a string value as the first member of the
"inline-tag"
2. I can modify the "inline-tag" and promote the first-argument to be the
label
3. I guess I can do the same for open-tag
4. I guess for middle-tag I will drop the label as with unquote*
5. I guess for end-tag I just ignore it



On Fri, May 25, 2012 at 6:36 PM, Sam Liddicott <s...@liddicott.com> wrote:

> Will nobody put me out of my misery?
>
> By means of these inspective macros I can call:
>
> <show|<inactive*|<assign|ll|<macro|x|<inactive|<with|var|value|<indent-both|1cm|1cm|<arg|x>>>>>>>>
>
> and see how an inactive tree is rendered, and whether or not it can be
> subject to any manipulation to recover the argument to inactive*
>
>
> <assign|showme|<macro|x|[<get-label|<arg|x>>(<length|<arg|x>>)=<arg|x>]>>
>
> <assign|show-string|<macro|x|<tree|string|<arg|x>>>>
>
>
> <assign|show-|<xmacro|x|<quasi|<tree|<arg|x|0>|<unquote*|<map-args|show|tuple|x|1>>>>>>
>
>
> <assign|show-tuple|<macro|x|<quasi|<show-|<get-label|<arg|x>>|<unquote*|<arg|x>>>>>>
>
>
> <assign|show-with|<macro|x|<quasi|<show-|<get-label|<arg|x>>|<unquote*|<arg|x>>>>>>
>
>
> <assign|show-mark|<macro|x|<quasi|<show-|<get-label|<arg|x>>|<unquote*|<arg|x>>>>>>
>
>
> <assign|show-inline-tag|<macro|x|<quasi|<show-|<get-label|<arg|x>>|<unquote*|<arg|x>>>>>>
>
>
> <assign|show-error|<macro|x|<quasi|<show-|<get-label|<arg|x>>|<unquote*|<arg|x>>>>>>
>
>
> <assign|show|<macro|x|<compound|<merge|show-|<get-label|<arg|x>>>|<arg|x>>>>
>
> On Fri, May 25, 2012 at 8:46 AM, Sam Liddicott <s...@liddicott.com> wrote:
>
>> Does anyone have an example of rewrite-inactive called from a texmacs
>> document which doesn't result in: "invalid rewrite-inactive" ?
>>
>> It is mentioned here:
>> http://www.texmacs.org/tmweb/manual/webman-styling.en.html
>>
>> These all fail
>>
>> <rewrite-inactive|<length|<tuple|1|2|3>>|once>
>>
>> <assign|t|once><rewrite-inactive|<length|<tuple|1|2|3>>|<value|t>>
>>
>> <assign|t|once><rewrite-inactive|<length|<tuple|1|2|3>>|t>
>>
>> Thanks
>>
>> Sam
>>
>
>
_______________________________________________
Texmacs-dev mailing list
Texmacs-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev

Reply via email to