Fix bug #9371 (Math Preview doesn’t work in LuaTeX and XeTeX output modes by default)

This commit is contained in:
Enrico Forestieri 2015-05-30 15:29:56 +02:00
parent 052c70227b
commit 908ed2128d
2 changed files with 2 additions and 2 deletions

View File

@ -568,8 +568,6 @@ void PreviewLoader::Impl::startLoading(bool wait)
}
of << "\\batchmode\n";
dumpPreamble(os);
// handle inputenc etc.
buffer_.params().writeEncodingPreamble(os, features);
of << "\n\\begin{document}\n";
dumpData(of, inprogress.snippets);
of << "\n\\end{document}\n";

View File

@ -223,6 +223,8 @@ What's new
- Fix wrong alignment of inline previews occurring in some cases (bug 7850).
- Fix math preview for LuaTeX or XeTeX default output mode (bug 9371).
* INTERNALS