* Textbackground offset with multi-col paragraphs
@ 2017-11-02 14:17 Thomas Floeren
2017-11-02 17:55 ` Pablo Rodriguez
2017-11-23 11:29 ` Thomas Floeren
0 siblings, 2 replies; 4+ messages in thread
From: Thomas Floeren @ 2017-11-02 14:17 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi,
I noticed that with one of the recent betas the right offset of my textbackgrounds doesn’t work properly anymore when the textbackground contains a multi-column “paragraph”.
A minimal:
\defineparagraphs [TestPar][n=2, distance=7mm]
\setupparagraphs [TestPar][1][width=2em]
\definetextbackground [CB][
location=paragraph,
backgroundcolor=gray,
leftoffset=.3em,
rightoffset=.3em,
topoffset=.3em,
bottomoffset=.3em,
frame=off
]
\starttext
\starttextbackground [CB]
\dorecurse {40} {a b c }
\stoptextbackground
text
\starttextbackground [CB]
\startTestPar
img
\TestPar
\dorecurse {40} {a b c }
\stopTestPar
\stoptextbackground
\stoptext
The first box is OK and as expected. But with the second one (containing a “paragraph”) the right offset gets miscalculated, so that the text runs into the edge of the background.
With a beta from July or so the behavior was still OK.
Thanks for any advice,
best,
--
Tom
http://dflect.net/context-typeset-tool/
___________________________________________________________________________________
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: Textbackground offset with multi-col paragraphs
2017-11-02 14:17 Textbackground offset with multi-col paragraphs Thomas Floeren
@ 2017-11-02 17:55 ` Pablo Rodriguez
2017-11-02 19:22 ` Thomas Floeren
2017-11-23 11:29 ` Thomas Floeren
1 sibling, 1 reply; 4+ messages in thread
From: Pablo Rodriguez @ 2017-11-02 17:55 UTC (permalink / raw)
To: ntg-context
On 11/02/2017 03:17 PM, Thomas Floeren wrote:
> Hi,
>
> I noticed that with one of the recent betas the right offset of my
> textbackgrounds doesn’t work properly anymore when the textbackground
> contains a multi-column “paragraph”.
>
> The first box is OK and as expected. But with the second one
> (containing a “paragraph”) the right offset gets miscalculated, so that
> the text runs into the edge of the background.
>
> With a beta from July or so the behavior was still OK.
Hi Thomas,
I can confirm the bug. It works fine with ConTeXt from TeX Live 2017,
but not with latest beta (that I get to work) from 2017.10.29 15:44.
Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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: Textbackground offset with multi-col paragraphs
2017-11-02 17:55 ` Pablo Rodriguez
@ 2017-11-02 19:22 ` Thomas Floeren
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Floeren @ 2017-11-02 19:22 UTC (permalink / raw)
To: mailing list for ConTeXt users
> On 2. Nov 2017, at 18:55, Pablo Rodriguez <oinos@gmx.es> wrote:
>
> On 11/02/2017 03:17 PM, Thomas Floeren wrote:
>> Hi,
>>
>> I noticed that with one of the recent betas the right offset of my
>> textbackgrounds doesn’t work properly anymore when the textbackground
>> contains a multi-column “paragraph”.
>>
>> The first box is OK and as expected. But with the second one
>> (containing a “paragraph”) the right offset gets miscalculated, so that
>> the text runs into the edge of the background.
>>
>> With a beta from July or so the behavior was still OK.
>
> Hi Thomas,
>
> I can confirm the bug. It works fine with ConTeXt from TeX Live 2017,
> but not with latest beta (that I get to work) from 2017.10.29 15:44.
>
Hi Pablo,
thanks for testing.
For me it’s still fine with 2017.07.30 19:30.
Not fine with 2017.10.29 15:44 and 2017.11.01 15:58.
--
Tom
___________________________________________________________________________________
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: Textbackground offset with multi-col paragraphs
2017-11-02 14:17 Textbackground offset with multi-col paragraphs Thomas Floeren
2017-11-02 17:55 ` Pablo Rodriguez
@ 2017-11-23 11:29 ` Thomas Floeren
1 sibling, 0 replies; 4+ messages in thread
From: Thomas Floeren @ 2017-11-23 11:29 UTC (permalink / raw)
To: mailing list for ConTeXt users
> On 2. Nov 2017, at 15:17, Thomas Floeren <thfl@mac.com> wrote:
>
> Hi,
>
> I noticed that with one of the recent betas the right offset of my textbackgrounds doesn’t work properly anymore when the textbackground contains a multi-column “paragraph”.
>
> A minimal:
>
> \defineparagraphs [TestPar][n=2, distance=7mm]
> \setupparagraphs [TestPar][1][width=2em]
>
> \definetextbackground [CB][
> location=paragraph,
> backgroundcolor=gray,
> leftoffset=.3em,
> rightoffset=.3em,
> topoffset=.3em,
> bottomoffset=.3em,
> frame=off
> ]
>
> \starttext
>
> \starttextbackground [CB]
> \dorecurse {40} {a b c }
> \stoptextbackground
>
> text
>
> \starttextbackground [CB]
> \startTestPar
> img
> \TestPar
> \dorecurse {40} {a b c }
> \stopTestPar
> \stoptextbackground
>
> \stoptext
>
>
> The first box is OK and as expected. But with the second one (containing a “paragraph”) the right offset gets miscalculated, so that the text runs into the edge of the background.
>
> With a beta from July or so the behavior was still OK.
>
Any news on this?
Just to know if I should wait for a fix, or rather adapt my existing documents.
Thanks,
--
Tom
___________________________________________________________________________________
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:[~2017-11-23 11:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-02 14:17 Textbackground offset with multi-col paragraphs Thomas Floeren
2017-11-02 17:55 ` Pablo Rodriguez
2017-11-02 19:22 ` Thomas Floeren
2017-11-23 11:29 ` Thomas Floeren
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).