Hello, There seems to be a bug in RTL documents when \framed goes in \leftaligned, \midaligned, or \rightaligned AND corner=round option is used. (I don't know what other options trigger the bug.) Here is the MWE (verified in ConTeXt ver: 2016.01.18 22:21 MKIV beta fmt: 2016.1.19 int: english/english): \setupalign[r2l] \starttext \midaligned \framed[corner=round, width=.5\hsize] {Hello! This is some sample text.} \stoptext It works fine when either corner or midaligned is dropped. With both in, however, the frame appears to the right of the text (no overlap). Thanks! —MHB
On 1/20/2016 4:27 PM, Mohammad Hossein Bateni wrote:
Hello,
There seems to be a bug in RTL documents when \framed goes in \leftaligned, \midaligned, or \rightaligned AND corner=round option is used. (I don't know what other options trigger the bug.)
Here is the MWE (verified in ConTeXt ver: 2016.01.18 22:21 MKIV beta fmt: 2016.1.19 int: english/english):
\setupalign[r2l] \starttext
\midaligned \framed[corner=round, width=.5\hsize] {Hello! This is some sample text.}
\stoptext
It works fine when either corner or midaligned is dropped. With both in, however, the frame appears to the right of the text (no overlap).
fixed in next beta
___________________________________________________________________________________ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Mohammad Hossein Bateni