]> git.lyx.org Git - lyx.git/blobdiff - lib/external_templates
Dekel's lyxrc.example patch
[lyx.git] / lib / external_templates
index 30ccf269eb8630097f7fb0cc7205e3de9e700152..82510b6ce8ffa2206fa93b83a6ce95a642fc661d 100644 (file)
@@ -45,7 +45,8 @@ Template XFig
                An XFig figure.
                In the parameters box, you can provide
                optional parameters for fig2dev in the
                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.
                For Ascii export, you can provide a
                number that specifies the width of an
                Ascii approximation of the figure.
@@ -63,8 +64,9 @@ Template XFig
        EditCommand "xfig $$FName"
        AutomaticProduction true
        Format LaTeX
        EditCommand "xfig $$FName"
        AutomaticProduction true
        Format LaTeX
-               Product "$$Contents(\"$$Basename.tex\")"
-               UpdateCommand "fig2dev $$Parameters -L latex $$FName $$Basename.tex"
+               Product "\\begin{picture}(0,0)\\includegraphics{$$Basename.eps}\\end{picture}\\input{$$Basename.pstex_t}"
+               UpdateCommand "python $$Sysdir/scripts/fig2pstex.py $$FName $$Parameters"
+               Requirement "graphics"  
        FormatEnd
        Format Ascii
                Product "$$Contents(\"$$Basename.asc\")"
        FormatEnd
        Format Ascii
                Product "$$Contents(\"$$Basename.asc\")"
@@ -94,8 +96,8 @@ Template ChessDiagram
                to enable general editing of the board.
                You might also check out the
                'Options->Test legality' option, and
                to enable general editing of the board.
                You might also check out the
                'Options->Test legality' option, and
-               remember to right click to insert new
-               material in the board.
+               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.
                In order for this to work, you have to
                install the lyxchess.sty which is bundled
                with LyX, and the chess.sty from CTAN.