From: Brion Vibber Date: Wed, 7 Jan 2004 11:53:18 +0000 (+0000) Subject: Switch dvips options from "-o -" to "-f". Should do the same thing, but X-Git-Tag: 1.3.0beta1~1184 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=afe2b315b86eadc28437008cac35349ae498ad1d;p=lhc%2Fweb%2Fwiklou.git Switch dvips options from "-o -" to "-f". Should do the same thing, but now also works with the version from FreeBSD ports. --- diff --git a/math/README b/math/README index 90978dee91..1f0f5e4dc1 100644 --- a/math/README +++ b/math/README @@ -19,4 +19,4 @@ texvc output format is like that: -(GNU make is required to compile; if 'make' fails, try 'gmake'.) \ No newline at end of file +(GNU make is required to compile; if 'make' fails, try 'gmake'.) diff --git a/math/render.ml b/math/render.ml index 9f1e823360..d4bc9ade83 100644 --- a/math/render.ml +++ b/math/render.ml @@ -1,4 +1,4 @@ -let cmd_dvips tmpprefix = "dvips -R -E " ^ tmpprefix ^ ".dvi -o -" +let cmd_dvips tmpprefix = "dvips -R -E " ^ tmpprefix ^ ".dvi -f" let cmd_latex tmpprefix = "latex " ^ tmpprefix ^ ".tex >/dev/null" let cmd_convert finalpath = "convert -quality 100 -density 120 ps:- " ^ finalpath ^ " >/dev/null 2>/dev/null"