X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fchessboard.module;h=3893587b0bcf5a4655e429906cd5f79f67c569e8;hb=2841a1c06315edb7dd3a264746c093ee4c1a7c9f;hp=d49083b288afd7a4abb613da748dcc84f8e3b4d9;hpb=bd142885a653ae8f0e8b07037289c8fa38f97f35;p=lyx.git diff --git a/lib/layouts/chessboard.module b/lib/layouts/chessboard.module index d49083b288..3893587b0b 100644 --- a/lib/layouts/chessboard.module +++ b/lib/layouts/chessboard.module @@ -2,12 +2,12 @@ #\DeclareCategory{Leisure, Sports & Music} #DescriptionBegin #Support for the chessboard package to print chess games -#See chessboard-article.lyx example file. +#See File > Open Example > Articles > Chess where you will find Game 1 and Game 2. #DescriptionEnd # Author: Kornel Benko # Jürgen Spitzmüller -Format 85 +Format 100 # # XSkak basics @@ -24,7 +24,7 @@ Style NewChessGame Family typewriter Series Medium Size Normal - Color red + Color latex EndFont KeepEmpty 1 Argument 1 @@ -38,6 +38,8 @@ Style NewChessGame EndFont EndArgument Requires xskak + DocBookTag para + DocBookAttr role='new-chess-game' End @@ -50,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" @@ -70,16 +72,20 @@ InsetLayout Flex:Mainline LeftDelim "
" 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 @@ -98,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 @@ -115,6 +123,8 @@ InsetLayout Flex:SetBoardStoreStyle AutoInsert true Decoration conglomerate EndArgument + DocBookTag para + DocBookAttr role='set-board-store-style' End @@ -136,5 +146,7 @@ InsetLayout Flex:ChessBoard EndFont EndArgument Requires chessboard + DocBookTag para + DocBookAttr role='chess-board' End