Concerning \startTEXpage ... \stopTEXpage... again
![](https://secure.gravatar.com/avatar/23c65792d6f3eb5f6194f6ec9eadc2ac.jpg?s=120&d=mm&r=g)
Hi. Thanks to Hans for the quick fixes. However, some examples are still misbehaving. See the following: \setupbodyfont[70pt] \starttext \startTEXpage \framed{$a >> n = \left\lfloor\frac{a}{2^n}\right\rfloor$} \stopTEXpage \stoptext It works in MkIV, but it has the right margin cut with LMTX. Also, both MkIV and LMTX give cropped formulas when \framed is absent in the example above. Thank you in advance for any feedback. Best regards, Jairo :)
![](https://secure.gravatar.com/avatar/46562c7d27388490d62e8d7a5bc960dd.jpg?s=120&d=mm&r=g)
On 12/7/2020 6:15 AM, Jairo A. del Rio wrote:
Hi. Thanks to Hans for the quick fixes. However, some examples are still misbehaving. See the following:
\setupbodyfont[70pt] \starttext \startTEXpage \framed{$a >> n = \left\lfloor\frac{a}{2^n}\right\rfloor$} \stopTEXpage \stoptext
It works in MkIV, but it has the right margin cut with LMTX. Also, both MkIV and LMTX give cropped formulas when \framed is absent in the example above. Thank you in advance for any feedback. be careful with terms like 'bug' or 'misbehaving' ... in this case it's what one expects
(1) this mechanism creates / operates in a vbox (using a hbox might have been nicer in retrospect but then you would have more issues unless configured) (2) so, we need some default hsize to start with and this is the text width by defalut unless you set one with the 'width' argument or when you pass [align=] (3) cropping takes place after all has been typeset but happens within the width, again, this could be made more tolerant but then other cases will fail with mechanisms like there is always a catch: handle this well and something else will fail (when it works as expected it's seen as a feature and otherwise it's considered a bug) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/23c65792d6f3eb5f6194f6ec9eadc2ac.jpg?s=120&d=mm&r=g)
Understood. Sorry, I wasn't meant to be rude. In such cases, how should I proceed? Is there a better way? Thank you in advance. Cordially, Jairo :) El lun, 7 de dic. de 2020 a la(s) 03:58, Hans Hagen (j.hagen@xs4all.nl) escribió:
On 12/7/2020 6:15 AM, Jairo A. del Rio wrote:
Hi. Thanks to Hans for the quick fixes. However, some examples are still misbehaving. See the following:
\setupbodyfont[70pt] \starttext \startTEXpage \framed{$a >> n = \left\lfloor\frac{a}{2^n}\right\rfloor$} \stopTEXpage \stoptext
It works in MkIV, but it has the right margin cut with LMTX. Also, both MkIV and LMTX give cropped formulas when \framed is absent in the example above. Thank you in advance for any feedback. be careful with terms like 'bug' or 'misbehaving' ... in this case it's what one expects
(1) this mechanism creates / operates in a vbox (using a hbox might have been nicer in retrospect but then you would have more issues unless configured)
(2) so, we need some default hsize to start with and this is the text width by defalut unless you set one with the 'width' argument or when you pass [align=]
(3) cropping takes place after all has been typeset but happens within the width, again, this could be made more tolerant but then other cases will fail
with mechanisms like there is always a catch: handle this well and something else will fail (when it works as expected it's seen as a feature and otherwise it's considered a bug)
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/46562c7d27388490d62e8d7a5bc960dd.jpg?s=120&d=mm&r=g)
On 12/7/2020 10:03 AM, Jairo A. del Rio wrote:
Understood. Sorry, I wasn't meant to be rude. In such cases, how should
Regarding the the 'tagging' as 'bug' ... it's more that once a question mentions 'bug' it no longer serves as 'general question' with 'possible answer' for anyone.
I proceed? Is there a better way?
[align=] will make it a hbox just use similar k/v as with framed Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Jairo A. del Rio