[18683] in Athena Bugs

home help back first fref pref prev next nref lref last post

sgi 8.4.17: latex2html

daemon@ATHENA.MIT.EDU (Emilio C Silva)
Wed Jan 24 15:35:36 2001

Message-Id: <200101242035.PAA62712@m1-142-10.mit.edu>
To: bugs@MIT.EDU
Date: Wed, 24 Jan 2001 15:35:25 -0500
From: Emilio C Silva <emilio@MIT.EDU>

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.

home help back first fref pref prev next nref lref last post