diff scripts/plot/__print_parse_opts__.m @ 10861:2f70e7098cbe

__print_parse_opts__.m: .
author Ben Abbott <bpabbott@mac.com>
date Thu, 05 Aug 2010 19:53:36 -0400
parents d5a7db05d591
children 337db4e1342d
line wrap: on
line diff
--- a/scripts/plot/__print_parse_opts__.m
+++ b/scripts/plot/__print_parse_opts__.m
@@ -138,7 +138,7 @@
       arg_st.orientation = get (arg_st.figure, "paperorientation");
     else
       ## Allows tests to be run without error.
-      arg_st.orientation = get (0, "portrait");
+      arg_st.orientation = "portrait";
     endif
   endif
 
@@ -208,18 +208,20 @@
               "svg", "hpgl", "ps", "ps2", "psc", ...
               "psc2", "eps", "eps2", "epsc", "epsc2", ...
               "emf", "pdf", "pslatex", "epslatex", "epslatexstandalone", ...
+              "pslatexstandalone", "pdflatexstandalone", ...
               "pstex", "tiff", "tiffn" "tikz", "pcxmono", ...
               "pcx24b", "pcx256", "pcx16", "pgm", "pgmraw", ...
-              "ppm", "ppmraw"};
+              "ppm", "ppmraw", "pdflatex"};
 
   suffixes = {"ai", "cdr", "fig", "png", "jpg", ...
               "gif", "pbm", "pbm", "dxf", "mf", ...
               "svg", "hpgl", "ps", "ps", "ps", ...
               "ps", "eps", "eps", "eps", "eps", ...
               "emf", "pdf", "tex", "tex", "tex", ...
+              "tex", "tex", ...
               "tex", "tiff", "tiff", "tikz", "pcx", ...
               "pcx", "pcx", "pcx", "pgm", "pgm", ...
-              "ppm", "ppm"};
+              "ppm", "ppm", "tex"};
 
   match = strcmpi (dev_list, arg_st.devopt);
   if (any (match))
@@ -279,7 +281,7 @@
 %! endfor
 
 %!test
-%! opts = __print_parse_opts__ ("test.pdf", "-SX640,Y480");
+%! opts = __print_parse_opts__ ("test.pdf", "-S640,480");
 %! assert (opts.canvas_size, [307.2, 230.4], 0.1);
 
 %!test