runparams.encoding = oldEnc;
runparams.master_language = oldLang;
- // I needed, use converters to produce a latex file from the child
- if (!tmp->isLatex()) {
+ // If needed, use converters to produce a latex file from the child
+ if (tmpwritefile != writefile) {
ErrorList el;
bool const success =
theConverters().convert(tmp, tmpwritefile, writefile,