[NTG-context] Layers in ConTeXt
Peter Rolf
indiego at gmx.net
Fri Jul 13 18:22:35 CEST 2007
Giuseppe Bilotta schrieb:
> Friday, July 13, 2007 Peter Rolf wrote:
>
>> Hi Guiseppe,
>
>> welcome back ;)
>
> Thanks :) (btw, it's gIUseppe :D)
>
Sorry for that. Too much GUI (graphical user interface) stuff in my
work... :)
>> Giuseppe Bilotta schrieb:
>>> The first one is very simple: is there a way to 'fix' the
>>> layer's content "until they change"? I've currently set them
>>> as page backgrounds, but their content gets reset on each
>>> new page.
>> use a collector (Details, p.75) instead; I have no experience with them,
>> but setup should be the same as for layer.
>
>> % - - - - -
>> \definecollector[foo][state=repeat]
>
>> \starttext
>> \switchtobodyfont[32pt]
>
>> \setcollector[foo]{\strut eat more...}
>> \flushcollector[foo]
>
>> \page[yes]
>
>> \setcollector[foo][hoffset=6cm]{\strut poppler}
>> \flushcollector[foo]
>
>> \stoptext
>> % - - - - -
>
> Excellent, thanks.
>
> BTW, just to show how out of the loop I am, where can I get
> the Details manual? :D
>
http://www.pragma-ade.com/general/manuals/details.pdf
More information about the ntg-context
mailing list