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

[stacktrace.basic.nonmem] Add missing \pnum before \recommended #5467

Merged
merged 1 commit into from Aug 18, 2022

Conversation

jensmaurer
Copy link
Member

Also augment check script

Fixes #5466

@jensmaurer
Copy link
Member Author

@jwakely , here you are.

@@ -11121,7 +11121,7 @@
Once evaluation of \tcode{invoke(std::move(g), std::move(xyz))} begins, the function is no longer
considered deferred.

\recommended
\recommended
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this trick of adding a space before the macro documented anywhere as the correct way to use one without starting a new paragraph?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No.

I've changed my check script so that it complains about \recommended (and similar introducers) without \pnum inside \itemdecl only. In the (rather exotic) case we have here, a \pnum isn't correct, because we're inside an \itemize environment. The space in front silences the check script. Maybe I should augment it even more so that stuff inside \itemize is ignored.

@tkoeppe tkoeppe merged commit dd4ecf3 into cplusplus:main Aug 18, 2022
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.

[stacktrace.basic.nonmem] missing \pnum in p2?
3 participants