Re: [NTG-context] Concerning \startTEXpage ... \stopTEXpage... again
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 - ___ 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 ___
Re: [NTG-context] Concerning \startTEXpage ... \stopTEXpage... again
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.ha...@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 > - > ___ 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 ___
Re: [NTG-context] Concerning \startTEXpage ... \stopTEXpage... again
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 ___
[NTG-context] Concerning \startTEXpage ... \stopTEXpage... again
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 :) ___ 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 ___