Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • This eventually does exactly what the last section of my question explicitly rejects as non-viable: using non-standard $\index$ commands. Commented Sep 13, 2022 at 5:13
  • Correct. The two-outputs can be embedded in some sort of parser (which will still need a user-level, therefore non-standard, two-choice approach/decision (e.g., index name?)), but I don't know how the parsing should work (yet). So therefore not an answer to the question. Apologies for not making that clear earlier (no time at 3am! ;) ). The design question becomes" How can it be automated?", as I see it. Is it solvable at all? It's a type of uniqueness problem. Perhaps via keywords from the editor stage?? Commented Sep 13, 2022 at 10:39