// the textclass
os << "\\textclass " << textclasslist[textclass].name() << '\n';
- // then the the preamble
+ // then the preamble
if (!preamble.empty()) {
// remove '\n' from the end of preamble
string const tmppreamble = rtrim(preamble, "\n");
os << "]{inputenc}\n";
texrow.newline();
}
- } else if (inputenc != "default" && inputenc != "tis620-0") {
+ } else if (inputenc != "default" && inputenc != "tis620-0" &&
+ inputenc != "ascii") {
os << "\\usepackage[" << from_ascii(inputenc)
<< "]{inputenc}\n";
texrow.newline();