Mercurial > hg > octave-nkf
diff scripts/plot/util/private/__print_parse_opts__.m @ 19778:2058d87174c8
Recognize new eps2write device from Ghostscript (partial fix for bug #43989).
* __print_parse_opts__.m: Add eps2write as a possible ghostscript device.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 15 Jan 2015 12:38:13 -0800 |
parents | 9b90d8579c61 |
children | 0e1f5a750d00 |
line wrap: on
line diff
--- a/scripts/plot/util/private/__print_parse_opts__.m +++ b/scripts/plot/util/private/__print_parse_opts__.m @@ -225,7 +225,7 @@ "pcx24b", "pcx256", "pcx16", "pgm", "pgmraw", ... "ppm", "ppmraw", "pdflatex", "texdraw", ... "pdfcairo", "pngcairo", "pstricks", ... - "epswrite", "pswrite", "ps2write", "pdfwrite"}; + "epswrite", "eps2write", "pswrite", "ps2write", "pdfwrite"}; suffixes = {"ai", "cdr", "fig", "png", "jpg", ... "gif", "pbm", "pbm", "dxf", "mf", ... @@ -237,7 +237,7 @@ "pcx", "pcx", "pcx", "pgm", "pgm", ... "ppm", "ppm", "tex", "tex", ... "pdf", "png", "tex", ... - "eps", "ps", "ps", "pdf"}; + "eps", "eps", "ps", "ps", "pdf"}; if (isfigure (arg_st.figure)) __graphics_toolkit__ = get (arg_st.figure, "__graphics_toolkit__"); @@ -616,7 +616,7 @@ function device_list = gs_device_list (); ## Graphics formats/languages, not printers. device_list = {"bmp16"; "bmp16m"; "bmp256"; "bmp32b"; "bmpgray"; ... - "epswrite"; "jpeg"; "jpegcymk"; "jpeggray"; "pbm"; ... + "epswrite"; "eps2write"; "jpeg"; "jpegcymk"; "jpeggray"; "pbm"; ... "pbmraw"; "pcx16"; "pcx24b"; "pcx256"; "pcx2up"; ... "pcxcmyk"; "pcxgray"; "pcxmono"; "pdfwrite"; "pgm"; ... "pgmraw"; "pgnm"; "pgnmraw"; "png16"; "png16m"; ...