]> git.lyx.org Git - features.git/commitdiff
Search for "gswin32" also when looking for ghostscript.
authorAngus Leeming <leeming@lyx.org>
Tue, 18 May 2004 07:40:18 +0000 (07:40 +0000)
committerAngus Leeming <leeming@lyx.org>
Tue, 18 May 2004 07:40:18 +0000 (07:40 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8760 a592a061-630c-0410-9148-cb99ea01b6c8

lib/ChangeLog
lib/scripts/legacy_lyxpreview2ppm.py

index 784586ef1f09d46f6bce3f3977b81ada585060b1..02fb40d2b71aff78f1123f97607e82acc40019f6 100644 (file)
@@ -1,3 +1,8 @@
+2004-05-18  Angus Leeming  <leeming@lyx.org>
+
+       * legacy_lyxpreview2ppm.py: search for "gswin32" also when looking
+       for ghostscript.
+
 2004-05-14  José Matos  <jamatos@lyx.org>
 
        * layouts/agu_stdclass.inc:
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.