In v. 2002-1, the style files graphics and graphicx are identical. However, the format of the argument lists for includgraphics differs between the two packages. This leads to problems when converting complex graphicx includegraphics. I've attached a revised version of graphix.perl which processes the arguments more appropriately.
Thanks, Diab -- Diab Jerius Harvard-Smithsonian Center for Astrophysics 60 Garden St, MS 70, Cambridge MA 02138 USA [EMAIL PROTECTED] vox: 617 496 7575 fax: 617 495 7356
# graphics.perl # by Bruce Miller <[EMAIL PROTECTED]> # Support of the graphics.sty standard LaTeX2e package # with `standard argument format' # See graphics-support.perl # ====================================================================== do_require_package('graphics-support'); # Package Options sub do_graphics_dvips {} sub do_graphics_draft {} # What'd be the point? sub do_graphics_final {} sub do_graphics_hiresbb {} sub do_graphics_hiderotate { map($GRAPHICS_OPTHIDE{$_}=1, @GRAPHICS_ROTATEOPTS); } sub do_graphics_hidescale { map($GRAPHICS_OPTHIDE{$_}=1, @GRAPHICS_SCALEEOPTS); } # ====================================================================== sub do_cmd_includegraphics { local($_)=@_; my $opt=x_next_optarg(); my $file = x_next_arg(); do_includegraphics($file, $opt, "\\includegraphics".($opt && "[$opt]")."\{$file\}"); } sub do_cmd_includegraphicsstar { local($_)=@_; my $opt=x_next_optarg(); my $file = x_next_arg(); do_includegraphics($file, $opt, "\\includegraphics*".($opt && "[$opt]")."\{$file\}"); } # ====================================================================== 1;