Re: [NTG-context] fullpage graphic
Hallo!
\setuppapersize[a4][a4] \setupfloat[figure][none,fit,here,always,top,bottom,force,page] \setupcaption[figure][number=no] \setuplayout[grid=yes]% Problem doesn't exist with grid=no \starttext \input tufte \placefigure{}{\framed[offset=none]{%
\externalfigure[float.png][width=\makeupwidth,height=\textheight]}}
\dorecurse{10}{\par\input tufte} \stoptext
--------------------------------------------------------------------
Maybe I am missing something here. But \placefigure[page].... seems to work fine for me. Even larger dimensions do not seem to be a problem.
\input tufte
\placefigure[page,none]{}{\blackrule[width=\textwidth,height=0.9\tex theight,color=green]} \input tufte \placefigure[page,none]{}{\blackrule[width=\textwidth,height=1.0\tex theight,color=green]} \input tufte \placefigure[page,none]{}{\blackrule[width=\textwidth,height=1.1\tex theight,color=green]} \dorecurse{10}{\input tufte}
You are right! Your example works! The difference to the example that I have posted is, that you gave the options [page,none] explicitly with \placefigure and I have used \setupfloat[figure][page,none]. So, what is wrong with using \setupfloat? Please try my example exactly as given and you will see what I mean. Wolfgang
wwl@musensturm.de wrote:
Hallo!
\setuppapersize[a4][a4] \setupfloat[figure][none,fit,here,always,top,bottom,force,page] \setupcaption[figure][number=no] \setuplayout[grid=yes]% Problem doesn't exist with grid=no \starttext \input tufte \placefigure{}{\framed[offset=none]{%
\externalfigure[float.png][width=\makeupwidth,height=\textheight]}}
\dorecurse{10}{\par\input tufte} \stoptext
--------------------------------------------------------------------
Maybe I am missing something here. But \placefigure[page].... seems to work fine for me. Even larger dimensions do not seem to be a problem.
\input tufte
\placefigure[page,none]{}{\blackrule[width=\textwidth,height=0.9\tex theight,color=green]} \input tufte \placefigure[page,none]{}{\blackrule[width=\textwidth,height=1.0\tex theight,color=green]} \input tufte \placefigure[page,none]{}{\blackrule[width=\textwidth,height=1.1\tex theight,color=green]} \dorecurse{10}{\input tufte}
You are right! Your example works! The difference to the example that I have posted is, that you gave the options [page,none] explicitly with \placefigure and I have used \setupfloat[figure][page,none].
\setupfloat[figure][default={page,none}] may work (untested) 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 -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
wwl@musensturm.de