Regression with label inright placement

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

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

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
participants (2)
-
Rik Kabel
-
Wolfgang Schuster