[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Interaction between closing bracket, capital letter and full stop at
From: |
Karl Berry |
Subject: |
Re: Interaction between closing bracket, capital letter and full stop at end of sentence |
Date: |
Sat, 10 Jan 2015 23:41:10 GMT |
recognized after "HTML." because you need "address@hidden" for that, but I'm
I went through the manuals at one point and changed a bunch of ML. to
address@hidden, but I guess more have crept in. (Also an occasional @! and @?.)
not sure if the cases with closing brackets are correct.
Closing parens are irrelevant, as Andreas described, so @. is needed
in cases like
HTML)@. Foo
address@hidden) Foo
too. (Test file below.)
(This doesn't seem to be the whole story because it doesn't cover the
case of "closing punctuation" BEFORE the full stop.)
I guess. Will tweak.
> We should probably follow what TeX does in such circumstances. Does
anyone know?
Plain TeX sets \sfcode`\)=0 \sfcode`\'=0 \sfcode`\]=0, which makes these
three characters transparent wrt. the spacefactor.
texinfo.tex and makeinfo have always implemented the same rule. C
makeinfo did so in fewer cases that Perl makeinfo, but the basic idea
was there.
K
\input texinfo
@setfilename sentence-end.info
@paragraphindent 0
How about address@hidden L With @@address@hidden
How about TAB. L Just address@hidden
How about tab. L Lowercase.
(How about TAB)@. L With @@address@hidden
(How about TAB). L Just address@hidden
(How about tab). L Lowercase.
(How about address@hidden) L With @@address@hidden
(How about TAB.) L Just address@hidden
(How about tab.) L Lowercase.
@bye