Open pkra opened 1 year ago
Related: in gsm/231https://github.com/AmerMathSoc/gsm/pull/34 we learned that a figure without a caption should not get a period after its label https://github.com/AmerMathSoc/ams-xml-to-html/issues/419
Related but in the other direction: we currently always add punctuation for title+label. While working on TEXT support downstream, I noticed that it has chapter and section labels that do not get a period (given the visual style). Then I realized GSM is the same (but we already hack it downstream).
So now I'm wondering if texml-to-html is the right place after all. Perhaps upstream should always add punctuation (clearly marked) and downstream should customize whatever deviation it requires (instead of texml-to-html being caught in the middle).
texml seems amenable to handling things.
Work has begun upstream (gsm217).
Upstream should be ready for us to stop here.
I think we only have to remove the current code. But there's no urgency since we do not have to adjust for anything from upstream either.
As per F2F, texml should be ready to remove addition of punctuation here.
GSM/220 https://github.com/AmerMathSoc/gsm/pull/19 has
\begin{proof}[Proof sketch:]
where TeX apparently does not add a period.While this might be changed in the source for other reasons, we should consider mimicking TeX more closely in the future.