|
From: | David Kastrup |
Subject: | Re: using \pushToTag and \removeWithTag consecutively |
Date: | Sat, 14 Apr 2018 15:15:50 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
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. -- David Kastrup
[Prev in Thread] | Current Thread | [Next in Thread] |