I'm trying to follow the documentation on how to get mathpsfrag set up on Windows 8 (64-bit). It failed at the line
If[MathPSfragConfigurationTest[] === True, okPrint["Passed"], errorPrint["Failed"]];
saying that it found latex and dvips but not ghostscript. So then I found the paths for latex.exe, dvips.exe, and gswin64c.exe and put them into the UnPSfrag
part as so:
SetOptions[UnPSfrag,
GhostscriptExecutable -> "C:\\Program Files\\gs\\gs9.15\\bin\\gswin64c",
LaTeXExecutable -> "C:\\Program Files\\MiKTeX 2.9\\miktex\\bin\\x64\\latex",
DvipsExecutable -> "C:\\Program Files\\MiKTeX 2.9\\miktex\\bin\\x64\\dvips"];
If[MathPSfragConfigurationTest[] === True, okPrint["Passed"], errorPrint["Failed"]];
I also tried with .exe at the ends of the names, and with .exe at just the end of the gswin64c one (as in the example in that same file -- not really sure why their example does that). When I do this, now it won't even find latex! The only thing I can think of is maybe the folders have admin-only privileges or something weird?