ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Regression with label inright placement
@ 2015-10-26  1:13 Rik Kabel
  2015-10-26 11:03 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Rik Kabel @ 2015-10-26  1:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1258 bytes --]

The following code, a slight addition to test suite 
descriptions/labels-003.tex, when using ConTeXt from 20150904  and 
earlier works properly. Between that release and 20151004 something 
changed, and it fails with the labels shifted to reflect the temporarily 
narrowed text.

    \definelabel[MyLabel][way=bytext,text=OEPS]

    \starttext
         \setuplabel[MyLabel][alternative=intext]
         \MyLabel[labelname1] This is some text after \in[labelname1].
         \blank
         \MyLabel[labelname2] This is some text after \in[labelname2].
         \blank
         \setuplabel[MyLabel][alternative=inleft]
         \MyLabel[labelname1] This is some text after \in[labelname1].
         \blank
         \MyLabel[labelname2] This is some text after \in[labelname2].
         \blank
         \setuplabel[MyLabel][alternative=inright]
         \MyLabel[labelname1] This is some text after \in[labelname1].
         \blank
         \MyLabel[labelname2] This is some text after \in[labelname2].
         \blank
         \startnarrower
         \MyLabel[labelname1] This is some text after \in[labelname1].
         \blank
         \MyLabel[labelname2] This is some text after \in[labelname2].
         \stopnarrower
    \stoptext

Oeps indeed!
-- 
Rik

[-- Attachment #1.2: Type: text/html, Size: 1996 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] 3+ messages in thread

* Re: Regression with label inright placement
  2015-10-26  1:13 Regression with label inright placement Rik Kabel
@ 2015-10-26 11:03 ` Wolfgang Schuster
  2015-10-26 14:00   ` Rik Kabel
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2015-10-26 11:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 629 bytes --]

> Rik Kabel <mailto:context@rik.users.panix.com>
> 26. Oktober 2015 um 02:13
> The following code, a slight addition to test suite 
> descriptions/labels-003.tex, when using ConTeXt from 20150904  and 
> earlier works properly. Between that release and 20151004 something 
> changed, and it fails with the labels shifted to reflect the 
> temporarily narrowed text.
> Oeps indeed!
It’s unrelated to the label mechanism.

\showframe

\starttext

\startnarrower
\inright[scope=local]{Right}\input ward
\stopnarrower

\blank

\startnarrower
\inright{Right}\input ward
\stopnarrower

\stoptext

Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 1774 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] 3+ messages in thread

* Re: Regression with label inright placement
  2015-10-26 11:03 ` Wolfgang Schuster
@ 2015-10-26 14:00   ` Rik Kabel
  0 siblings, 0 replies; 3+ messages in thread
From: Rik Kabel @ 2015-10-26 14:00 UTC (permalink / raw)
  To: ntg-context

On 2015-10-26 07:03, Wolfgang Schuster wrote:
> \showframe
>
> \starttext
>
> \startnarrower
> \inright[scope=local]{Right}\input ward
> \stopnarrower
>
> \blank
>
> \startnarrower
> \inright{Right}\input ward
> \stopnarrower
>
> \stoptext
Okay, unrelated to the label mechanism.

However, for explicitly placed margin data, as a workaround I can set 
default placement with \setupinmargin[right][scope=global]; with 
\setuplabel  I find no such option, so a fix is still needed.

-- 
Rik
___________________________________________________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2015-10-26 14:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-26  1:13 Regression with label inright placement Rik Kabel
2015-10-26 11:03 ` Wolfgang Schuster
2015-10-26 14:00   ` 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).