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

-----------------------------------------------------------------