[18731] in Athena Bugs
Re: sgi 8.4.17: latex2html
daemon@ATHENA.MIT.EDU (t. belton)
Wed Jan 31 16:07:26 2001
Date: Wed, 31 Jan 2001 16:07:03 -0500 (EST)
From: "t. belton" <tbelton@MIT.EDU>
To: Emilio C Silva <emilio@mit.edu>
cc: <bugs@mit.edu>
In-Reply-To: <200101242035.PAA62712@m1-142-10.mit.edu>
Message-ID: <Pine.GSO.4.30L.0101311606460.13463-100000@iphigenia.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
This has (finally) been fixed and will propagate tomorrow.
On Wed, 24 Jan 2001, Emilio C Silva wrote:
> System name: m1-142-10.mit.edu
> Type and version: IP22 8.4.17
> Display type: NG1
>
> Shell: /bin/athena/tcsh
> Window manager: 4Dwm
>
> What were you trying to do?
> Converting a LaTeX document to HTML using latex2html from infoagents locker.
> I have tried Solaris, Linux and Irix. All have the same problem.
>
> What's wrong:
> The references won't appear at all in the "Bibliography" section, and
> the reference markers won't be replaced by numbers.
>
> What should have happened:
> When I use a modified version of latex2html, I get the desired result. I
> applied this patch:
>
> 10817c10817
> < return(@_) if (making_title);
> ---
> > # return(@_) if (making_title);
>
> to latex2html and it works perfectly. Since "making_title" is not a valid
> variable name in Perl (does not start with "$", "@" or "%") and is not
> referenced elsewhere, I assumed this line could be safely removed.
>
> Please describe any relevant documentation references:
> -------- Test file ----------
> \documentclass{article}
>
> \begin{document}
> Test\cite{Test2}.
>
> \begin{thebibliography}{00}
> \bibitem{Test2} This is a test.
> \end{thebibliography}
> \end{document}
> -------- End of Test File ---------
> -------- Relevant output of latex2html -split 0 -no_navigation -info 0
> <BODY >
> Test[#!Test2!#].
>
> <P>
> 2
> <BR><HR>
> -------- End of output
> -------- Correct output from patched/latex2html -split 0 -no_navigation -info 0
> <BODY >
> Test[<A
> HREF="sample.html#Test2">1</A>].
>
> <P>
> <H2><A NAME="SECTIONREF">Bibliography</A>
> </H2>
> <DL COMPACT><DD><P></P><DT><A NAME="Test2"><STRONG>1</STRONG></A>
> <DD> This is a test.
> </DL><BR><HR>
> -------- End of correct output.
>