* Bug: RTL \framed when aligned
@ 2016-01-20 15:27 Mohammad Hossein Bateni
2016-01-21 17:06 ` Hans Hagen
0 siblings, 1 reply; 2+ messages in thread
From: Mohammad Hossein Bateni @ 2016-01-20 15:27 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 641 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 785 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Bug: RTL \framed when aligned
2016-01-20 15:27 Bug: RTL \framed when aligned Mohammad Hossein Bateni
@ 2016-01-21 17:06 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2016-01-21 17:06 UTC (permalink / raw)
To: ntg-context
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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-01-21 17:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-20 15:27 Bug: RTL \framed when aligned Mohammad Hossein Bateni
2016-01-21 17:06 ` Hans Hagen
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).