]> git.lyx.org Git - features.git/blobdiff - lib/scripts/legacy_lyxpreview2ppm.py
Search for "gswin32" also when looking for ghostscript.
[features.git] / lib / scripts / legacy_lyxpreview2ppm.py
index 8b618d576045762827d5cd67169fbb5f6d43cd07..6105e4418e377d3f3a83efc8a0a05ad1613e2343 100644 (file)
@@ -263,7 +263,7 @@ def legacy_conversion(argv):
     path = string.split(os.getenv("PATH"), os.pathsep)
     latex   = find_exe_or_terminate(["pplatex", "latex2e", "latex"], path)
     dvips   = find_exe_or_terminate(["dvips"], path)
-    gs      = find_exe_or_terminate(["gs"], path)
+    gs      = find_exe_or_terminate(["gswin32", "gs"], path)
     pnmcrop = find_exe(["pnmcrop"], path)
 
     # Move color information into the latex file.