+2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
+
+ * layouts/db_stdclass.inc:
+ * layouts/agu_stdclass.inc:
+ * layouts/linuxdoc.layout: parametrize SGML document header
2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
+2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
+
+ * buffer.C: parametrize SGML document header
+
+2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
+
+ * converter.[Ch]:
+ * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
+ getFlavor().
+
2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
* text2.C (setFont): rework using PosIterator (no more recursive)
string top_element = tclass.latexname();
if (!body_only) {
- ofs << "<!doctype linuxdoc system";
+ ofs << tclass.class_header();
string preamble = params().preamble;
string const name = runparams.nice ? ChangeExtension(pimpl_->filename, ".sgml")
string top_element = tclass.latexname();
if (!only_body) {
- ofs << "<!DOCTYPE " << top_element
- << " PUBLIC \"-//OASIS//DTD DocBook V4.1//EN\"";
+ ofs << subst(tclass.class_header(), "#", top_element);
string preamble = params().preamble;
string const name = runparams.nice ? ChangeExtension(pimpl_->filename, ".sgml")
}
sgml::openTag(ofs, 0, false, top);
- ofs << "<!-- DocBook file was created by LyX " << lyx_version
+ ofs << "<!-- SGML/XML file was created by LyX " << lyx_version
<< "\n See http://www.lyx.org/ for more information -->\n";
params().getLyXTextClass().counters().reset();