From: Lars Gullik Bjønnes Date: Thu, 5 Sep 2002 13:19:33 +0000 (+0000) Subject: add algorithm counter X-Git-Tag: 1.6.10~18361 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=0959028211a8a8cfaf56cc2f07ab1c159f2153ff;p=features.git add algorithm counter git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5209 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/ChangeLog b/src/ChangeLog index 561a89ca75..aa8d7506f6 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2002-09-05 Lars Gullik Bjønnes + * counters.C (Counters): add missing algorithm counter. + * text2.C (setCounter): lookup the counter with layouts latexname instead of by section number. (setCounter): use a hackish way to lookup the correct enum diff --git a/src/counters.C b/src/counters.C index 5b0de59417..8415c45081 100644 --- a/src/counters.C +++ b/src/counters.C @@ -95,6 +95,7 @@ Counters::Counters() // Float counters: newCounter("figure"); newCounter("table"); + newCounter("algorithm"); }