From 9ef3f928a5f0de6e36619f59ad25c0a74f65e898 Mon Sep 17 00:00:00 2001 From: Martin Vermeer Date: Thu, 27 Nov 2003 16:52:07 +0000 Subject: [PATCH] parametrize SGML document header git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8142 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/ChangeLog | 5 +++++ lib/layouts/agu_stdclass.inc | 3 +++ lib/layouts/db_stdclass.inc | 3 +++ lib/layouts/linuxdoc.layout | 5 +++++ src/ChangeLog | 10 ++++++++++ src/buffer.C | 7 +++---- 6 files changed, 29 insertions(+), 4 deletions(-) diff --git a/lib/ChangeLog b/lib/ChangeLog index be33917e45..4212724622 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,8 @@ +2003-11-27 Martin Vermeer + + * layouts/db_stdclass.inc: + * layouts/agu_stdclass.inc: + * layouts/linuxdoc.layout: parametrize SGML document header 2003-11-25 Martin Vermeer diff --git a/lib/layouts/agu_stdclass.inc b/lib/layouts/agu_stdclass.inc index d703636ffa..425cd8c5bd 100644 --- a/lib/layouts/agu_stdclass.inc +++ b/lib/layouts/agu_stdclass.inc @@ -14,6 +14,9 @@ SecNumDepth 3 TocDepth 3 DefaultStyle Standard +ClassOptions + Header " + + * buffer.C: parametrize SGML document header + +2003-11-27 Martin Vermeer + + * converter.[Ch]: + * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued + getFlavor(). + 2003-11-27 Alfredo Braunstein * text2.C (setFont): rework using PosIterator (no more recursive) diff --git a/src/buffer.C b/src/buffer.C index ce10f73543..528249af2f 100644 --- a/src/buffer.C +++ b/src/buffer.C @@ -1059,7 +1059,7 @@ void Buffer::makeLinuxDocFile(string const & fname, string top_element = tclass.latexname(); if (!body_only) { - ofs << "filename, ".sgml") @@ -1120,8 +1120,7 @@ void Buffer::makeDocBookFile(string const & fname, string top_element = tclass.latexname(); if (!only_body) { - ofs << "filename, ".sgml") @@ -1146,7 +1145,7 @@ void Buffer::makeDocBookFile(string const & fname, } sgml::openTag(ofs, 0, false, top); - ofs << "\n"; params().getLyXTextClass().counters().reset();