Am 25.12.2009 um 20:25 schrieb Oliver Buerschaper:

> Dear all,
> 
> how can I get columns within a layer? I tried
> 
> ---
> \setupbackgrounds
>    [page]
>    [background=text]
> 
> \definelayer
>    [text]
>    [width=\paperwidth,
>     height=\paperheight]
> 
> \startbuffer[test]
> \startcolumns[n=2]
> \input zapf
> \stopcolumns
> \stopbuffer
> 
> 
> 
> \starttext
> 
> 
> \startstandardmakeup
> 
> \setlayerframed
>    [text]
>    [x=1cm,
>     y=3cm]
>    [width=12cm,
>     height=6cm,
>     align=normal,
>     offset=none,
>     framecolor=gray]
>    {\getbuffer[test]}
> 
> \stopstandardmakeup
> 
> 
> \stoptext
> ---
> 
> with no success :-( I'm running MkIV, by the way.

\usemodule[streams]

\definestreamlayer[test][method=overlay]

\setupbackgrounds[page][background=test]

\starttext

\startstreamlayer[test]
\startcolumns
\input knuth
\stopcolumns
\stopstreamlayer

\setlayer[test][x=5cm,y=10cm]{\placestreamlayer[test]}

\stoptext

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to