Avinash Chopde wrote:
> 
..
> Since I've your attention, you may know about one last problem
> I have: I am trying to use "htmlonly" so that my longtable
> is broken only for html output and it is handled normally for latex only.
> 
> But, it looks like the htmlonly enviroment gets confused on
> some characters - I'm not exactly sure, but & or } or \ may be
> suspect, and in the following code, latex fails on this:
[.. code deleted...]

After some more investigation, I figured out the problem!

I noticed html.sty in the latex2html distribution uses this
version of comment.sty:
% Comment.sty   version 2.0, 19 June 1992

But, there is a later one available in my teTeX package, dated:
% Comment.sty   version 3.0, 3 September 1992

So, I deleted the older one from html.sty, added the new one.
Still things did not work, then I noticed that html.sty
redefines \excludecomment, using this code:
% Alternative code by Robin Fairbairns, 22 September 1997
% revised to cope with % and unnested { }, by Ross Moore, 4 July 1998

I deleted that code, and now everything works!!!!

So, for the next release of latex2html, I recommend using the
latest version of comment.sty, if at all possible...

Thanks!


-- 
Avinash Chopde  
e-mail: [EMAIL PROTECTED]
home page: http://www.aczone.com/

Reply via email to