[l2h] cannot request no stylesheet

Stephen Gildea gildea@stop.mail-abuse.org
Mon, 08 Apr 2002 09:59:47 EDT


Specifying -style "" on the command line (that is, an empty style)
fails turn off using a style sheet.  This simple fix to the test in
latex2html 2002 (1.63) corrects that:


--- latex2html-2002/latex2html.pin	Sun Mar 31 00:15:01 2002
+++ latex2html.pin	Sun Apr  7 16:35:23 2002
@@ -7057,7 +7057,7 @@ sub make_head_and_body {
     }
     $DTDcomment .= ($PUBLIC_REF ? "\n  \"".$PUBLIC_REF.'"' : '' ) . '>'."\n";
 
-    $STYLESHEET = $FILE.".css" unless $STYLESHEET;
+    $STYLESHEET = $FILE.".css" unless defined($STYLESHEET);
 
     my ($this_charset) = $charset;
     if ($USE_UTF) { $charset = $utf8_str; $NO_UTF = ''; }