Bug#413449: tex-common: minor issues in section 2.1 of TeX-on-Debian.pdf
Dear wizards of the documentation,
Miguel de Val Borro <miguel.deval@gmail.com> wrote:
> The file name /etc/texmf/texmf.d/05TeXMF.cnf is not typeset correctly on
> page 4 of Tex-on-Debian.pdf. In the end of the first paragraph on page
> 4 there is a parenthesis missing.
We can fix the first issue in two ways:
--- tex-sed
+++ tex-sed.new
#!/bin/bash
sed -e 's@TeX@\\TeX{}@g;
s@La\\TeX@\\LaTeX@g;
s@Debian-\\TeX{}-policy@Debian-TeX-policy@g;
+s@\\TeX{}MF@TeXMF@
s@Metafont@\\MF{}@g;
/fontenc/ a \\\\usepackage{mflogo}' < $1 > $2
or more generic
--- tex-sed
+++ tex-sed.new
#!/bin/bash
-sed -e 's@TeX@\\TeX{}@g;
+sed -e 's@TeX @\\TeX{} @g;
s@La\\TeX@\\LaTeX@g;
s@Debian-\\TeX{}-policy@Debian-TeX-policy@g;
s@Metafont@\\MF{}@g;
/fontenc/ a \\\\usepackage{mflogo}' < $1 > $2
but then we miss phrases like TeX-related. We can extend the regex for
a hyphen:
sed -e 's@TeX\([ -]\) @\\TeX{}\1@g;
but that looks ugly, and there may be other characters than space and a
hyphen?
Regards, Frank
--
Dr. Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)
Reply to: