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
-----------------------------------------------------------------
___________________________________________________________________________________
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