]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/chess.layout
Fix typos in comments
[lyx.git] / lib / layouts / chess.layout
index 7d72d16036c74cd28bdeb105c281169d4c304a98..7ce388b8283c88c83300b916b4d0b57ed08a1268 100644 (file)
@@ -1,5 +1,6 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[article,lyxskak.sty]{article (Chess)}
+#  \DeclareLaTeXClass[article,calc.sty,lambda.sty,lyxskak.sty,pst-node.sty]{Chess}
+#  \DeclareCategory{Articles}
 # chess article textclass definition file.
 
 # This layout file was designed to allow easy access to all
 # \vspace*{-0.5in})
 #
 
+Format 98
+
+Requires       chess
+
 Preamble
-       \usepackage[ps,mover]{lyxskak}
        %%% initialize board
        \newgame
 EndPreamble
@@ -33,20 +37,24 @@ Style Mainline
        LatexType             Command
        LatexName             mainline
        Margin                Static
-       LeftMargin            MMMMMM
+       LeftMargin            MMMMMMM
        Labeltype             Static
-       LabelString           "Mainline: "
+       LabelSep              M
+       LabelString           "Mainline:"
        Newline               0
        PassThru              1
+       ParbreakIsNewline     1
        TopSep                0.0
        ParSep                0.0
        LabelFont
-         Color               blue
+         Color               textlabel1
          Series              bold
        EndFont
        TextFont
-         Color               blue
+         Color               textlabel1
        EndFont
+       DocBookTag            para
+       DocBookAttr           role='mainline'
 End
 
 
@@ -57,8 +65,10 @@ Style Variation
        CopyStyle             Mainline
        LatexType             Command
        LatexName             lyxvariation[1]
-       LabelString           "Variation: "
-       LeftMargin            MMMMMMMM
+       LabelString           "Variation:"
+       LeftMargin            MMMMMMMMM
+       DocBookTag            para
+       DocBookAttr           role='variation'
 End
 
 
@@ -66,8 +76,10 @@ End
 Style SubVariation
        CopyStyle             Variation
        LatexName             lyxvariation[2]
-       LabelString           "Subvariation: "
-       LeftMargin            MMMMMMMMMMM
+       LabelString           "Subvariation:"
+       LeftMargin            MMMMMMMMMMMM
+       DocBookTag            para
+       DocBookAttr           role='subvariation'
 End
 
 
@@ -75,8 +87,10 @@ End
 Style SubVariation2
        CopyStyle             Variation
        LatexName             lyxvariation[3]
-       LabelString           "Subvariation(2): "
-       LeftMargin            MMMMMMMMMMMMMM
+       LabelString           "Subvariation(2):"
+       LeftMargin            MMMMMMMMMMMMMMM
+       DocBookTag            para
+       DocBookAttr           role='subsubvariation'
 End
 
 
@@ -84,8 +98,10 @@ End
 Style SubVariation3
        CopyStyle             Variation
        LatexName             lyxvariation[4]
-       LabelString           "Subvariation(3): "
-       LeftMargin            MMMMMMMMMMMMMMMMM
+       LabelString           "Subvariation(3):"
+       LeftMargin            MMMMMMMMMMMMMMMMMM
+       DocBookTag            para
+       DocBookAttr           role='subsubsubvariation'
 End
 
 
@@ -93,8 +109,10 @@ End
 Style SubVariation4
        CopyStyle             Variation
        LatexName             lyxvariation[5]
-       LabelString           "Subvariation(4): "
-       LeftMargin            MMMMMMMMMMMMMMMMMMMM
+       LabelString           "Subvariation(4):"
+       LeftMargin            MMMMMMMMMMMMMMMMMMMMM
+       DocBookTag            para
+       DocBookAttr           role='subsubsubsubvariation'
 End
 
 
@@ -102,8 +120,10 @@ End
 Style SubVariation5
        CopyStyle             Variation
        LatexName             lyxvariation[6]
-       LabelString           "Subvariation(5): "
-       LeftMargin            MMMMMMMMMMMMMMMMMMMMMMM
+       LabelString           "Subvariation(5):"
+       LeftMargin            MMMMMMMMMMMMMMMMMMMMMMMM
+       DocBookTag            para
+       DocBookAttr           role='subsubsubsubsubvariation'
 End
 
 
@@ -112,7 +132,11 @@ End
 Style HideMoves
        CopyStyle             Mainline
        LatexName             hidemoves
-       LabelString           "HideMoves: "
+       LeftMargin            "HideMoves:M"
+       LabelSep              M
+       LabelString           "HideMoves:"
+       DocBookTag            para
+       DocBookAttr           role='hide-moves'
 End
 
 
@@ -124,8 +148,10 @@ Style ChessBoard
        LabelString           "[chessboard]"
        KeepEmpty             1
        LabelFont
-         Color               red
+         Color               textlabel3
        EndFont
+       DocBookTag            para
+       DocBookAttr           role='chess-board'
 End
 
 
@@ -134,12 +160,14 @@ Style BoardCentered
        CopyStyle              Mainline
        LatexType              Command
        LatexName              [\showboard\]
-       LeftMargin             MMMMMMMMMMMMM
+       LeftMargin             MMMMMMMMMMMMMM
        LabelString            "[centered board]"
        KeepEmpty              1
        LabelFont
-         Color                red
+         Color               textlabel3
        EndFont
+       DocBookTag            para
+       DocBookAttr           role='board-centered'
 End
 
 
@@ -149,17 +177,19 @@ Style HighLight
        CopyStyle             Mainline
        LatexType             Command
        LatexName             lyxhighlight
-       LeftMargin            MMMMMMM
-       LabelString           "Highlights: "
+       LeftMargin            MMMMMMMM
+       LabelString           "Highlights:"
        LabelFont
-         Color               black
+         Color               foreground
          Series              Bold
          Shape               SmallCaps
        EndFont
        TextFont
          Series              Bold
-         Color               black
+         Color               foreground
        EndFont
+       DocBookTag            para
+       DocBookAttr           role='highlights'
 End
 
 
@@ -169,8 +199,10 @@ Style Arrow
        CopyStyle             HighLight
        LatexType             Command
        LatexName             lyxprintarrow
-       LeftMargin            MMMMMMM
-       LabelString           "Arrow: "
+       LeftMargin            MMMMMMMM
+       LabelString           "Arrow:"
+       DocBookTag            para
+       DocBookAttr           role='arrow'
 End
 
 
@@ -180,8 +212,10 @@ Style KnightMove
        CopyStyle             Arrow
        LatexType             Command
        LatexName             lyxknightmove
-       LeftMargin            MMMMMMM
-       LabelString           "KnightMove: "
+       LeftMargin            MMMMMMMM
+       LabelString           "KnightMove:"
+       DocBookTag            para
+       DocBookAttr           role='knight-move'
 End
 
 Input article.layout