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
[temp.expl.spec] Use normal spacing after "etc." within a sentence #6156
Conversation
Is this the only place we have Otherwise, in principle this is the correct solution. |
I'm not sure about the "etc. (7.6.2.8)." in [cpp.predefined] but the others look right (and we already use \ like this in lib-intro.tex). |
These should use a comma, I think:
|
Great, thanks! Please feel free to add any further corrections here and then merge! |
Likewise:
|
Yikes, I thought we had a check for |
See also #1512 (comment). |
I was taught in school (admittedly, a looong time ago!) that these Latin abbreviations (i.e., etc., e.g.) should always be followed by a comma unless ending a sentence or unless other punctuation (e.g., a closing parenthesis) interferes. A quick check of contemporary style guides shows some variation, but I've found none says that the rule I was taught is wrong today.
I recommend we adopt that rule as the simplest resolution, and then special spacing becomes a non-issue.
(Then we can move on to all our many misplaced uses of "only". Sigh.)
…-- WEB
On Mar 2, 2023, at 6:32 AM, Jonathan Wakely ***@***.***> wrote:
I believe LaTeX assumes that a full stop after a lower case letter ends a sentence, so it inserts slightly more space than between other words. I think this is the only occurrence of "etc." that does not end a sentence.
Before:
<https://user-images.githubusercontent.com/1254480/222428854-55d6ca87-8e6a-45c5-8d8b-bf6c5df9aff2.png>
After:
<https://user-images.githubusercontent.com/1254480/222428999-c7d79bae-404f-4208-82ee-a0c83416576c.png>
You can view, comment on, or merge this pull request online at:
#6156 <#6156>
Commit Summary
9b23d5a <9b23d5a> [temp.expl.spec] Use normal spacing after "etc." within a sentence
File Changes (1 file <https://github.com/cplusplus/draft/pull/6156/files>)
M source/templates.tex <https://github.com/cplusplus/draft/pull/6156/files#diff-993d162d99c97390cfd9b2c9b076a5ef904d9e48366aa8bbbe7663cfc8367588> (2)
Patch Links:
https://github.com/cplusplus/draft/pull/6156.patch <https://github.com/cplusplus/draft/pull/6156.patch>
https://github.com/cplusplus/draft/pull/6156.diff <https://github.com/cplusplus/draft/pull/6156.diff>
—
Reply to this email directly, view it on GitHub <#6156>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAY4ZGK7SILQUD4OCEWEXULW2CHMVANCNFSM6AAAAAAVNKFY6E>.
You are receiving this because you are subscribed to this thread.
|
I've added the comma to the remaining i.e. and e.g. cases (including some in latex comments, which isn't necessary, but would make things simpler if we add an automated check for this one day). Do we want the comma after etc. too? We're currently inconsistent (it's used in a couple of places in templates.tex, but not in lib-intro.tex). I think only a handful of changes would be needed, so I can do that if we want to go with Walter's recommendation. |
which should be
which makes no harm but it's OK to use |
I believe LaTeX assumes that a full stop after a lower case letter ends a sentence, so it inserts slightly more space than between other words. I think this is the only occurrence of "etc." that does not end a sentence.
Before:
After: