mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 21:55:29 +00:00
insetexternal: Do not run update command if result file exists and is up to
date. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2960 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
743bb40061
commit
7a57795f20
@ -1,3 +1,9 @@
|
||||
2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
|
||||
|
||||
* external_templates: Use UpdateResult
|
||||
|
||||
* scripts/*.py: Fix for python 1.5
|
||||
|
||||
2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
||||
|
||||
* examples/iecc05.fen:
|
||||
|
@ -24,15 +24,18 @@ Template RasterImage
|
||||
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"
|
||||
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]"
|
||||
@ -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"
|
||||
UpdateResult "$$Basename.eps"
|
||||
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"
|
||||
UpdateResult "$$Basename.eps"
|
||||
FormatEnd
|
||||
Format LinuxDoc
|
||||
Product "[XFig: $$FName]"
|
||||
@ -114,6 +120,7 @@ Template ChessDiagram
|
||||
Format Ascii
|
||||
Product "$$Contents(\"$$Basename.asc\")"
|
||||
UpdateCommand "python $$Sysdir/scripts/fen2ascii.py $$FName $$Basename.asc"
|
||||
UpdateResult "$$Basename.asc"
|
||||
FormatEnd
|
||||
Format DocBook
|
||||
Product "[Chess: $$Basename]"
|
||||
|
@ -8,9 +8,6 @@
|
||||
|
||||
import sys
|
||||
import os
|
||||
import os.path
|
||||
|
||||
|
||||
|
||||
if sys.argv[1] != "-":
|
||||
os.close(0)
|
||||
|
@ -4,7 +4,6 @@
|
||||
|
||||
import sys
|
||||
import os
|
||||
import os.path
|
||||
import string
|
||||
|
||||
pid = os.fork()
|
||||
|
@ -3,7 +3,6 @@
|
||||
|
||||
import sys
|
||||
import os
|
||||
import os.path
|
||||
|
||||
if len(sys.argv) > 2:
|
||||
pars = sys.argv[2]
|
||||
|
Loading…
Reference in New Issue
Block a user