From ff832e4eabad66d436cd4b37c74bb033d7a9e02c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Sat, 4 Oct 2008 23:38:16 +0000 Subject: [PATCH] - external_templates: fix http://bugzilla.lyx.org/show_bug.cgi?id=5320, patch by Vincent - chessgame.lyx: adapt file to the change git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26733 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/examples/chessgame.lyx | 31 ++++++++++++++++++++++++------- lib/external_templates | 8 ++++++-- 2 files changed, 30 insertions(+), 9 deletions(-) diff --git a/lib/examples/chessgame.lyx b/lib/examples/chessgame.lyx index 61d15b0aa9..4da512ef30 100644 --- a/lib/examples/chessgame.lyx +++ b/lib/examples/chessgame.lyx @@ -44,12 +44,29 @@ \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 Plain Layout + +\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 @@ -114,13 +131,6 @@ Wakeham, Marc Nge2 \end_layout -\begin_layout Standard -\begin_inset VSpace -0.2in* -\end_inset - - -\end_layout - \begin_layout Standard \begin_inset VSpace medskip \end_inset @@ -295,6 +305,13 @@ status collapsed 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 diff --git a/lib/external_templates b/lib/external_templates index 976792628b..eaa41fe8d1 100644 --- a/lib/external_templates +++ b/lib/external_templates @@ -187,12 +187,16 @@ Template ChessDiagram Format LaTeX Product "\\loadgame{$$AbsOrRelPathMaster$$Basename}\\showboard" Requirement "chess" - ReferencedFile latex "$$AbsPath$$Basename$$Extension" + UpdateFormat fen + UpdateResult "$$AbsPath$$Basename.fen" + ReferencedFile latex "$$AbsPath$$Basename.fen" FormatEnd Format PDFLaTeX Product "\\loadgame{$$AbsOrRelPathMaster$$Basename}\\showboard" Requirement "chess" - ReferencedFile pdflatex "$$AbsPath$$Basename$$Extension" + UpdateFormat fen + UpdateResult "$$AbsPath$$Basename.fen" + ReferencedFile pdflatex "$$AbsPath$$Basename.fen" FormatEnd Format Ascii Product "$$Contents(\"$$AbsPath$$Basename.asc\")" -- 2.39.2