* add empty methods to insetnote (as latex)
* fix use of uninitialized varible in insetquote
* fix standard style in layout files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3664
a592a061-630c-0410-9148-
cb99ea01b6c8
+2002-03-05 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
+
+ * layouts/db_stdclass.inc:
+ * layouts/linuxdoc.layout:
+ * layouts/manpage.layout: set DefaultStyle
+
+
2002-03-04 Herbert Voss <voss@perce.de>
* configure.m4: fix the problem with tgif's xpm export
Sides 1
SecNumDepth 3
TocDepth 3
+DefaultStyle Standard
# This is just to show how to declare the default font.
# The defaults are exactly those shown here.
PageStyle Plain
MaxCounter Counter_Section
OutputType linuxdoc
+DefaultStyle Standard
# Standard style definition
Style Standard
Columns 1
Sides 1
PageStyle Plain
-MaxCounter Counter_Subsection
+MaxCounter Counter_Section
OutputType linuxdoc
+DefaultStyle Standard
# Standard style definition
Style Standard
+2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
+
+ * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
+ final location of file, for the included files, and graphics.
+
2002-03-05 Juergen Vigna <jug@sad.it>
* CutAndPaste.C (pasteSelection): fix the depth level on paste.
ofs << "<!doctype linuxdoc system";
string preamble = params.preamble;
- preamble += features.getIncludedFiles(fname);
+ const string name = nice ? ChangeExtension(filename_, ".sgml")
+ : fname;
+ preamble += features.getIncludedFiles(name);
preamble += features.getLyXSGMLEntities();
if (!preamble.empty()) {
<< " PUBLIC \"-//OASIS//DTD DocBook V4.1//EN\"";
string preamble = params.preamble;
- preamble += features.getIncludedFiles(fname);
+ const string name = nice ? ChangeExtension(filename_, ".sgml")
+ : fname;
+ preamble += features.getIncludedFiles(name);
preamble += features.getLyXSGMLEntities();
if (!preamble.empty()) {
+2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
+
+ * insetnote.h (linuxdoc, docbook): add empty methods.
+ * insetinclude.C (validate): fix a case where buffer->niceFile was used
+ before being initialized.
+
2002-03-05 Juergen Vigna <jug@sad.it>
* insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
// to be loaded:
if (loadIfNeeded()) {
// a file got loaded
- Buffer const * const tmp = bufferlist.getBuffer(getFileName());
- if (tmp)
+ Buffer * const tmp = bufferlist.getBuffer(getFileName());
+ if (tmp) {
+ if (b)
+ tmp->niceFile = b->niceFile;
tmp->validate(features);
+ }
}
}
int latex(Buffer const *, std::ostream &, bool, bool) const
{ return 0; }
///
+ int linuxdoc(Buffer const *, std::ostream &) const
+ { return 0; }
+ ///
+ int docbook(Buffer const *, std::ostream &) const
+ { return 0; }
+ ///
void validate(LaTeXFeatures &) const {}
private:
/// used by the constructors