(isLatex is unreliable)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38140
a592a061-630c-0410-9148-
cb99ea01b6c8
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,