External Call of LaTeX broken for certain path names

Bug #1318414 reported by Holger Sparr
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Medium
Unassigned

Bug Description

In Extension -> Render -> LaTeX Formula

any formula in LaTeX is not evaluated (e.g. \pi^2). The reason seems to be a longer than expected user pathname

Instead of taking the real path name an abbreviated name is used for temporary directory for LaTeX code.

Like: "temporary files were left in: c:\users\holger~1\appdata\local\temp\inkscape-tulqay" where "~1" is probably a Windows abbreviation.

Effect: The LaTeX call is not completed not even with a timeout and needs to be interrupted.

I am running an uptodate windows 7 and the current Inkscape. In case you need more information please contact me.

I am not sure if this is a proper bug report. I resolved the problem temporarily by creating a "short" user.

Revision history for this message
sturgman (sturgman) wrote :

I have the same issue with Inkscape 0.91. This is due to the tempfile library returning the shortened path version in python. An easy solution for this is to define the TMPDIR environmental variable in your windows environment to a short temporary folder (C:\temp) for example and make sure that folder exists. An alternative would be to modify your eqtexsvg.py file to use the win32api library to return instead the full path. The first method is straightforward and simple.

su_v (suv-lp)
tags: added: latex
su_v (suv-lp)
tags: added: win32
Revision history for this message
su_v (suv-lp) wrote :

Setting bug status to confirmed based on multiple user comments and likely duplicate report bug #1480722.

Changed in inkscape:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Jonathan Hofinger (jhofinger) wrote :
Changed in inkscape:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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