Skip to content
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

[macros] Allow \keyword and \grammarterm in section headings #5079

Merged
merged 1 commit into from Feb 22, 2022

Conversation

jensmaurer
Copy link
Member

by disabling all indexing when typesetting the table-of-contents.

@jensmaurer
Copy link
Member Author

This improves consistency when writing LaTeX content.
It also allows for a brighter future where the automatic checker can flag all mentions of \tcode{some_keyword} in the core language sections.

@wg21bot wg21bot added the needs rebase The pull request needs a git rebase to resolve merge conflicts. label Dec 17, 2021
by disabling all indexing when typesetting the table-of-contents.
@jensmaurer jensmaurer removed the needs rebase The pull request needs a git rebase to resolve merge conflicts. label Dec 17, 2021
@JohelEGP
Copy link
Contributor

Does this also mean that \cname is no longer necessary?

@jensmaurer
Copy link
Member Author

We could apply the approach to \libconcept, too, and thus replace \cname with \libconcept in section headings, yes.

@tkoeppe tkoeppe merged commit 3acd7a0 into cplusplus:main Feb 22, 2022
@tkoeppe
Copy link
Contributor

tkoeppe commented Feb 22, 2022

This adds a few new index entries for goto, it seems.

@tkoeppe
Copy link
Contributor

tkoeppe commented Feb 22, 2022

Ah yes, of course: the change does add new indexing, just not in the TOC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants