ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Are before=command parameters expanded?
@ 2007-01-20 21:22 Mike Bird
  2007-01-21  8:46 ` Taco Hoekwater
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Bird @ 2007-01-20 21:22 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Are before=command parameters expanded?
  2007-01-20 21:22 Are before=command parameters expanded? Mike Bird
@ 2007-01-21  8:46 ` Taco Hoekwater
  0 siblings, 0 replies; 2+ messages in thread
From: Taco Hoekwater @ 2007-01-21  8:46 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-01-21  8:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-20 21:22 Are before=command parameters expanded? Mike Bird
2007-01-21  8:46 ` Taco Hoekwater

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).