mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
Amend 74f831e06d
Forgot this part.
(cherry picked from commit bd89a273bc
)
This commit is contained in:
parent
ebf85e52d2
commit
3df1e0d70e
@ -85,7 +85,10 @@ OutBase = os.path.splitext(OutputFile)[0]
|
||||
# while outsourcing the text to a LaTeX file ${OutBase}.eps_tex which includes and overlays
|
||||
# the EPS image and can be \input to LaTeX files. We rename the latter file to ${OutputFile}
|
||||
# (although this is probably the name it already has).
|
||||
runCommand([r'%s' % InkscapeCmd, '--file=%s' % InputFile, '--export-eps=%s.eps' % OutBase, '--export-latex'])
|
||||
if unstable:
|
||||
runCommand([r'%s' % InkscapeCmd, '--file=%s' % InputFile, '--export-eps=%s.eps' % OutBase, '--export-latex'])
|
||||
else:
|
||||
runCommand([r'%s' % InkscapeCmd, '%s' % InputFile, '--export-filename=%s.eps' % OutBase, '--export-latex'])
|
||||
|
||||
os.rename('%s.eps_tex' % OutBase, OutputFile)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user