X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fchess.layout;h=c20a57d1c4a4740663253ea4d69a317c7158766f;hb=bbbd1820957f8a3584765eecc8533da6853a979f;hp=4c6dfe9aa85fa17583a2518c60c5eea4b9373ffc;hpb=3ccd0abf7e7857bb77cbf4d82326b9316514d3b2;p=lyx.git diff --git a/lib/layouts/chess.layout b/lib/layouts/chess.layout index 4c6dfe9aa8..c20a57d1c4 100644 --- a/lib/layouts/chess.layout +++ b/lib/layouts/chess.layout @@ -1,5 +1,6 @@ #% Do not delete the line below; configure depends on this -# \DeclareLaTeXClass[article,calc.sty,lambda.sty,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 34 +Format 104 Requires chess @@ -46,12 +47,14 @@ Style Mainline 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 @@ -64,6 +67,8 @@ Style Variation LatexName lyxvariation[1] LabelString "Variation:" LeftMargin MMMMMMMMM + DocBookTag para + DocBookAttr role='variation' End @@ -73,6 +78,8 @@ Style SubVariation LatexName lyxvariation[2] LabelString "Subvariation:" LeftMargin MMMMMMMMMMMM + DocBookTag para + DocBookAttr role='subvariation' End @@ -82,6 +89,8 @@ Style SubVariation2 LatexName lyxvariation[3] LabelString "Subvariation(2):" LeftMargin MMMMMMMMMMMMMMM + DocBookTag para + DocBookAttr role='subsubvariation' End @@ -91,6 +100,8 @@ Style SubVariation3 LatexName lyxvariation[4] LabelString "Subvariation(3):" LeftMargin MMMMMMMMMMMMMMMMMM + DocBookTag para + DocBookAttr role='subsubsubvariation' End @@ -100,6 +111,8 @@ Style SubVariation4 LatexName lyxvariation[5] LabelString "Subvariation(4):" LeftMargin MMMMMMMMMMMMMMMMMMMMM + DocBookTag para + DocBookAttr role='subsubsubsubvariation' End @@ -109,6 +122,8 @@ Style SubVariation5 LatexName lyxvariation[6] LabelString "Subvariation(5):" LeftMargin MMMMMMMMMMMMMMMMMMMMMMMM + DocBookTag para + DocBookAttr role='subsubsubsubsubvariation' End @@ -120,6 +135,8 @@ Style HideMoves LeftMargin "HideMoves:M" LabelSep M LabelString "HideMoves:" + DocBookTag para + DocBookAttr role='hide-moves' End @@ -131,8 +148,10 @@ Style ChessBoard LabelString "[chessboard]" KeepEmpty 1 LabelFont - Color red + Color textlabel3 EndFont + DocBookTag para + DocBookAttr role='chess-board' End @@ -145,8 +164,10 @@ Style BoardCentered LabelString "[centered board]" KeepEmpty 1 LabelFont - Color red + Color textlabel3 EndFont + DocBookTag para + DocBookAttr role='board-centered' End @@ -159,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 @@ -178,6 +201,8 @@ Style Arrow LatexName lyxprintarrow LeftMargin MMMMMMMM LabelString "Arrow:" + DocBookTag para + DocBookAttr role='arrow' End @@ -189,6 +214,8 @@ Style KnightMove LatexName lyxknightmove LeftMargin MMMMMMMM LabelString "KnightMove:" + DocBookTag para + DocBookAttr role='knight-move' End Input article.layout