Am Samstag, 21. Oktober 2006 17:09 schrieb Lars Gullik Bjønnes:
> 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.
I care about input encoding. Of course you can always do os.put(c) and
ignore the limitations of LaTeX, but I see no reason to do so.
Georg