The LyX-Wiki tells me that it is possible for an index to reference an other one. A possible output could be


Bar, see Foo

Foo, 9

which is invoked by Bar|see{Foo}, so the wiki states. But this simply does not work for me. Just to make sure I didn't miss anything:

  1. I hit INSERT then selected INDEX near the word Foo.
  2. Then I typed Foo into the small "area".
  3. I did the same with Bar but here I typed Bar|see{Foo} into that area.

The result I get is



Bar is completely missing in the index.

What do I miss?


A small piece of information is missing from the wiki, but can be found in the User guide (Help --> User guide, in LyX), section 6.6.3:

It is also possible to refer to another index entry. We referred for example in the index entry “GIF” (in section [sub:Image-Formats]) to the index entry “Image formats” in the same section using the entry

GIF|see{Image formats}

where the braces have to be inserted as TeX Code. The text within the braces is the referenced entry. The reference will appear in the output without a page number.

Emphasis mine.

In other words, in bar|see{foo} put {foo}, or just the braces in {foo}, in an ERT, e.g. by selecting it and hitting Ctrl + L.

  • Is it possible to cross reference a grouped index entry? For example, GIF|see{File types ! Image formats}. I can't seem to manage it through various attempts, yet I can make GIF|see{File types} work. – JFlo Mar 12 at 18:43
  • @JFlo I don't really know how it's supposed to look, but that seems to work fine here. – Torbjørn T. Mar 12 at 19:16
  • what version are you using and what render format? For me with Lyx v2.3.2 and PDF, my first example never does not appear in the index at all. – JFlo Mar 13 at 20:11
  • @JFlo 2.3.1, output to PDF with pdflatex. Here's an example LyX file: gist.github.com/TorbjornT/601a6092e83bfc7468c7a6723c2b883b – Torbjørn T. Mar 13 at 20:18
  • Ok, but what I am trying to accomplish is this: gist.github.com/jflorian/15a8871eeca481f48442d83a2c46299c. Note the bang in the cross-ref. – JFlo Mar 15 at 12:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.