Latex formula does not work on Windows XP

Bug #194310 reported by Shun Yoshi
2
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Low
Aaron C Spike

Bug Description

Inkscape version 0.45.1 and 0.46 on Windows XP

The "latex formula" extention does not work with the original eqtexsvg.py.
The problem is the name of the temporary directory created for eq.tex, etc.
Its full path is like

  C:\Documents and Settings\<username>\Local Settings\Temp\inkscape-xxxxxx

but it is treated in the python script as

  c:\docume~1\<username>\locals~1\temp\

latex.exe seems to reject tex files with tildes in their paths.
When I modified eqtex.py like, for example,

line 81:
  #base_dir = tempfile.mkdtemp("", "inkscape-");
  base_dir = "d:\\temp\\inkscape\\"

line 98:
  #os.rmdir(base_dir)

the extention worked.

Tags: latex win32
Aaron C Spike (acspike)
Changed in inkscape:
assignee: nobody → acspike
Ryan Lerch (ryanlerch)
Changed in inkscape:
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
imigital (imigital) wrote :

STATUS CHANGED: from Incomplete to Invalid

CLOSED as out of date.
Bug Triage: older than 1 month with no reply

Changed in inkscape:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.