par->insertChar(pos, (*cit), font);
++pos;
}
- checkminipage = true;
#ifdef NO_LATEX
}
#endif
}
if (!inset) {
+#ifndef NO_PEXTRA_REALLY
--call_depth;
+#endif
return false; // no end read yet
}
inset->read(this, lex);
par->insertInset(pos, inset, font);
++pos;
- // because of OLD_TABULAR_READ where tabulars have been
- // one paragraph.
- checkminipage = true;
} else if (token == "\\hfill") {
par->insertChar(pos, Paragraph::META_HFILL, font);
++pos;
insertErtContents(par, pos, font);
#endif
the_end_read = true;
+#ifndef NO_PEXTRA_REALLY
minipar = parBeforeMinipage = 0;
+#endif
} else {
#ifdef NO_LATEX
if (ert_comp.active) {
}
#endif
}
+
#ifndef NO_PEXTRA_REALLY
+ // I wonder if we could use this blanket fix for all the
+ // checkminipage cases...
+ if (par && par->size()) {
+ // It is possible that this will check to often,
+ // but that should not be an correctness issue.
+ // Only a speed issue.
+ checkminipage = true;
+ }
+
// now check if we have a minipage paragraph as at this
// point we already read all the necessary data!
// this cannot be done in layout because there we did
}
}
// End of pextra_minipage compability
-#endif
--call_depth;
+#endif
return the_end_read;
}