]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/chess.layout
Fix typos in comments
[lyx.git] / lib / layouts / chess.layout
index 177ce39a761066d2c04de9a438b486192db44ccb..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 4
+Format 98
+
+Requires       chess
+
 Preamble
-       \usepackage[ps,mover]{lyxskak}
        %%% initialize board
        \newgame
 EndPreamble
@@ -40,15 +43,18 @@ Style Mainline
        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
 
 
@@ -61,6 +67,8 @@ Style Variation
        LatexName             lyxvariation[1]
        LabelString           "Variation:"
        LeftMargin            MMMMMMMMM
+       DocBookTag            para
+       DocBookAttr           role='variation'
 End
 
 
@@ -70,6 +78,8 @@ Style SubVariation
        LatexName             lyxvariation[2]
        LabelString           "Subvariation:"
        LeftMargin            MMMMMMMMMMMM
+       DocBookTag            para
+       DocBookAttr           role='subvariation'
 End
 
 
@@ -79,6 +89,8 @@ Style SubVariation2
        LatexName             lyxvariation[3]
        LabelString           "Subvariation(2):"
        LeftMargin            MMMMMMMMMMMMMMM
+       DocBookTag            para
+       DocBookAttr           role='subsubvariation'
 End
 
 
@@ -88,6 +100,8 @@ Style SubVariation3
        LatexName             lyxvariation[4]
        LabelString           "Subvariation(3):"
        LeftMargin            MMMMMMMMMMMMMMMMMM
+       DocBookTag            para
+       DocBookAttr           role='subsubsubvariation'
 End
 
 
@@ -97,6 +111,8 @@ Style SubVariation4
        LatexName             lyxvariation[5]
        LabelString           "Subvariation(4):"
        LeftMargin            MMMMMMMMMMMMMMMMMMMMM
+       DocBookTag            para
+       DocBookAttr           role='subsubsubsubvariation'
 End
 
 
@@ -106,6 +122,8 @@ Style SubVariation5
        LatexName             lyxvariation[6]
        LabelString           "Subvariation(5):"
        LeftMargin            MMMMMMMMMMMMMMMMMMMMMMMM
+       DocBookTag            para
+       DocBookAttr           role='subsubsubsubsubvariation'
 End
 
 
@@ -117,6 +135,8 @@ Style HideMoves
        LeftMargin            "HideMoves:M"
        LabelSep              M
        LabelString           "HideMoves:"
+       DocBookTag            para
+       DocBookAttr           role='hide-moves'
 End
 
 
@@ -128,8 +148,10 @@ Style ChessBoard
        LabelString           "[chessboard]"
        KeepEmpty             1
        LabelFont
-         Color               red
+         Color               textlabel3
        EndFont
+       DocBookTag            para
+       DocBookAttr           role='chess-board'
 End
 
 
@@ -142,8 +164,10 @@ Style BoardCentered
        LabelString            "[centered board]"
        KeepEmpty              1
        LabelFont
-         Color                red
+         Color               textlabel3
        EndFont
+       DocBookTag            para
+       DocBookAttr           role='board-centered'
 End
 
 
@@ -156,14 +180,16 @@ Style HighLight
        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
 
 
@@ -175,6 +201,8 @@ Style Arrow
        LatexName             lyxprintarrow
        LeftMargin            MMMMMMMM
        LabelString           "Arrow:"
+       DocBookTag            para
+       DocBookAttr           role='arrow'
 End
 
 
@@ -186,6 +214,8 @@ Style KnightMove
        LatexName             lyxknightmove
        LeftMargin            MMMMMMMM
        LabelString           "KnightMove:"
+       DocBookTag            para
+       DocBookAttr           role='knight-move'
 End
 
 Input article.layout