[NTG-context] \pagewidth undefined?

Wolfgang Schuster wolfgang.schuster.lists at gmail.com
Tue May 19 17:37:01 CEST 2020


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

Wolfgang



More information about the ntg-context mailing list