]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/chessboard.module
Make continuous spellcheck the default.
[lyx.git] / lib / layouts / chessboard.module
index e78be18e9825e688ae129a6a16c2ad867701dea0..7f01cb522289901bef32b995070504270fe3f14d 100644 (file)
@@ -1,4 +1,5 @@
-#\DeclareLyXModule[chessboard.sty,chessfss.sty,xskak.sty]{Chessboard}
+#\DeclareLyXModule[chessboard.sty,chessfss.sty,xskak.sty]{Chess Board}
+#\DeclareCategory{Leisure, Sports & Music}
 #DescriptionBegin
 #Support for the chessboard package to print chess games
 #See chessboard-article.lyx example file.
@@ -6,7 +7,7 @@
 # Author: Kornel Benko <kornel@lyx.org>
 #         Jürgen Spitzmüller <spitz@lyx.org>
 
-Format 72
+Format 93
 
 #
 # XSkak basics
@@ -23,7 +24,7 @@ Style NewChessGame
                Family         typewriter
                Series         Medium
                Size           Normal
-               Color          red
+               Color          latex
        EndFont
        KeepEmpty               1
        Argument 1
@@ -37,6 +38,8 @@ Style NewChessGame
                EndFont
        EndArgument
        Requires                xskak
+       DocBookTag      para
+       DocBookAttr     role='new-chess-game'
 End
 
 
@@ -49,10 +52,10 @@ InsetLayout Flex:Mainline
        PassThru                1
        ParbreakIsNewline       1
        LabelFont
-               Color           blue
+               Color           textlabel1
        EndFont
        Font
-               Color           blue
+               Color           textlabel1
        EndFont
        Argument 1
                LabelString     "Options"
@@ -69,16 +72,20 @@ InsetLayout Flex:Mainline
                LeftDelim       "<br/>"
                RightDelim      "%"
                Font
-                       Color   green
+                       Color   textlabel2
                EndFont
        EndArgument
        Requires                xskak
+       DocBookTag      para
+       DocBookAttr     role='mainline'
 End
 
 InsetLayout Flex:Variation
        CopyStyle               Flex:Mainline
        LatexName               variation
        LabelString             Variation
+       DocBookTag      para
+       DocBookAttr     role='variation'
 End
 
 
@@ -97,9 +104,11 @@ InsetLayout Flex:SetChessBoard
                Family          typewriter
        EndFont
        LabelFont
-               Color           blue
+               Color           textlabel1
        EndFont
        Requires                chessboard
+       DocBookTag      para
+       DocBookAttr     role='set-chess-board'
 End
 
 
@@ -114,6 +123,8 @@ InsetLayout Flex:SetBoardStoreStyle
                AutoInsert      true
                Decoration      conglomerate
        EndArgument
+       DocBookTag      para
+       DocBookAttr     role='set-board-store-style'
 End
 
 
@@ -135,5 +146,7 @@ InsetLayout Flex:ChessBoard
                EndFont
        EndArgument
        Requires                chessboard
+       DocBookTag      para
+       DocBookAttr     role='chess-board'
 End