[NTG-context] Weird background colors in autogenerated index

Hans Hagen pragma at wxs.nl
Tue Apr 12 00:46:00 CEST 2016

On 4/11/2016 8:13 PM, Jan Tosovsky wrote:
> On 2016-04-10 Hans Hagen wrote:
>> On 4/10/2016 11:26 PM, Pablo Rodriguez wrote:
>>> On 04/10/2016 11:00 PM, Jan Tosovsky wrote:
>>>> On 2016-04-10 Hans Hagen wrote:
>>>>> On 4/9/2016 11:22 PM, Jan Tosovsky wrote:
>>>>>> since LuaTeXt 0.81 my back-of-the-book index (register) is
>>>>>> with generated strange background colors. The index title
>>>>>> is typeset in yellowish background and the left column of
>>>>>> the last index page has a blue background, see the attachment.
>>>>>> ... It was fine in the version 0.80.
>>>>> no example
>>> here you have the minimal sample:
>>>     \showgrid
>>>     \starttext
>>>     a\index{b}
>>>     \completeindex
>>>     \stoptext
>>> Comment the first line and colors background colors will disappear.
> a good catch, Pablo, thanks.
>> indeed, it's tracing related (no bug)
> My idea is to have a single PDF source to showcase some ConTeXt features, where displaying the grid is handy, yet allow disabling the grid on demand.
> So any visible \showgrid related issues, which cannot be switched off together with the grid layer, are unacceptable ;-)

well, with tracing one gets what's provided .. after all it's tracing, 
so 'unacceptable' is a kind of unacceptable demand

> Is there any chance to improve this a bit?

currently not but you can influence the grid a bit:


options can be seen with

   context --extra=setups grid

You're lucky that it's only a few lines to add 'columns' options (so in 
some upcoming beta you have to mess with 'reset' and whatever else).


                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl

More information about the ntg-context mailing list