[NTG-context] strange behaviour with \scale

Hans Hagen pragma at wxs.nl
Sat Jul 2 16:46:54 CEST 2005


Peter Münster wrote:
> Hello,
> 
> could anybody explain, why the "DRAFT" is bigger on the last two pages
> please?
> 
> \defineoverlay[Draft][{\scale[factor=max]{\rotate[rotation=60]{~DRAFT~}}}]
> \setupbackgrounds[page][background=Draft]
> \starttext
> \starttables[|l|]
> \dorecurse{200}{\NC hallo \NC\AR}
> \stoptables
> \stoptext

the meaning of ~ chances inside a table and the last pages are flushed when the 
table is already typeset; a solution is:

\let\normalactivetilde~
\let\normalactivebar  |

\appendtoks\let~\normalactivetilde\to\everypagebody
\appendtoks\let|\normalactivebar  \to\everypagebody

another solution is to set the meaning of ~ at the table cell level; you may add 
that to the wiki as a feature reaquest -)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------



More information about the ntg-context mailing list