* framedtext is (still) broken in LMTX @ 2020-11-29 21:33 Rik Kabel 2020-11-29 22:15 ` Hans Hagen 0 siblings, 1 reply; 5+ messages in thread From: Rik Kabel @ 2020-11-29 21:33 UTC (permalink / raw) To: ntg-context [-- Attachment #1.1: Type: text/plain, Size: 567 bytes --] With ConTeXt ver: 2020.11.28 13:18 LMTX fmt: 2020.11.29 the *\framedtext* output is consistently *0.8\textwidth*. MkiV gives the expected result. \starttext \framedtext{Fail}\par \framedtext[width=fit]{Fail}\par \framedtext[width=3cm]{Fail}\par \framedtext[width=0.8\textwidth]{Fine by accident}\par \framedtext[width=\textwidth]{Fail}\par \framed{Fine}\par \framed[width=fit]{Fine}\par \framed[width=3cm]{Fine}\par \framed[width=0.8\textwidth]{Fine}\par \framed[width=\textwidth]{Fine}\par \stoptext -- Rik [-- Attachment #1.2: Type: text/html, Size: 923 bytes --] [-- Attachment #2: Type: text/plain, Size: 493 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: framedtext is (still) broken in LMTX 2020-11-29 21:33 framedtext is (still) broken in LMTX Rik Kabel @ 2020-11-29 22:15 ` Hans Hagen 2020-11-30 17:15 ` Rik Kabel 0 siblings, 1 reply; 5+ messages in thread From: Hans Hagen @ 2020-11-29 22:15 UTC (permalink / raw) To: mailing list for ConTeXt users, Rik Kabel On 11/29/2020 10:33 PM, Rik Kabel wrote: > With ConTeXt ver: 2020.11.28 13:18 LMTX fmt: 2020.11.29 the > *\framedtext* output is consistently *0.8\textwidth*. MkiV gives the > expected result. > > \starttext > \framedtext{Fail}\par > \framedtext[width=fit]{Fail}\par > \framedtext[width=3cm]{Fail}\par > \framedtext[width=0.8\textwidth]{Fine by accident}\par > \framedtext[width=\textwidth]{Fail}\par > \framed{Fine}\par > \framed[width=fit]{Fine}\par > \framed[width=3cm]{Fine}\par > \framed[width=0.8\textwidth]{Fine}\par > \framed[width=\textwidth]{Fine}\par > \stoptext fixed in next upload (tomorrow) ----------------------------------------------------------------- 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: framedtext is (still) broken in LMTX 2020-11-29 22:15 ` Hans Hagen @ 2020-11-30 17:15 ` Rik Kabel 2020-11-30 20:05 ` Wolfgang Schuster 0 siblings, 1 reply; 5+ messages in thread From: Rik Kabel @ 2020-11-30 17:15 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 2146 bytes --] On 11/29/2020 17:15, Hans Hagen wrote: > On 11/29/2020 10:33 PM, Rik Kabel wrote: >> With ConTeXt ver: 2020.11.28 13:18 LMTX fmt: 2020.11.29 the >> *\framedtext* output is consistently *0.8\textwidth*. MkiV gives the >> expected result. >> >> \starttext >> \framedtext{Fail}\par >> \framedtext[width=fit]{Fail}\par >> \framedtext[width=3cm]{Fail}\par >> \framedtext[width=0.8\textwidth]{Fine by accident}\par >> \framedtext[width=\textwidth]{Fail}\par >> \framed{Fine}\par >> \framed[width=fit]{Fine}\par >> \framed[width=3cm]{Fine}\par >> \framed[width=0.8\textwidth]{Fine}\par >> \framed[width=\textwidth]{Fine}\par >> \stoptext > fixed in next upload (tomorrow) > > Sadly, *\framedtext* still appears to have a problem with the default width, although with today's update one can now explicitly set the width. (Nothing I can find in the docs suggests that *\framedtext* has a different default width than *\framed*. Perhaps I missed it.) New overwrought example: \definelayer [HRule] [x=0mm,y=0pt,width=\textwidth,height=\textheight] \setlayer [HRule] [hoffset=0pt,voffset=10em] {\blackrule[color=green,height=1pt,width=10cm]} %setupframedtext [offset=0pt] \definelayer [VRule] [x=0mm,y=0pt,width=\textwidth,height=\textheight] \setlayer [VRule] [hoffset=0.75\textwidth,voffset=0pt] {\blackrule[color=red,height=10em,width=1pt]} \setupbackgrounds [text] [background={HRule,VRule}] \setupframedtext [offset=0pt] \starttext \framed{default width for \tex{framed} is {\tt fit}}\par \framedtext{default width for \tex{framedtext} is not {\tt fit}. It appears to be 0.75\tex{textwidth}}\par \framedtext[width=10cm]{explicit width for \tex{framedtext} now works}\par \framedtext[width=fit]{{\tt fit} width for \tex{framedtext} now works}\par \stoptext -- Rik [-- Attachment #1.2: Type: text/html, Size: 3217 bytes --] [-- Attachment #2: Type: text/plain, Size: 493 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: framedtext is (still) broken in LMTX 2020-11-30 17:15 ` Rik Kabel @ 2020-11-30 20:05 ` Wolfgang Schuster 2020-11-30 21:10 ` Rik Kabel 0 siblings, 1 reply; 5+ messages in thread From: Wolfgang Schuster @ 2020-11-30 20:05 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 1219 bytes --] Rik Kabel schrieb am 30.11.2020 um 18:15: > On 11/29/2020 17:15, Hans Hagen wrote: >> On 11/29/2020 10:33 PM, Rik Kabel wrote: >>> With ConTeXt ver: 2020.11.28 13:18 LMTX fmt: 2020.11.29 the >>> *\framedtext* output is consistently *0.8\textwidth*. MkiV gives the >>> expected result. >>> >>> \starttext >>> \framedtext{Fail}\par >>> \framedtext[width=fit]{Fail}\par >>> \framedtext[width=3cm]{Fail}\par >>> \framedtext[width=0.8\textwidth]{Fine by accident}\par >>> \framedtext[width=\textwidth]{Fail}\par >>> \framed{Fine}\par >>> \framed[width=fit]{Fine}\par >>> \framed[width=3cm]{Fine}\par >>> \framed[width=0.8\textwidth]{Fine}\par >>> \framed[width=\textwidth]{Fine}\par >>> \stoptext >> fixed in next upload (tomorrow) >> >> > > Sadly, *\framedtext* still appears to have a problem with the default > width, although with today's update one can now explicitly set the > width. (Nothing I can find in the docs suggests that *\framedtext* has > a different default width than *\framed*. Perhaps I missed it.) > There is nothing wrong with framedtext, the command always used a fixed width as default setting. Wolfgang [-- Attachment #1.2: Type: text/html, Size: 2085 bytes --] [-- Attachment #2: Type: text/plain, Size: 493 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: framedtext is (still) broken in LMTX 2020-11-30 20:05 ` Wolfgang Schuster @ 2020-11-30 21:10 ` Rik Kabel 0 siblings, 0 replies; 5+ messages in thread From: Rik Kabel @ 2020-11-30 21:10 UTC (permalink / raw) To: ntg-context [-- Attachment #1.1: Type: text/plain, Size: 1318 bytes --] On 11/30/2020 15:05, Wolfgang Schuster wrote: > Rik Kabel schrieb am 30.11.2020 um 18:15: >> On 11/29/2020 17:15, Hans Hagen wrote: >>> On 11/29/2020 10:33 PM, Rik Kabel wrote: >>>> With ConTeXt ver: 2020.11.28 13:18 LMTX fmt: 2020.11.29 the >>>> *\framedtext* output is consistently *0.8\textwidth*. MkiV gives >>>> the expected result. >>>> >>>> \starttext >>>> \framedtext{Fail}\par >>>> \framedtext[width=fit]{Fail}\par >>>> \framedtext[width=3cm]{Fail}\par >>>> \framedtext[width=0.8\textwidth]{Fine by accident}\par >>>> \framedtext[width=\textwidth]{Fail}\par >>>> \framed{Fine}\par >>>> \framed[width=fit]{Fine}\par >>>> \framed[width=3cm]{Fine}\par >>>> \framed[width=0.8\textwidth]{Fine}\par >>>> \framed[width=\textwidth]{Fine}\par >>>> \stoptext >>> fixed in next upload (tomorrow) >>> >>> >> >> Sadly, *\framedtext* still appears to have a problem with the default >> width, although with today's update one can now explicitly set the >> width. (Nothing I can find in the docs suggests that *\framedtext* >> has a different default width than *\framed*. Perhaps I missed it.) >> > > There is nothing wrong with framedtext, the command always used a > fixed width as default setting. > > Wolfgang Wikified. [-- Attachment #1.2: Type: text/html, Size: 2497 bytes --] [-- Attachment #2: Type: text/plain, Size: 493 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-11-30 21:10 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2020-11-29 21:33 framedtext is (still) broken in LMTX Rik Kabel 2020-11-29 22:15 ` Hans Hagen 2020-11-30 17:15 ` Rik Kabel 2020-11-30 20:05 ` Wolfgang Schuster 2020-11-30 21:10 ` Rik Kabel
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).