]> git.lyx.org Git - lyx.git/blobdiff - lib/external_templates
fix typo that put too many include paths for most people
[lyx.git] / lib / external_templates
index 82510b6ce8ffa2206fa93b83a6ce95a642fc661d..78ad5b2a47187bf158d02da0b78c3997ccddba6d 100644 (file)
@@ -24,15 +24,18 @@ Template RasterImage
        Format LaTeX
                Product "\\includegraphics{$$Basename.eps}"
                UpdateCommand "convert $$Parameters $$FName $$Basename.eps"
        Format LaTeX
                Product "\\includegraphics{$$Basename.eps}"
                UpdateCommand "convert $$Parameters $$FName $$Basename.eps"
+               UpdateResult "$$Basename.eps"
                Requirement "graphics"
        FormatEnd
        Format Ascii
                Product "$$Contents(\"$$Basename.asc\")"
                UpdateCommand "python $$Sysdir/scripts/pic2ascii.py $$FName $$Parameters"
                Requirement "graphics"
        FormatEnd
        Format Ascii
                Product "$$Contents(\"$$Basename.asc\")"
                UpdateCommand "python $$Sysdir/scripts/pic2ascii.py $$FName $$Parameters"
+               UpdateResult "$$Basename.asc"
        FormatEnd
        Format DocBook
                Product "<graphic fileref=\"$$Basename.eps\"></graphic>"
                UpdateCommand "python $$Sysdir/scripts/pic2png_eps.py $$FName $$Parameters"
        FormatEnd
        Format DocBook
                Product "<graphic fileref=\"$$Basename.eps\"></graphic>"
                UpdateCommand "python $$Sysdir/scripts/pic2png_eps.py $$FName $$Parameters"
+               UpdateResult "$$Basename.eps"
        FormatEnd
        Format LinuxDoc
                Product "[Bitmap: $$FName]"
        FormatEnd
        Format LinuxDoc
                Product "[Bitmap: $$FName]"
@@ -66,15 +69,18 @@ Template XFig
        Format LaTeX
                Product "\\begin{picture}(0,0)\\includegraphics{$$Basename.eps}\\end{picture}\\input{$$Basename.pstex_t}"
                UpdateCommand "python $$Sysdir/scripts/fig2pstex.py $$FName $$Parameters"
        Format LaTeX
                Product "\\begin{picture}(0,0)\\includegraphics{$$Basename.eps}\\end{picture}\\input{$$Basename.pstex_t}"
                UpdateCommand "python $$Sysdir/scripts/fig2pstex.py $$FName $$Parameters"
+               UpdateResult "$$Basename.eps"
                Requirement "graphics"  
        FormatEnd
        Format Ascii
                Product "$$Contents(\"$$Basename.asc\")"
                UpdateCommand "python $$Sysdir/scripts/pic2ascii.py $$FName $$Parameters"
                Requirement "graphics"  
        FormatEnd
        Format Ascii
                Product "$$Contents(\"$$Basename.asc\")"
                UpdateCommand "python $$Sysdir/scripts/pic2ascii.py $$FName $$Parameters"
+               UpdateResult "$$Basename.asc"
        FormatEnd
        Format DocBook
                Product "<graphic fileref=\"$$Basename.eps\"></graphic>"
                UpdateCommand "python $$Sysdir/scripts/pic2png_eps.py $$FName $$Parameters"
        FormatEnd
        Format DocBook
                Product "<graphic fileref=\"$$Basename.eps\"></graphic>"
                UpdateCommand "python $$Sysdir/scripts/pic2png_eps.py $$FName $$Parameters"
+               UpdateResult "$$Basename.eps"
        FormatEnd
        Format LinuxDoc
                Product "[XFig: $$FName]"
        FormatEnd
        Format LinuxDoc
                Product "[XFig: $$FName]"
@@ -99,21 +105,22 @@ Template ChessDiagram
                remember to middle and right click to 
                insert new material in the board.
                In order for this to work, you have to
                remember to middle and right click to 
                insert new material in the board.
                In order for this to work, you have to
-               install the lyxchess.sty which is bundled
-               with LyX, and the chess.sty from CTAN.
+               put the bundled lyxskak.sty in a place
+               that TeX will find it, and you will need
+               to install the skak package from CTAN.
        HelpTextEnd
        FileFilter "*.fen"
        ViewCommand "xboard -lpf $$FName"
        HelpTextEnd
        FileFilter "*.fen"
        ViewCommand "xboard -lpf $$FName"
-       EditCommand "xboard -lpf $$FName"
+       EditCommand "xboard -lpf $$FName -mode EditPosition"
        AutomaticProduction true
        Format LaTeX
        AutomaticProduction true
        Format LaTeX
-               Product "$$Contents(\"$$Basename.tex\")"
-               UpdateCommand "python $$Sysdir/scripts/fen2latex.py $$FName $$Basename.tex"
+               Product "\\loadgame{$$FPath$$Basename}\\showboard"
                Requirement "chess"
        FormatEnd
        Format Ascii
                Product "$$Contents(\"$$Basename.asc\")"
                Requirement "chess"
        FormatEnd
        Format Ascii
                Product "$$Contents(\"$$Basename.asc\")"
-               UpdateCommand "python $$Sysdir/scripts/fen2ascii.py $$FName $$Basename.tex"
+               UpdateCommand "python $$Sysdir/scripts/fen2ascii.py $$FName $$Basename.asc"
+               UpdateResult "$$Basename.asc"
        FormatEnd
        Format DocBook
                Product "[Chess: $$Basename]"
        FormatEnd
        Format DocBook
                Product "[Chess: $$Basename]"