[Pkg-lyx-devel] Bug#315459: step: Counter does not exist: Section with article (Latex8)

Joe Pfeiffer Joe Pfeiffer <pfeiffer@cs.nmsu.edu>, 315459@bugs.debian.org
Wed, 22 Jun 2005 14:00:00 -0600


Package: lyx-common
Version: 1.3.4-2
Severity: normal
Tags: patch

*** Please type your report below this line ***
(this may be the same as bug 214425)

/usr/share/lyx/layouts/latex8.layout does not define the Section and
SubSection counters used in latex8.sty.  This results in a series of
error messages as in the Subject above when the document layout is set
to article (Latex8).

Adding the counters, as in the following patch, fixes it.

--- latex8.layout.old   2005-06-22 13:37:56.711224536 -0600
+++ latex8.layout       2005-06-22 13:37:12.841893688 -0600
@@ -123,3 +123,13 @@
     Size               Large
   EndFont
 End
+
+# nonstandard counters
+
+Counter
+       Name    Section
+End
+
+Counter
+       Name    SubSection
+End

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (700, 'testing'), (600, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.10newport
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages lyx-common depends on:
ii  lyx-qt                        1.3.4-2    High Level Word Processor - Qt fro
ii  perl                          5.8.7-3    Larry Wall's Practical Extraction 
ii  python                        2.3.5-2    An interactive high-level object-o

-- no debconf information