]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/recipebook.layout
KOMA-script layout files: don't check for KOMA-script's internal dependencies, scrbas...
[lyx.git] / lib / layouts / recipebook.layout
index df26bb4bdc87c1d636a04f4bec5513e29ed10f2c..140d6eba776ac1bd15e02bae45e855923996868d 100644 (file)
@@ -1,5 +1,5 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[scrbook]{book (recipes)}
+#  \DeclareLaTeXClass[scrbook,scrbase.sty,typearea.sty]{book (recipes)}
 # Recipe textclass definition file.
 # Author: Sandor Szoke (alex@lyx.hu)
 #
 # Another command, \ingred{...}, is defined to typeset a
 # list of ingredients.
 
-Format 11
+Format 27
 Input scrclass.inc
 Input numreport.inc
 
-Sides                  1
-Sides                  2
+# Global parameters.
+SecNumDepth            2
+TocDepth               3
 PageStyle              Headings
 
 # There is no abstract environment in scrbook.cls
 NoStyle Abstract
 
-# Global parameters.
-SecNumDepth            2
-TocDepth               3
-
 Style Chapter
   LabelString          "\thechapter"
+       TocLevel 0
 End
 
 Style Bibliography
@@ -55,10 +53,6 @@ Style Bibliography
 End
 
 Preamble
-
-\setcounter{secnumdepth}{2}    % subsubsections not numbered
-\setcounter{tocdepth}{3}       % subsubsections in the .toc file
-
 \newcommand{\rechead}
     {\centering\normalfont\Large\sffamily\bfseries}
 
@@ -112,6 +106,7 @@ Style Subsubsection
   Font
     Size               Small
   EndFont
+       TocLevel 3
 End
 
 # Inghead style definition