[EMAIL PROTECTED] (Jürgen Spitzmüller) writes:

> Developers, please let me know if you have pending patches;

I have the two following patches in my tree.

- last.diff is just documenting the fact that last files are not kept
  when upgrading (forgot the bug number)

- here.diff fixes the case where Here placement of floats s required
  only at global level see report:
   http://article.gmane.org/gmane.editors.lyx.general/42994
  the only potential problem is that float.sty is now loaded later
  than it was.

JMarc

svndiff UPGRADING

Index: UPGRADING
===================================================================
--- UPGRADING	(revision 22043)
+++ UPGRADING	(working copy)
@@ -12,6 +12,9 @@ able to read old preferences files, but 
 format, so it is not possible to run LyX 1.4.x and 1.5.x with the same
 personal configuration directory.
 
+The list of recently open files is now stored in a different location.
+It will therefore be reset when upgrading from LyX 1.4.x.
+
 The format of the layout files has also changed, but LyX 1.5.x uses a
 converter layout2layout.py written in python that will convert old layout
 files on the fly (see below, section "Document transfer").
svndiff src/LaTeXFeatures.cpp

Index: src/LaTeXFeatures.cpp
===================================================================
--- src/LaTeXFeatures.cpp	(revision 22043)
+++ src/LaTeXFeatures.cpp	(working copy)
@@ -418,7 +418,6 @@ char const * simplefeatures[] = {
 	"floatflt",
 	"varioref",
 	"prettyref",
-	"float",
 	"booktabs",
 	"dvipost",
 	"fancybox",
@@ -810,6 +809,11 @@ BufferParams const & LaTeXFeatures::buff
 
 void LaTeXFeatures::getFloatDefinitions(ostream & os) const
 {
+	if ((isRequired("floats") 
+	     || params_.float_placement.find('h') != string::npos)
+	    && !params_.getTextClass().provides("floats"))
+		os << "\\usepackage{floats}\n";
+
 	FloatList const & floats = params_.getTextClass().floats();
 
 	// Here we will output the code to create the needed float styles.

Reply via email to