Mercurial > octave-nkf
diff scripts/plot/private/__print_parse_opts__.m @ 13728:47f803279384
Allow to use MiKTeX ghostscript.
* m4/acinclude.m4 (OCTAVE_PROG_GHOSTSCRIPT): Add mgs to gs_names list.
* plot/private/__print_parse_opts__.m (__ghostscript_binary__): Add gs.exe to
gs_binaries list under Windows (non cygwin).
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Thu, 20 Oct 2011 12:54:10 +0100 |
parents | 50db905c3cf1 |
children | e13bfbc2c4c5 |
line wrap: on
line diff
--- a/scripts/plot/private/__print_parse_opts__.m Thu Oct 20 12:51:31 2011 +0100 +++ b/scripts/plot/private/__print_parse_opts__.m Thu Oct 20 12:54:10 2011 +0100 @@ -449,7 +449,7 @@ gs_binaries = horzcat (gs_binaries, {"gs", "gs.exe"}); else ## pc - Includes Win32 and mingw. - gs_binaries = horzcat (gs_binaries, {"gs.exe", "gswin32c.exe"}); + gs_binaries = horzcat (gs_binaries, {"gs.exe", "gswin32c.exe", "mgs.exe"}); endif n = 0; while (n < numel (gs_binaries) && isempty (ghostscript_binary))