On Wed, 3 Aug 2011, Hans Hagen wrote:
On 1-8-2011 3:37, Aditya Mahajan wrote:
Hi,
Line numbering does not work well with text backgrounds (with location=paragraph). Consider the following minimal example
\definetextbackground [test] [location=paragraph, alternative=0, frame=off, background=color, backgroundcolor=yellow]
\starttext \startlinenumbering \starttest \dorecurse{20}{some random text} \stoptest \dorecurse{20}{continue text} \stoplinenumbering \stoptext
Notice that line numbers 1 and 2 are overprinted, and so are 6 and 7. I can "fix" this by using "location=text", but that only highlights half of the last line (while I want full line to be highlighted).
Any idea on how to fix this?
yes, apart from rewriting background support (on the agenda) i need to think of a clean temp fix (will do)
Thanks. Aditya