X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fexternal_templates;h=82510b6ce8ffa2206fa93b83a6ce95a642fc661d;hb=4423983d83264846a986f5314b850b6ac99dad67;hp=39143ea1dc67a8abcd60dd23daaf2381fe795024;hpb=6661712fbce6fd1c2e67222d314503fa187248af;p=lyx.git diff --git a/lib/external_templates b/lib/external_templates index 39143ea1dc..82510b6ce8 100644 --- a/lib/external_templates +++ b/lib/external_templates @@ -45,7 +45,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. @@ -63,8 +64,9 @@ Template XFig 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\")"