Re: [XeTeX] index not showing up as an entry in the table of contents

2018-04-25 Thread Veesh Goldman
Actually, bidi does clobber imakeidx. In all of the document classes, bidi redefines the \theindex environment. Some of the imakeidx functionality also comes from redefining \theindex. I had problems with this in the past. The only issue that would be presented with the op's patch is that there won

Re: [XeTeX] index not showing up as an entry in the table of contents

2018-04-25 Thread Veesh Goldman
To clarify two points: to op used the intoc option, which should make the index appear in the toc (very aptly named, egreg). Thus, this is an example of bidi making a problem. It's just a lack of support really. The workaround he used was to save away the imakeidx version of theindex and restore it