[NTG-context] fitting a picture to the available space

Hans Hagen pragma at wxs.nl
Fri Sep 12 17:37:38 CEST 2008


Mojca Miklavec wrote:

> Thanks a lot! Two new words for my TeX dictionary (\pagegoal,
> \pagetotal). Something like this (if packed inside the \placesomething
> macro) would be great to have in the core as well.

this is actually what factor=max uses (grep for pagegoal in context/base)

hpwever, there is no robust (non intrusive) way to determine the exact 
page state (so, in case of using pagetotal, keep additional parskips etc 
in mind)

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
-----------------------------------------------------------------


More information about the ntg-context mailing list