[EMAIL PROTECTED] writes:
| + case 0xb9: // ¹ SUPERSCRIPT ONE
| + case 0xac: // ¬ NOT SIGN
| + case 0xb5: // µ MICRO SIGN
| if ((bparams.inputenc == "latin1" ||
| bparams.inputenc == "latin9") ||
| (bparams.inputenc == "auto" &&
| @@ -618,7 +627,7 @@
| column += 9;
| break;
In this code:
case 0xac: // ¬ NOT SIGN
case 0xb5: // µ MICRO SIGN
if ((bparams.inputenc == "latin1" ||
bparams.inputenc == "latin9") ||
(bparams.inputenc == "auto" &&
(font.language()->encoding()->latexName()
== "latin1" ||
font.language()->encoding()->latexName()
== "latin9"))) {
os << "\\ensuremath{";
os.put(c);
os << '}';
column += 13;
} else {
os.put(c);
}
shouldn't we just do os.put(c) all the time. We don't care about input
encoding and we only output utf8.
--
Lgb