[NTG-context] Anchoring layer

Thomas A. Schmitz thomas.schmitz at uni-bonn.de
Wed Oct 5 14:57:31 CEST 2005


Thanks for your suggestion, but I didn't get it to work. In the end,  
I had recourse to some low-level stuff (caution, ugly code ahead!):

\defineoverlay[info][{\getbuffer[info]}]

\setupbackgrounds[page][background={info}]


\startbuffer[info]
\vbox to \paperheight \bgroup
   \vskip -1 cm
    \framed[frame=off,align=high]{\tt \txx "\jobname" - \currentdate 
[y,/,mm,/,dd]\ - \currenttime\ - \realfolio\ of \lastpage}
    \egroup
\stopbuffer

(code adapted from construction of Thumb index on the wiki)

Which seems to be doing exactly what I want.

Thanks, and best

Thomas


On Oct 5, 2005, at 1:12 PM, Peter Rolf wrote:

> \setuplayer[LAYERNAME][repeat=yes]
>
> \setlayer[LAYERNAME][x=??, y=20mm, location=c]{your status line}
>
> x should be (CROPLeftX+CROPrightX)/2
>
> not tested....
>
>



More information about the ntg-context mailing list