
When I have a word like "U.S." in a sentence, I'm using code like this: After the U.S.\ Army left Vietnam, they focused on... ...that seems to make sure the space between U.S. Army isn't so big. My copy editor noticed that when I use footnote, there isn't the right space after, like. Here is a sentence.\footnote{This is footnote text.} This is another sentence. They are saying that after that, the space isn't the right size. Is there something similar to the first option that makes sure a full end-of-sentence space width appears? --Joel

On 4/26/2025 5:22 PM, Joel via ntg-context wrote:
When I have a word like "U.S." in a sentence, I'm using code like this:
After the U.S.\ Army left Vietnam, they focused on...
...that seems to make sure the space between U.S. Army isn't so big.
My copy editor noticed that when I use footnote, there isn't the right space after, like.
Here is a sentence.\footnote{This is footnote text.} This is another sentence.
They are saying that after that, the space isn't the right size. Is there something similar to the first option that makes sure a full end- of-sentence space width appears?
Interesting that no one brought this up till now. It is something that has to be solved at either the engine level (kind of cool) or in all macros that qualify fof this treatment (doable but less cool). Here is a hack: \def\FakeSomething#1% {\begingroup #1\space \scratchskip\lastskip \unskip \removepunctuation \hskip\scratchskip \endgroup} \protected\def\FakePeriod{\FakeSomething.} \protected\def\FakeComma {\FakeSomething,} \starttext Here is a sentence.\footnote{This is footnote text.} This is another sentence. Here is a\footnote{This is footnote text.} sentence. This is another sentence. Here is a sentence.\footnote{This is footnote text.}\FakePeriod This is another sentence. \stoptext So you can make the editor happy and not have to defend some shortcoming. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------

On 4/26/2025 5:22 PM, Joel via ntg-context wrote:
When I have a word like "U.S." in a sentence, I'm using code like this:
After the U.S.\ Army left Vietnam, they focused on...
...that seems to make sure the space between U.S. Army isn't so big.
My copy editor noticed that when I use footnote, there isn't the right space after, like.
Here is a sentence.\footnote{This is footnote text.} This is another sentence.
They are saying that after that, the space isn't the right size. Is there something similar to the first option that makes sure a full end- of-sentence space width appears?
In the next upload this is 'fixed'. The footnote adds stuff that makes the space factor reset and we can catch that - optionally - in the engine. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Joel