texmacs-dev
[Top][All Lists]
Advanced

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

Re: [Texmacs-dev] rewrite-inactive


From: Sam Liddicott
Subject: Re: [Texmacs-dev] rewrite-inactive
Date: Fri, 25 May 2012 09:20:54 +0100

It's failing for me because (!is_func (t[0], ARG)) is failing in env_exec.cpp

I don't understand what is_func is doing:

inline bool is_func (tree t, tree_label l) { return (t.rep->op==l) && (N(t)!=0); }

it seems to mean that ...
and the first argument to rewrite-inactive has to have children

But is suggests a relationship between the first argument, and ARG (whatever ARG is)

On Fri, May 25, 2012 at 8:46 AM, Sam Liddicott <address@hidden> 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


reply via email to

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