]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/chess.layout
DocBook: implement modern CV.
[lyx.git] / lib / layouts / chess.layout
index 0a143592516a3561f4c29c8a73dc2cc9b1007361..3da45cc94f25cd89bc2829daacff9ba83b864423 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
@@ -16,7 +17,7 @@
 # \vspace*{-0.5in})
 #
 
-Format 25
+Format 85
 
 Requires       chess
 
@@ -42,6 +43,7 @@ Style Mainline
        LabelString           "Mainline:"
        Newline               0
        PassThru              1
+       ParbreakIsNewline     1
        TopSep                0.0
        ParSep                0.0
        LabelFont
@@ -51,6 +53,8 @@ Style Mainline
        TextFont
          Color               blue
        EndFont
+       DocBookTag            para
+       DocBookAttr           role='mainline'
 End
 
 
@@ -63,6 +67,8 @@ Style Variation
        LatexName             lyxvariation[1]
        LabelString           "Variation:"
        LeftMargin            MMMMMMMMM
+       DocBookTag            para
+       DocBookAttr           role='variation'
 End
 
 
@@ -72,6 +78,8 @@ Style SubVariation
        LatexName             lyxvariation[2]
        LabelString           "Subvariation:"
        LeftMargin            MMMMMMMMMMMM
+       DocBookTag            para
+       DocBookAttr           role='subvariation'
 End
 
 
@@ -81,6 +89,8 @@ Style SubVariation2
        LatexName             lyxvariation[3]
        LabelString           "Subvariation(2):"
        LeftMargin            MMMMMMMMMMMMMMM
+       DocBookTag            para
+       DocBookAttr           role='subsubvariation'
 End
 
 
@@ -90,6 +100,8 @@ Style SubVariation3
        LatexName             lyxvariation[4]
        LabelString           "Subvariation(3):"
        LeftMargin            MMMMMMMMMMMMMMMMMM
+       DocBookTag            para
+       DocBookAttr           role='subsubsubvariation'
 End
 
 
@@ -99,6 +111,8 @@ Style SubVariation4
        LatexName             lyxvariation[5]
        LabelString           "Subvariation(4):"
        LeftMargin            MMMMMMMMMMMMMMMMMMMMM
+       DocBookTag            para
+       DocBookAttr           role='subsubsubsubvariation'
 End
 
 
@@ -108,6 +122,8 @@ Style SubVariation5
        LatexName             lyxvariation[6]
        LabelString           "Subvariation(5):"
        LeftMargin            MMMMMMMMMMMMMMMMMMMMMMMM
+       DocBookTag            para
+       DocBookAttr           role='subsubsubsubsubvariation'
 End
 
 
@@ -119,6 +135,8 @@ Style HideMoves
        LeftMargin            "HideMoves:M"
        LabelSep              M
        LabelString           "HideMoves:"
+       DocBookTag            para
+       DocBookAttr           role='hide-moves'
 End
 
 
@@ -132,6 +150,8 @@ Style ChessBoard
        LabelFont
          Color               red
        EndFont
+       DocBookTag            para
+       DocBookAttr           role='chess-board'
 End
 
 
@@ -146,6 +166,8 @@ Style BoardCentered
        LabelFont
          Color                red
        EndFont
+       DocBookTag            para
+       DocBookAttr           role='board-centered'
 End
 
 
@@ -166,6 +188,8 @@ Style HighLight
          Series              Bold
          Color               black
        EndFont
+       DocBookTag            para
+       DocBookAttr           role='highlights'
 End
 
 
@@ -177,6 +201,8 @@ Style Arrow
        LatexName             lyxprintarrow
        LeftMargin            MMMMMMMM
        LabelString           "Arrow:"
+       DocBookTag            para
+       DocBookAttr           role='arrow'
 End
 
 
@@ -188,6 +214,8 @@ Style KnightMove
        LatexName             lyxknightmove
        LeftMargin            MMMMMMMM
        LabelString           "KnightMove:"
+       DocBookTag            para
+       DocBookAttr           role='knight-move'
 End
 
 Input article.layout