mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
fig2pdftex: Fix for windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25252 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
58ad19a232
commit
71acc7ea52
@ -78,7 +78,7 @@ else:
|
||||
# The generated PostScript commands are extracted from epstopdf, distributed
|
||||
# with tetex.
|
||||
epsfile = outbase + '.pstex'
|
||||
tmp = open(epsfile + '.??', 'w')
|
||||
tmp = mkstemp()
|
||||
boundingboxline = re.compile('%%BoundingBox:\s+(\d*)\s+(\d*)\s+(\d*)\s+(\d*)')
|
||||
for line in open(epsfile).xreadlines():
|
||||
if line[:13] == '%%BoundingBox':
|
||||
|
Loading…
Reference in New Issue
Block a user