[NTG-context] multi-page floats

luigi scarso luigi.scarso at gmail.com
Wed Jun 6 09:37:10 CEST 2012


On Tue, Jun 5, 2012 at 8:25 PM, Henning Hraban Ramm <hraban at fiee.net> wrote:
> Am 2012-06-05 um 18:17 schrieb luigi scarso:
>
>
>>>> ! File ended while scanning use of \buff_gobble.
>>>
>>> Uhm I've tested but maybe I've made a wrong cut and paste.
>>> Re-check now.
>>
>> Ah, it 's a side effect of the previous code
>
>
>
> What did you change?
Who knows... I'm always try to use the latest beta, and sometime I
make some confusion.

> I also overlooked that there is no image, i.e. layer is not visible.
True: The next one
I've a problem with the pagenumber on header, but I can use
\setupbackgrounds[page][background={foreground,bg}]

%%%%%%%%%%%%%%%%%%%%%%
\setuppagenumbering[alternative=doublesided]
\definelayer[bg][x=0mm,y=-3mm,width=\dimexpr(\paperwidth+3mm),height=\dimexpr(\paperheight+6mm)]
\setupbackgrounds[page][background={bg}]
%\setupbackgrounds[page][background={foreground,bg}]

\def\DoublePicAt#1{
      \setlayer[bg]{\externalfigure[#1][height=\dimexpr(\paperheight+6mm)]}
      \strut
      \page
}

\starttext
\startpostponing[5]
\DoublePicAt{hacker}
\stoppostponing
\startpostponing[6]
\DoublePicAt{hacker-back}
\stoppostponing


\dorecurse{30}{
      \section{Knuth \recurselevel}
      \input knuth
}

\stoptext



-- 
luigi


More information about the ntg-context mailing list