[l2h] Re: General HTML generation questions

Bruce Miller bruce.miller@nist.gov
Wed, 05 Jun 2002 12:10:08 -0400


This is a multi-part message in MIME format.
--------------090706020209060609030308
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

jo_latex2html@schlossers.org 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


--------------090706020209060609030308
Content-Type: text/plain;
 name="graphicx.perl"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="graphicx.perl"

# graphicx.perl
#    by Bruce Miller <bruce.miller@nist.gov>
# 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;


--------------090706020209060609030308--