X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fchessboard.module;h=bfe2560583fd971a4f58743e2f6a9ca38acd677c;hb=28f76b84c96323e4dad43140121aae01820b4c38;hp=0fdbe4cffe5026de6be27fb9f9936ea475117ed8;hpb=6dec3e8a6e9c08bab090e08796bca51b180eb6bf;p=lyx.git diff --git a/lib/layouts/chessboard.module b/lib/layouts/chessboard.module index 0fdbe4cffe..bfe2560583 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 72 +Format 104 # # 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