mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-05 13:26:21 +00:00
parametrize SGML document header
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8142 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3dfe7a4734
commit
9ef3f928a5
@ -1,3 +1,8 @@
|
||||
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>
|
||||
|
||||
|
@ -14,6 +14,9 @@ SecNumDepth 3
|
||||
TocDepth 3
|
||||
DefaultStyle Standard
|
||||
|
||||
ClassOptions
|
||||
Header "<!DOCTYPE # PUBLIC "-//AGU//DTD article American Geophysical Union DTD version 3.42//EN" "AGU-Article-3.42.dtd" "
|
||||
End
|
||||
|
||||
Style Standard
|
||||
Margin Static
|
||||
|
@ -13,6 +13,9 @@ SecNumDepth 3
|
||||
TocDepth 3
|
||||
DefaultStyle Standard
|
||||
|
||||
ClassOptions
|
||||
Header "<!DOCTYPE # PUBLIC "-//OASIS//DTD DocBook V4.1//EN""
|
||||
End
|
||||
|
||||
Style Standard
|
||||
Margin Static
|
||||
|
@ -10,6 +10,11 @@ PageStyle Plain
|
||||
OutputType linuxdoc
|
||||
DefaultStyle Standard
|
||||
|
||||
ClassOptions
|
||||
Header "<!doctype linuxdoc system"
|
||||
End
|
||||
|
||||
|
||||
Input stdcounters.inc
|
||||
Input stdfloats.inc
|
||||
Input numarticle.inc
|
||||
|
@ -1,4 +1,14 @@
|
||||
|
||||
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)
|
||||
|
@ -1059,7 +1059,7 @@ void Buffer::makeLinuxDocFile(string const & fname,
|
||||
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")
|
||||
@ -1120,8 +1120,7 @@ void Buffer::makeDocBookFile(string const & fname,
|
||||
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")
|
||||
@ -1146,7 +1145,7 @@ void Buffer::makeDocBookFile(string const & fname,
|
||||
}
|
||||
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();
|
||||
|
Loading…
Reference in New Issue
Block a user