Florent Rougon <[EMAIL PROTECTED]> wrote: > The latter means something like: > > s@(^|[[:space:]])TeX([[:space:]]|$)@[EMAIL PROTECTED] > s@(^|[[:space:]])LaTeX([[:space:]]|$)@[EMAIL PROTECTED] > s@(^|[[:space:]])pdfTeX([[:space:]]|$)@[EMAIL PROTECTED] > s@(^|[[:space:]])TeX-related([[:space:]]|$)@[EMAIL PROTECTED] > etc. > > where we list all cases needing a special formatting. This looks a bit > more reliable to me. I don't think there are so many cases to list, and > this is easier to adapt if e.g. pdfTeX has his own \pdfTeX command that > does a better formatting than pdf\TeX.
I agree. Except that I think that we can assume that a "TeXstring" with a hyphen after it can also be replaced always: (^|[[:space:]])TeX(-|[[:space:]]|$) at least until we find that it causes an error (a hyphen in front *and* after TeX gives a false positive, the filename Debian-TeX-Policy). Regards, Frank -- Dr. Frank Küster Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich Debian Developer (teTeX/TeXLive)