From 33d3a68811558a980d376f71cc8cce9636a179c7 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Mon, 3 Nov 2008 09:39:20 +0000 Subject: [PATCH] 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 --- src/Exporter.cpp | 2 +- status.15x | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/Exporter.cpp b/src/Exporter.cpp index 6c353ac357..db278c5345 100644 --- a/src/Exporter.cpp +++ b/src/Exporter.cpp @@ -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; diff --git a/status.15x b/status.15x index f84dfd6d61..d40df6186d 100644 --- a/status.15x +++ b/status.15x @@ -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). @@ -179,7 +176,7 @@ What's new - Fix the behaviour of the ErrorList dialog. -- When viewing full LaTeX source, make sure that the code needed for +- When viewing full LaTeX source, make sure that the code needed for running LaTeX is not added.