Bug#413449: tex-common: minor issues in section 2.1 of TeX-on-Debian.pdf
Frank Küster <frank@debian.org> wrote:
> 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).
This would probably be OK in most cases, yes. OTOH, I don't see many
"English" words such as TeX-related that would benefit from such a
treatment. So, this would mostly apply to words like TeX-XeT, which
would probably benefit from a special case anyway (replacing them with
their own command).
BTW: I forgot to write it in my previous mail, but the regexes I
proposed are valid with sed *provided* we use its -r option (aka
--regexp-extended).
Regards,
--
Florent
Reply to: