-
Notifications
You must be signed in to change notification settings - Fork 772
Index all mentions of a grammarterm? #1452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I like it - if for no other reason than it highlights capitalization issues, like for Class-specifier above. More seriously, not being a core expert, I have gone reaching for this kind of tool many times - it would be extremely helpful to find it one day. |
Editorial committee consensus: This approach is good. Fix intro text. (Do not remove grammar names from main index.) This makes it easy to see where we screw up. Try to also add index entries for grammar terms used in the definition of other grammar terms. |
"Try to also add index entries for grammar terms used in the definition of other grammar terms." is mighty hard, because we just mention other non-terminals inside a We could define a short markup such as \nt{blah} inside bnf environments for the non-terminals, but we would still need to manually iterate through all grammar snippets to add the markup. Postponed until #1821 has been resolved. |
As an experiment, I have equipped \grammarterm with adding an index entry. The BNF definitions are in bold. Example:
Is that a direction to pursue?
The text was updated successfully, but these errors were encountered: