]> git.lyx.org Git - lyx.git/blobdiff - lib/external_templates
polish update
[lyx.git] / lib / external_templates
index f05ddfeeae491207c6a179ac192e0dfc3a1bf8d4..5de7fce4fb03d7d204ab5ef7c290e84da6bd7334 100644 (file)
@@ -24,15 +24,18 @@ Template RasterImage
        Format LaTeX
                Product "\\includegraphics{$$Basename.eps}"
                UpdateCommand "convert $$Parameters $$FName $$Basename.eps"
-               Requirement "graphics"
+               UpdateResult "$$Basename.eps"
+               Requirement "graphicx"
        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"
+               UpdateResult "$$Basename.eps"
        FormatEnd
        Format LinuxDoc
                Product "[Bitmap: $$FName]"
@@ -45,7 +48,8 @@ Template XFig
                An XFig figure.
                In the parameters box, you can provide
                optional parameters for fig2dev in the
-               case of LaTeX export.
+               case of LaTeX export. E.g., -m .69 to
+               reduce the size.
                For Ascii export, you can provide a
                number that specifies the width of an
                Ascii approximation of the figure.
@@ -65,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"
-               Requirement "graphics"  
+               UpdateResult "$$Basename.eps"
+               Requirement "graphicx"  
        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"
+               UpdateResult "$$Basename.eps"
        FormatEnd
        Format LinuxDoc
                Product "[XFig: $$FName]"
@@ -98,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
-               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"
-       EditCommand "xboard -lpf $$FName"
+       EditCommand "xboard -lpf $$FName -mode EditPosition"
        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\")"
-               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]"
@@ -129,7 +137,7 @@ Template Date
                In the parameters box, you can provide
                optional parameters for the date
                command.
-               Use empty to get "Mon Jun 12 05:20:41 CEST 2000"
+               No parameters gives "Mon Jun 12 05:20:41 CEST 2000"
                Use -u to get "Mon Jun 12 03:20:41 UTC 2000"
                Use -I to get "2000-06-12".
                Use -R to get "Mon, 12 Jun 2000 05:20:41 +0200"