]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/docbook.layout
Categorize existing layouts
[lyx.git] / lib / layouts / docbook.layout
index 9d2be7f0392a85d3f5853202c9941722b8376c1f..ecd5686977656355b61723bd22376c5b86236b5f 100644 (file)
 #% Do not delete the line below; configure depends on this
-#  \DeclareDocBookClass[article]{SGML (DocBook article)}
-# DocBook textclass definition file. 
+#  \DeclareDocBookClass[article]{DocBook Article (SGML)}
+#  \DeclareCategory{Articles (DocBook)}
+# DocBook textclass definition file.
 # Author : Jose' Matos <jamatos@lyx.org>
 
-# Input general definitions
-Input stdclass.inc
+Format 36
+Input db_stdclass.inc
 
-OutputType             docbook
-
-MaxCounter             Counter_Section
-SecNumDepth            3
-TocDepth               3
-
-#docbook specific definitions
-Style Standard
-  LatexType            Paragraph
-  LatexName            para
-End
-
-# Quote style definition
-Style Quotation
-  LatexType            Environment
-  LatexName            blockquote
-  LatexParam           para
-End
-
-# Title style definition
-Style Title
-  LatexType            Command
-  LatexName            artheader
-  LatexParam           "1|"
-End
-
-# Section style definition
-Style Section
-  LatexType            Command
-  LatexName            sect1
-  LatexParam           "1|"
-End
-
-# Subsection style definition
-Style Subsection
-  LatexType            Command
-  LatexName            sect2
-  LatexParam           "2|"
-End
-
-# Subsubsection style definition
-Style Subsubsection
-  LatexType            Command
-  LatexName            sect3
-  LatexParam           "3|"
-End
-
-# Paragraph style definition
-Style Paragraph
-  LatexType            Command
-  LatexName            sect4
-  LatexParam           "4|"
-End
-
-# Subparagraph style definition
-Style Subparagraph
-  LatexType            Command
-  LatexName            sect5
-  LatexParam           "5|"
-End
-
-# Enumerate style definition
-Style Enumerate
-  LatexType            Item_Environment
-  LatexName            orderedlist
-End
-
-# Itemize style definition
-Style Itemize
-  LatexType            Item_Environment
-  LatexName            itemizedlist
-End
-
-# Description style definition
-Style Description
-  LatexType            Item_environment
-  LatexName            variablelist
-End
-
-# Verbatim style definition
-Style Literal
-  LatexType            Environment
-  LatexName            literal
-  Font
-    Latex               Latex
-  EndFont                                                                                     
-End
-
-# Code style definition
-Style Code
-  CopyStyle            LyX-Code
-  LatexType            Environment
-  LatexName            programlisting
-  Preamble
-  EndPreamble
-  Font
-    Latex               Latex
-  EndFont                                                                                     
-End
-
-# Author style definition
-Style Author
-  LatexType            Environment
-  LatexName            author
-  KeepEmpty            1
-End
-
-# first name style definition
-Style FirstName
-  Margin               Static
-  LatexType            Paragraph
-  LatexName            firstname
-  ParIndent            MM
-  ParSkip              0.4
-  Align                Center
-  AlignPossible        Center
-  LabelType            No_Label
-End
-
-# surname style definition
-Style Surname
-  Margin               Static
-  LatexType            Paragraph
-  LatexName            surname
-  ParIndent            MM
-  ParSkip              0.4
-  Align                Center
-  AlignPossible        Center
-  LabelType            No_Label
-End
-
-# Date style definition
-Style Date
-  LatexType            Paragraph
-  LatexName            date
-End
-
-# Abstract style definition
-Style Abstract
-  LatexType            Environment
-  LatexName            abstract
-  LatexParam           para
-End 
-
-# SGML style definition
-Style SGML
-  CopyStyle            LaTeX
-End
-
-# There are no chapters or parts in an docbook article.
-NoStyle Chapter
-NoStyle Chapter*
+# Exclude higher, or equal, sections:
 NoStyle Part
-NoStyle Part*
-NoStyle LaTeX
-NoStyle LyX-Code
-NoStyle Address
-NoStyle Right_Address
-NoStyle LaTeX_Title
-NoStyle Verse
-NoStyle Section*
-NoStyle Subsection*
-NoStyle Subsubsection*
-NoStyle Paragraph*
-NoStyle Subparagraph*
-
-Style LyX-Code
-  ObsoletedBy          Code
-End
+NoCounter part
+NoStyle Chapter
+NoCounter chapter