+2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
+
+ * text2.C (setCounter): Fix counters bug with bibliography layout.
+
2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
* paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
LyXTextClass const & textclass =
textclasslist.TextClass(buf->params.textclass);
- /* copy the prev-counters to this one, unless this is the start of a
- footnote or of a bibliography or the very first paragraph */
- if (par->previous()
- && !(textclasslist.Style(buf->params.textclass,
- par->previous()->getLayout()
- ).labeltype != LABEL_BIBLIO
- && layout.labeltype == LABEL_BIBLIO)) {
+ // copy the prev-counters to this one, unless this is the first paragraph
+ if (par->previous()) {
for (int i = 0; i < 10; ++i) {
par->setCounter(i, par->previous()->getFirstCounter(i));
}