[EMAIL PROTECTED] wrote:
> Only imported graphics are affected, correct. Leaving away -E makes no
> difference. I played around a little more and found the following, with
> myfig.eps being a EPS file.
> \documentclass{article}
> \usepackage{graphicx}
> \usepackage{calc}
> \begin{document}
> $\rightarrow$
>
> \includegraphics[width=\linewidth,keepaspectratio=true]{myfig}
> \end{document}
This one's due to a mixup in the repository that is copying
graphics.perl on top of graphicx.perl, the correct one is
attached. [I don't see any effect from calc when the correct
graphicx is in place].
OBTW: the link to the cvs repository on http://www.latex2html.org/
is broken.
>
> Thanks a lot for any advice
> Joachim
Keine problem. Shouldn't that address be .alt instead of .org??
bruce
# graphicx.perl
# by Bruce Miller <[EMAIL PROTECTED]>
# Support of the graphicx.sty standard LaTeX2e package
# with `extended argument format'
# See graphics-support.perl
# ======================================================================
do_require_package('graphics-support');
# Package Options
sub do_graphicx_dvips {}
sub do_graphicx_draft {}
sub do_graphicx_final {}
sub do_graphicx_hiresbb {}
sub do_graphicx_hiderotate {
map($GRAPHICS_OPTHIDE{$_}=1, @GRAPHICS_ROTATEOPTS); }
sub do_graphicx_hidescale {
map($GRAPHICS_OPTHIDE{$_}=1, @GRAPHICS_SCALEEOPTS); }
# ======================================================================
sub do_cmd_includegraphics {
local($_)=@_;
my $opt=x_next_optarg();
my $op2=x_next_optarg();
my $file = x_next_arg();
if($op2){ # 2 optional args? Use `standard' arg format
$opt = "bb=$opt,$op2"; $opt =~ s/,/ /g; }
do_includegraphics($file,$opt,
"\\includegraphics".($opt && "[$opt]")."\{$file\}"); }
sub do_cmd_includegraphicsstar {
local($_)=@_;
my $opt=x_next_optarg();
my $op2=x_next_optarg();
my $file = x_next_arg();
if($op2){ # 2 optional args? Use `standard' arg format
$opt = "bb=$opt,$op2"; $opt =~ s/,/ /g; }
$opt .= ", " if $opt;
$opt .= "clip";
do_includegraphics($file,"$opt",
"\\includegraphics".($opt && "[$opt]")."\{$file\}"); }
# ======================================================================
1;