From dbbcea2f5e69b60eba969606d28c6a2f5e277137 Mon Sep 17 00:00:00 2001 From: Martin Vermeer Date: Sun, 27 Mar 2005 07:14:12 +0000 Subject: [PATCH] Fix bug 1843 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9750 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/controllers/ChangeLog | 4 ++++ src/frontends/controllers/ControlDocument.C | 1 + 2 files changed, 5 insertions(+) diff --git a/src/frontends/controllers/ChangeLog b/src/frontends/controllers/ChangeLog index 9802c76a4a..5513fb39ad 100644 --- a/src/frontends/controllers/ChangeLog +++ b/src/frontends/controllers/ChangeLog @@ -1,3 +1,7 @@ +2005-03-27 MArtin Vermeer + + * ControlDocument.C (dispatch_bufferparams): fix bug 1843 + 2005-03-15 Eitan Frachtenberg * biblio.C (getInfo): Show BibTeX annotation in citation preview diff --git a/src/frontends/controllers/ControlDocument.C b/src/frontends/controllers/ControlDocument.C index 689c395a55..50f0d8bdc9 100644 --- a/src/frontends/controllers/ControlDocument.C +++ b/src/frontends/controllers/ControlDocument.C @@ -71,6 +71,7 @@ void dispatch_bufferparams(Kernel const & kernel, BufferParams const & bp, kb_action lfun) { ostringstream ss; + ss << "\\begin_header\n"; bp.writeFile(ss); ss << "\\end_header\n"; kernel.dispatch(FuncRequest(lfun, ss.str()));