|
From: | Gianmaria Lari |
Subject: | Re: using \pushToTag and \removeWithTag consecutively |
Date: | Sat, 14 Apr 2018 15:34:21 +0200 |
Gianmaria Lari <address@hidden> writes:
> I don't understand the behaviour of this code:
>
> \version "2.19.81"
> var = {a \tag #'here {b} a}
> {\var} %Result: a b a
> {\removeWithTag #'here \var} %Result: a a
> {\pushToTag #'here b! \removeWithTag #'here \var} %Result: a a ; Expected:
> a b! a
>
>
> The result is:
>
> a b a - ok!
> a a - ok!
> a a - not ok; shouldn't be "a b! a" ??
\removeWithTag removes the tagged _expression_. Which includes the tag
itself.
[Prev in Thread] | Current Thread | [Next in Thread] |