#include "BufferParams.h"
#include "debug.h"
+#include "Layout.h"
#include "Text.h"
#include "Paragraph.h"
#include "ParagraphParameters.h"
+#include <boost/next_prior.hpp>
+
namespace lyx {
-using std::string;
using std::endl;
}
if (!isempty) {
+ bool const soa = par.params().startOfAppendix();
par.params().clear();
+ // do not lose start of appendix marker (bug 4212)
+ par.params().startOfAppendix(soa);
par.layout(bparams.getTextClass().defaultLayout());
}