diff --git a/lib/examples/chessgame.lyx b/lib/examples/chessgame.lyx index 93c9e8495b..5659c5e521 100644 --- a/lib/examples/chessgame.lyx +++ b/lib/examples/chessgame.lyx @@ -1,4 +1,4 @@ -#LyX 1.5.0svn created this file. For more info see http://www.lyx.org/ +#LyX @PACKAGE_VERSION@ created this file. For more info see http://www.lyx.org/ \lyxformat 276 \begin_document \begin_header @@ -41,32 +41,47 @@ \paperpagestyle empty \tracking_changes false \output_changes false +\author "" +\author "" \end_header \begin_body \begin_layout Title - Email Chess Game analyzed +\begin_inset Note Note +status open + +\begin_layout Standard + +\series bold +Note: +\series default + You must not use the view PDF button to preview this file! For viewing + and exporting this as PDF use in the menus the method PDF (ps2pdf) or PDF + (dvipdfm). +\end_layout + +\end_inset + + \end_layout \begin_layout Author - Kayvan A. Sylvan \newline + \end_layout \begin_layout Date - \emph on Game start 05/29/2001 \end_layout \begin_layout Standard - The following game was played at the IECC (International Email Chess Club). It is presented as an example of the fun you can have with LyX's new chess support. @@ -74,37 +89,34 @@ The following game was played at the IECC (International Email Chess Club). the chess positions from LyX. \end_layout - \begin_layout Standard - \lyxline \end_layout \begin_layout Standard - \noun on Sylvan, Kayvan \hfill + Wakeham, Marc \newline + (1623) \hfill + (1639) \end_layout \begin_layout Standard - \lyxline \end_layout - \begin_layout Mainline - 1. e4 c5 2. Nc3 d6 3. @@ -114,26 +126,6 @@ Wakeham, Marc \end_layout \begin_layout Standard - - -\begin_inset ERT -status open - -\begin_layout Standard - -\backslash -vspace*{-0.2in} -\end_layout - -\end_inset - - -\end_layout - - -\begin_layout Standard - - \begin_inset VSpace medskip \end_inset @@ -141,13 +133,12 @@ vspace*{-0.2in} \end_layout \begin_layout Standard - - \begin_inset ERT status collapsed \begin_layout Standard + \backslash [ \end_layout @@ -156,8 +147,8 @@ status collapsed \begin_inset External - template ChessDiagram - filename iecc05.fen + template ChessDiagram + filename iecc05.fen \end_inset @@ -167,6 +158,7 @@ status collapsed \begin_layout Standard + \backslash ] \end_layout @@ -177,46 +169,31 @@ status collapsed \end_layout \begin_layout KnightMove - g1->e2 \end_layout \begin_layout HighLight - d4,f4 \end_layout \begin_layout Standard - - -\begin_inset ERT -status open - -\begin_layout Standard - -\backslash -vspace*{-0.5in} % This is a hack! -\end_layout - +\begin_inset VSpace -0.5in* \end_inset \end_layout \begin_layout Standard - So far, so good. This is all according to theory. \end_layout \begin_layout Mainline - 5... Be7?! \end_layout \begin_layout Variation - 5... Nge7 [ \backslash @@ -224,26 +201,25 @@ equal{} ] \end_layout \begin_layout Mainline - 6. d4 cxd4 7. Nxd4 a6 \end_layout \begin_layout Standard +With 7... +\InsetSpace ~ -With 7...\InsetSpace ~ a6, we are back in the well-trodden theory of this opening. \end_layout \begin_layout Standard - - \begin_inset ERT status collapsed \begin_layout Standard + \backslash [ \end_layout @@ -252,8 +228,8 @@ status collapsed \begin_inset External - template ChessDiagram - filename iecc07.fen + template ChessDiagram + filename iecc07.fen \end_inset @@ -263,6 +239,7 @@ status collapsed \begin_layout Standard + \backslash ] \end_layout @@ -273,7 +250,6 @@ status collapsed \end_layout \begin_layout Mainline - 8. Nxc6 bxc6 9. O-O Bb7 10. @@ -283,13 +259,12 @@ status collapsed \end_layout \begin_layout Standard - - \begin_inset ERT status collapsed \begin_layout Standard + \backslash [ \end_layout @@ -298,8 +273,8 @@ status collapsed \begin_inset External - template ChessDiagram - filename iecc12.fen + template ChessDiagram + filename iecc12.fen \end_inset @@ -309,6 +284,7 @@ status collapsed \begin_layout Standard + \backslash ] \end_layout @@ -319,23 +295,26 @@ status collapsed \end_layout \begin_layout Arrow - a1->d1 \end_layout \begin_layout Standard +\begin_inset VSpace -0.3in* +\end_inset + +\end_layout + +\begin_layout Standard White continues to develop pieces and also sets a trap for Black. \end_layout \begin_layout Mainline - 12...O-O? [ This move loses instantly. ] \end_layout \begin_layout Variation - 12... e5 13. Be3 Qc7 14. @@ -345,19 +324,16 @@ wbetter{} is best ] \end_layout \begin_layout Mainline - 13. e5! \end_layout \begin_layout Standard - Black's knight and bishop are in each other's way. The bishop is doomed. \end_layout \begin_layout Mainline - 13... Nd5!? 14. Bxd5 cxd5 15. diff --git a/lib/external_templates b/lib/external_templates index 949b45a819..76e0dfac70 100644 --- a/lib/external_templates +++ b/lib/external_templates @@ -178,11 +178,15 @@ Template ChessDiagram Format LaTeX Product "\\loadgame{$$AbsOrRelPathMaster$$Basename}\\showboard" Requirement "chess" + UpdateFormat fen + UpdateResult "$$AbsPath$$Basename$$Extension" ReferencedFile latex "$$AbsPath$$Basename$$Extension" FormatEnd Format PDFLaTeX Product "\\loadgame{$$AbsOrRelPathMaster$$Basename}\\showboard" Requirement "chess" + UpdateFormat fen + UpdateResult "$$AbsPath$$Basename$$Extension" ReferencedFile pdflatex "$$AbsPath$$Basename$$Extension" FormatEnd Format Ascii diff --git a/status.15x b/status.15x index 70c1a81b0c..375a1a14f2 100644 --- a/status.15x +++ b/status.15x @@ -104,7 +104,7 @@ What's new - Fix output of some Greek characters. -- Fix some problems with csv importation. +- Fix some problems with CSV importation. - Fix LaTeX output if no graphic driver was selected (part of bug 5294). @@ -112,6 +112,9 @@ What's new - Layout file and template for journal articles of the IOP publishing group fixed. + +- Fix that chess games like the chessgame.lyx example file were not compilable + (bug 5320). * USER INTERFACE