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
___________________________________________________________________________________

Reply via email to