Re: [NTG-context] understanding \startTEXpage

2021-01-28 Thread Hans Hagen

On 1/27/2021 6:24 PM, Peter Münster wrote:

Hi,

According to https://wiki.contextgarden.net/Command/startTEXpage it
"starts a page that fits its contents exactly".

But it seems, that part of the content is cropped here:
\startTEXpage X \hskip20cm X \stopTEXpage

No problem with 10cm instead of 20cm...

Is this a bug or expected behaviour?
Yes. The problem is that in order for auto width to work we need to have 
some width to start with. Also, because we want TEXpage to be in 
vertical mode, we cannot assume it being horizontal. So, a chicken-egg 
problem.  The good news is that you can control it, the bad news is that 
you have to update the wiki,


\starttext

\startTEXpage[align=normal,width=900pt,autowidth=force]
\framed[width=800pt,frame=off]{\number\dimexpr800pt}\par
\input tufte\par
\stopTEXpage

\startTEXpage[align=normal,width=100cm,autowidth=force]
X \hskip20cm X
\stopTEXpage

\stoptext


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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
___


[NTG-context] understanding \startTEXpage

2021-01-27 Thread Peter Münster
Hi,

According to https://wiki.contextgarden.net/Command/startTEXpage it
"starts a page that fits its contents exactly".

But it seems, that part of the content is cropped here:
\startTEXpage X \hskip20cm X \stopTEXpage

No problem with 10cm instead of 20cm...

Is this a bug or expected behaviour?

TIA,
-- 
   Peter
___
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
___