Uwe Stöhr schrieb:

(all book classes support \frontmatter)

Indeed, so also memoir and mwbook.
Attached is the corrected patch.

regards Uwe
Index: development/scons/scons_manifest.py
===================================================================
--- development/scons/scons_manifest.py	(revision 28373)
+++ development/scons/scons_manifest.py	(working copy)
@@ -2653,6 +2653,7 @@
     agu_stdtitle.inc
     aguplus.inc
     amsdefs.inc
+    book_matter.inc
     db_lyxmacros.inc
     db_stdcharstyles.inc
     db_stdclass.inc
Index: lib/layouts/amsbook.layout
===================================================================
--- lib/layouts/amsbook.layout	(revision 28373)
+++ lib/layouts/amsbook.layout	(working copy)
@@ -45,6 +45,7 @@
 Input stdsections.inc
 Input stdinsets.inc
 Input numreport.inc
+Input book_matter.inc
 
 
 Style Section
Index: lib/layouts/book.layout
===================================================================
--- lib/layouts/book.layout	(revision 28373)
+++ lib/layouts/book.layout	(working copy)
@@ -9,6 +9,7 @@
 Format 11
 Input stdclass.inc
 Input numreport.inc
+Input book_matter.inc
 
 
 Sides           2
Index: lib/layouts/book_matter.inc
===================================================================
--- lib/layouts/book_matter.inc	(revision 0)
+++ lib/layouts/book_matter.inc	(revision 0)
@@ -0,0 +1,37 @@
+# definition file for use of
+# \frontmatter  pagecounting like i,ii,...
+# \mainmatter   standard counting
+# \backmatter   appendix handling
+# The commands are only available for books!
+# 
+# Author: Herbert Voss, Uwe Stöhr
+
+Style "Start Frontmatter"
+	Category		FrontMatter
+	Margin 			Dynamic
+	LatexType		command
+	LatexName		frontmatter
+	ParIndent		MM
+	KeepEmpty		1  
+	Align			Block
+	LabelType		Static
+	LabelString		"--- Begin Frontmatter ---"
+	LabelFont 
+	  Series		Bold
+	  Color			Red
+	EndFont
+End
+
+Style "Start Mainmatter"
+	CopyStyle		"Start Frontmatter"
+	Category		MainText
+	LatexName		mainmatter
+	LabelString		"--- Begin Mainmatter ---"
+End
+
+Style "Start Backmatter"
+	CopyStyle		"Start Frontmatter"
+	Category		BackMatter
+	LatexName		backmatter
+	LabelString		"--- Begin Backmatter ---"
+End

Property changes on: lib\layouts\book_matter.inc
___________________________________________________________________
Name: svn:eol-style
   + native

Index: lib/layouts/memoir.layout
===================================================================
--- lib/layouts/memoir.layout	(revision 28373)
+++ lib/layouts/memoir.layout	(working copy)
@@ -46,6 +46,7 @@
 Input stdsections.inc
 Input stdstarsections.inc
 Input numreport.inc
+Input book_matter.inc
 
 
 Style Chapter
Index: lib/layouts/mwbk.layout
===================================================================
--- lib/layouts/mwbk.layout	(revision 28373)
+++ lib/layouts/mwbk.layout	(working copy)
@@ -8,6 +8,7 @@
 Format 11
 Input stdclass.inc
 Input numreport.inc
+Input book_matter.inc
 
 Sides                   2
 
Index: lib/layouts/recipebook.layout
===================================================================
--- lib/layouts/recipebook.layout	(revision 28373)
+++ lib/layouts/recipebook.layout	(working copy)
@@ -29,6 +29,7 @@
 Format 11
 Input scrclass.inc
 Input numreport.inc
+Input book_matter.inc
 
 Sides			1
 Sides			2
Index: lib/layouts/scrbook.layout
===================================================================
--- lib/layouts/scrbook.layout	(revision 28373)
+++ lib/layouts/scrbook.layout	(working copy)
@@ -6,6 +6,7 @@
 Format 11
 Input scrclass.inc
 Input numreport.inc
+Input book_matter.inc
 
 Sides                   2
 PageStyle               Headings
Index: lib/Makefile.am
===================================================================
--- lib/Makefile.am	(revision 28373)
+++ lib/Makefile.am	(working copy)
@@ -971,6 +971,7 @@
 	layouts/article-beamer.layout \
 	layouts/beamer.layout \
 	layouts/book.layout \
+	layouts/book_matter.inc \
 	layouts/braille.module \
 	layouts/broadway.layout \
 	layouts/chess.layout \

Reply via email to