# HG changeset patch # User Rik # Date 1421354293 28800 # Node ID 2058d87174c8b7db72fb77d09a88bdf1489a364d # Parent 478d35191196b32cf4a754937a6b374712ff2d95 Recognize new eps2write device from Ghostscript (partial fix for bug #43989). * __print_parse_opts__.m: Add eps2write as a possible ghostscript device. diff -r 478d35191196 -r 2058d87174c8 scripts/plot/util/private/__print_parse_opts__.m --- a/scripts/plot/util/private/__print_parse_opts__.m Thu Jan 15 15:29:55 2015 -0500 +++ b/scripts/plot/util/private/__print_parse_opts__.m Thu Jan 15 12:38:13 2015 -0800 @@ -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"; ...