Mercurial > hg > octave-nkf
comparison 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 |
comparison
equal
deleted
inserted
replaced
19777:478d35191196 | 19778:2058d87174c8 |
---|---|
223 "pslatexstandalone", "pdflatexstandalone", ... | 223 "pslatexstandalone", "pdflatexstandalone", ... |
224 "pstex", "tiff", "tiffn" "tikz", "pcxmono", ... | 224 "pstex", "tiff", "tiffn" "tikz", "pcxmono", ... |
225 "pcx24b", "pcx256", "pcx16", "pgm", "pgmraw", ... | 225 "pcx24b", "pcx256", "pcx16", "pgm", "pgmraw", ... |
226 "ppm", "ppmraw", "pdflatex", "texdraw", ... | 226 "ppm", "ppmraw", "pdflatex", "texdraw", ... |
227 "pdfcairo", "pngcairo", "pstricks", ... | 227 "pdfcairo", "pngcairo", "pstricks", ... |
228 "epswrite", "pswrite", "ps2write", "pdfwrite"}; | 228 "epswrite", "eps2write", "pswrite", "ps2write", "pdfwrite"}; |
229 | 229 |
230 suffixes = {"ai", "cdr", "fig", "png", "jpg", ... | 230 suffixes = {"ai", "cdr", "fig", "png", "jpg", ... |
231 "gif", "pbm", "pbm", "dxf", "mf", ... | 231 "gif", "pbm", "pbm", "dxf", "mf", ... |
232 "svg", "hpgl", "ps", "ps", "ps", ... | 232 "svg", "hpgl", "ps", "ps", "ps", ... |
233 "ps", "eps", "eps", "eps", "eps", ... | 233 "ps", "eps", "eps", "eps", "eps", ... |
235 "tex", "tex", ... | 235 "tex", "tex", ... |
236 "ps", "tiff", "tiff", "tikz", "pcx", ... | 236 "ps", "tiff", "tiff", "tikz", "pcx", ... |
237 "pcx", "pcx", "pcx", "pgm", "pgm", ... | 237 "pcx", "pcx", "pcx", "pgm", "pgm", ... |
238 "ppm", "ppm", "tex", "tex", ... | 238 "ppm", "ppm", "tex", "tex", ... |
239 "pdf", "png", "tex", ... | 239 "pdf", "png", "tex", ... |
240 "eps", "ps", "ps", "pdf"}; | 240 "eps", "eps", "ps", "ps", "pdf"}; |
241 | 241 |
242 if (isfigure (arg_st.figure)) | 242 if (isfigure (arg_st.figure)) |
243 __graphics_toolkit__ = get (arg_st.figure, "__graphics_toolkit__"); | 243 __graphics_toolkit__ = get (arg_st.figure, "__graphics_toolkit__"); |
244 else | 244 else |
245 ## Allow tests when no figures are present. | 245 ## Allow tests when no figures are present. |
614 endfunction | 614 endfunction |
615 | 615 |
616 function device_list = gs_device_list (); | 616 function device_list = gs_device_list (); |
617 ## Graphics formats/languages, not printers. | 617 ## Graphics formats/languages, not printers. |
618 device_list = {"bmp16"; "bmp16m"; "bmp256"; "bmp32b"; "bmpgray"; ... | 618 device_list = {"bmp16"; "bmp16m"; "bmp256"; "bmp32b"; "bmpgray"; ... |
619 "epswrite"; "jpeg"; "jpegcymk"; "jpeggray"; "pbm"; ... | 619 "epswrite"; "eps2write"; "jpeg"; "jpegcymk"; "jpeggray"; "pbm"; ... |
620 "pbmraw"; "pcx16"; "pcx24b"; "pcx256"; "pcx2up"; ... | 620 "pbmraw"; "pcx16"; "pcx24b"; "pcx256"; "pcx2up"; ... |
621 "pcxcmyk"; "pcxgray"; "pcxmono"; "pdfwrite"; "pgm"; ... | 621 "pcxcmyk"; "pcxgray"; "pcxmono"; "pdfwrite"; "pgm"; ... |
622 "pgmraw"; "pgnm"; "pgnmraw"; "png16"; "png16m"; ... | 622 "pgmraw"; "pgnm"; "pgnmraw"; "png16"; "png16m"; ... |
623 "png256"; "png48"; "pngalpha"; "pnggray"; "pngmono"; ... | 623 "png256"; "png48"; "pngalpha"; "pnggray"; "pngmono"; ... |
624 "pnm"; "pnmraw"; "ppm"; "ppmraw"; "pswrite"; ... | 624 "pnm"; "pnmraw"; "ppm"; "ppmraw"; "pswrite"; ... |