ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* latest beta (october 18th): likely bug in \mirror
@ 2018-11-23 12:01 mf
  2018-11-23 12:31 ` mf
  2018-11-23 13:41 ` latest beta (November " mf
  0 siblings, 2 replies; 4+ messages in thread
From: mf @ 2018-11-23 12:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 218 bytes --]

Hello list,
the effect of \mirror in latest beta looks extended to the following 
content in the page.

It seems a bug in the \mirror macro or another bug that is reflected in 
\mirror (forgive the pun).

Massimiliano

[-- Attachment #2: brace-bug.tex --]
[-- Type: text/x-tex, Size: 1423 bytes --]

% (the following brace is a modified version of one posted by Wolfgang)
\startuseMPgraphic{accolade}
z1  = (-233,0) ;
z2  = (-220,22) ;
z3  = (-155,211) ;
z4  = (-200,690) ;
z5  = (-142,1033) ;
z6  = (-97,1106) ;
z7  = (-71,1125) ;
z8  = (-61,1104) ;
z9  = (-80,1077) ;
z10 = (-108,1002) ;
z11 = (-129,666) ;
z12 = (-117,207) ;
z13 = (-197,19) ;
z14 = (-208,0) ;
z15 = (-197,-19) ;
z16 = (-117,-207) ;
z17 = (-129,-666) ;
z18 = (-108,-1026) ;
z19 = (-80,-1077) ;
z20 = (-61,-1104) ;
z21 = (-71,-1125) ;
z22 = (-97,-1106) ;
z23 = (-143,-1031) ;
z24 = (-199,-673) ;
z25 = (-155,-211) ;
z26 = (-220,-22) ;
fill z1 for i=2 upto 14: .. z[i] endfor & z14 for j=15 upto 26: .. z[j]
endfor .. z1 & cycle ;
\stopuseMPgraphic

% braces are scaled to fit the box
\defineoverlay[leftbrace] [\middlealigned{\scale[height=\overlayheight,width=\dimexpr 3pt+.015\dimexpr\overlayheight\relax\relax]{\useMPgraphic{accolade}}}]
\defineoverlay[rightbrace][\middlealigned{\mirror{\scale[height=\overlayheight,width=\dimexpr 3pt+.015\dimexpr\overlayheight\relax]{\useMPgraphic{accolade}}}}]

\starttext

  Context version: \contextversion.

  \blank

  \bTABLE[framecolor=orange]
    \bTR
      \bTD a \eTD
      \bTD[nr=3,width=1em,background=rightbrace] \eTD
      \bTD[nr=3,align=lohi] abc \eTD
    \eTR
    \bTR
      \bTD b \eTD
    \eTR
    \bTR
      \bTD c \eTD
    \eTR
  \eTABLE

  \blank

  Following text: \input sapolsky

\stoptext

[-- Attachment #3: brace-not-ok.pdf --]
[-- Type: application/pdf, Size: 11827 bytes --]

[-- Attachment #4: brace-ok.pdf --]
[-- Type: application/pdf, Size: 11782 bytes --]

[-- Attachment #5: Type: text/plain, Size: 492 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] 4+ messages in thread

* Re: latest beta (october 18th): likely bug in \mirror
  2018-11-23 12:01 latest beta (october 18th): likely bug in \mirror mf
@ 2018-11-23 12:31 ` mf
  2018-11-24 21:27   ` Hans Hagen
  2018-11-23 13:41 ` latest beta (November " mf
  1 sibling, 1 reply; 4+ messages in thread
From: mf @ 2018-11-23 12:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 155 bytes --]

A much simpler example:

\starttext

\ConTeXt\ version: \contextversion.

A paragraph with a mirrored \mirror{word} inside.

Another paragraph.

\stoptext

[-- Attachment #2: mirror-not-ok.pdf --]
[-- Type: application/pdf, Size: 8007 bytes --]

[-- Attachment #3: mirror-ok.pdf --]
[-- Type: application/pdf, Size: 7951 bytes --]

[-- Attachment #4: Type: text/plain, Size: 492 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] 4+ messages in thread

* Re: latest beta (November 18th): likely bug in \mirror
  2018-11-23 12:01 latest beta (october 18th): likely bug in \mirror mf
  2018-11-23 12:31 ` mf
@ 2018-11-23 13:41 ` mf
  1 sibling, 0 replies; 4+ messages in thread
From: mf @ 2018-11-23 13:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Sorry for the mistake in the subject: the bug is in the latest beta of 
November, 18th.
___________________________________________________________________________________
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] 4+ messages in thread

* Re: latest beta (october 18th): likely bug in \mirror
  2018-11-23 12:31 ` mf
@ 2018-11-24 21:27   ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2018-11-24 21:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users, mf

On 11/23/2018 1:31 PM, mf wrote:
> A much simpler example:
> 
> \starttext
> 
> \ConTeXt\ version: \contextversion.
> 
> A paragraph with a mirrored \mirror{word} inside.
> 
> Another paragraph.
> 
> \stoptext
i'll send you a fix

-----------------------------------------------------------------
                                           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] 4+ messages in thread

end of thread, other threads:[~2018-11-24 21:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-23 12:01 latest beta (october 18th): likely bug in \mirror mf
2018-11-23 12:31 ` mf
2018-11-24 21:27   ` Hans Hagen
2018-11-23 13:41 ` latest beta (November " mf

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).