> On 19 May 2020, at 20:11, Hans Hagen <j.ha...@xs4all.nl> wrote:
> 
> On 5/19/2020 5:37 PM, Wolfgang Schuster wrote:
>> Gerben Wierda schrieb am 19.05.2020 um 13:42:
>>> OK. I just noticed in lmtx documentation that \paperheight and \paperwidth 
>>> primitives have been removed, but there is no information what rteplaces 
>>> them. So, all the documentation that contains them has been invalidated 
>>> (e.g. examples in details.pdf)
>> I can't find \pagewidth in the current versison of details.pdf.
>> As Pablo wrote you can use \paperwidth (or \printpaperwidth) or one of the 
>> following methods.
>> %%%% begin example
>> \setupexternalfigures[location=default]
>> \setuplayout[tight]
>> \showframe
>> \starttext
>> \centerbox{\externalfigure[mill.png][width=\textwidth]}
>> \page
>> \centerbox{\externalfigure[mill.png][width=\paperwidth]}
>> \page
>> \centerbox{\externalfigure[mill.png][factor=max]}
>> \page
>> \centerbox{\externalfigure[mill.png][factor=min]}
>> \stoptext
>> %%%% end example
> 
> \pagewidth etc were low level engine primitives that were never meant to be 
> used directly (backend related, and even then very sensitive for confusion); 
> as Wolfgang indicated, these were never supposed to be used directly

Thanks all. I moved to this:

\setuppapersize[A4]
\setuplayout
  [page]
  [backspace=5mm,
   topspace=5mm]
\setuplayout [page]

and using \textwidth and \textheight.

G

> 
> Hans
> 
> -----------------------------------------------------------------
>                                          Hans Hagen | PRAGMA ADE
>              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>       tel: 038 477 53 69 | www.pragma-ade.nl <http://www.pragma-ade.nl/> | 
> www.pragma-pod.nl <http://www.pragma-pod.nl/>
> -----------------------------------------------------------------

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to