revert part of 27210. Sorry for the fuss.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@27232 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2008-11-03 09:39:20 +00:00
parent d63a0fa68b
commit 33d3a68811
2 changed files with 2 additions and 5 deletions

View File

@ -197,7 +197,7 @@ bool Exporter::Export(Buffer * buffer, string const & format,
buffer->makeDocBookFile(FileName(filename), runparams);
}
// LaTeX backend
else if (!put_in_tempdir) {
else if (backend_format == format) {
runparams.nice = true;
if (!buffer->makeLaTeXFile(FileName(filename), string(), runparams))
return false;

View File

@ -135,9 +135,6 @@ What's new
- Fix LaTeX errors in Latvian and Lithuanian documents (bug 5323, bug 5324).
- When exporting a literate document as LaTeX, make sure that the code
needed for running LaTeX is not output.
- If "Do not use amsmath" is selected in the document settings, really do
not use it (bug 5350).