On Tue, 2005-08-09 at 15:36, Helge Hafting wrote:
> Create a memoir document, with chapter, section, subsection and so on.
> Use document settings, demand everything numbered.
> Expect:
> chapter 1
> section 1.1
> subsection 1.1.1
> 
> On screen, I get
> chapter 1
> section 1.1
> subsection 1.2
> 
> Which is clearly wrong. "book" and "article" don't do this.
> 
> The exported latex is also wrong, I get \secnumdepth{1} so the 
> subsection isn't numbered. Manually changing secnumdepth shows that 
> latex+memoir have no problems getting the numbers right.
> 
> Helge Hafting

Funnily enough changing the order in memoir.layout fixes this (at least
the on-screen part):

Index: memoir.layout
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/layouts/memoir.layout,v
retrieving revision 1.4
diff -u -p -r1.4 memoir.layout
--- memoir.layout       13 Jun 2005 09:36:58 -0000      1.4
+++ memoir.layout       9 Aug 2005 14:35:02 -0000
@@ -36,9 +36,9 @@ End
 Input stdlists.inc
 Input stdcounters.inc
 Input stdfloats.inc
-Input numreport.inc
 Input stdsections.inc
 Input stdstarsections.inc
+Input numreport.inc

 Style Chapter

I have no clear explanation for this. There could be a deeper bug behind
this in the way layout files are read and overlayed. Ideas?

- Martin

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to