<< '}';
column += 13;
} else {
- os << c;
+ os.put(c);
}
break;
case '|': case '<': case '>':
// In T1 encoding, these characters exist
if (lyxrc.fontenc == "T1") {
- os << c;
+ os.put(c);
//... but we should avoid ligatures
if ((c == '>' || c == '<')
&& i <= size() - 2
}
// Typewriter font also has them
if (font.family() == LyXFont::TYPEWRITER_FAMILY) {
- os << c;
+ os.put(c);
break;
}
// Otherwise, we use what LaTeX
os << "\\pounds{}";
column += 8;
} else {
- os << c;
+ os.put(c);
}
break;
case '$': case '&':
case '%': case '#': case '{':
case '}': case '_':
- os << '\\' << c;
+ os << '\\';
+ os.put(c);
column += 1;
break;