![](https://secure.gravatar.com/avatar/e8bbfc42c0af30d82e2c8ec78b6d5cbb.jpg?s=120&d=mm&r=g)
I noticed some strange behavior which resulted from the fact that the before value is expanded in \setupfootnotes. For example, the following test case will break if \noexpand is removed: \setupfootnotes[before=\noexpand\undefined] \starttext \stoptext Is this the intended behavior or is this a bug? Thanks, --Mike Bird
![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
Mike Bird wrote:
I noticed some strange behavior which resulted from the fact that the before value is expanded in \setupfootnotes.
For example, the following test case will break if \noexpand is removed:
\setupfootnotes[before=\noexpand\undefined] \starttext \stoptext
Is this the intended behavior or is this a bug?
It is an unavoidable a side-effect. The 'before' bit is typeset immediately, because the height of the resulting material will influence page breaking. Best, Taco
participants (2)
-
Mike Bird
-
Taco Hoekwater