Hello,

I'm just starting to use latex2html, my main interest being in converting
literate (noweb) programs to HTML.  The top-level problem I'm having is that
latex2html doesn't understand noweb's <chunk name> construct.  The < and > show
up as (literally) $<$ and $>$ in Netscape.

I must be doing something obviously wrong, but I don't know what it is.

Here is a .tex file made by 
                noweave -latex+html -index  <file>
that exhibits the problem.  I run
                latex2html -split 0
on it.


                                Kostas Oikonomou


-------------------------------------------------------------------
\begin{rawhtml}<a name="NWD1">% -*- lang: icon -*-</a>\end{rawhtml}

\documentclass[11pt]{article}
\usepackage {fullpage,noweb}
\pagestyle {noweb}

\begin{document}

\begin{rawhtml}<a name="NWD2">Here is the outline of the whole 
algorithm.</a>\end{rawhtml}
\begin{rawhtml}<pre><a name="NWord8-*-1" href="#NWD2"><dfn>&lt;*&gt;=</dfn></a>
link options, ximage
$define ED &quot;-2 &quot; # Code for intentionally excluded data
$define n_96 96  # No kidding. Number of 15 min.\ intervals in a day.
$define max_delta_i_min 4
# Same for final \texttt{inum}s.
$define max_delta_i_max 4
<a name="NWord8-*-1-u1" href="#nw@notdef"><i>&lt;Structure of the input&gt;</i></a>
global T, names
<a name="NWord8-*-1-u2" href="#nw@notdef"><i>&lt;Utilities&gt;</i></a>
procedure main(args)
  <a name="NWord8-*-1-u3" href="#nw@notdef"><i>&lt;Local variables&gt;</i></a>
  local opt, debug, fwarn
  opt := options(args, &quot;i:o:n:d+&quot;)
  debug := \opt[&quot;d&quot;] | 0
  <a name="NWord8-*-1-u4" href="#nw@notdef"><i>&lt;Read in the list of parameter 
names&gt;</i></a>
  <a name="NWord8-*-1-u5" href="#nw@notdef"><i>&lt;Put the input in a table, and sort 
the table&gt;</i></a>
  <a name="NWord8-*-1-u6" href="#nw@notdef"><i>&lt;Select 
<code>i_min</code>&gt;</i></a>
  <a name="NWord8-*-1-u7" href="#nw@notdef"><i>&lt;Fix gaps and overlaps&gt;</i></a>
  <a name="NWord8-*-1-u8" href="#nw@notdef"><i>&lt;Straighten the left end&gt;</i></a>
  <a name="NWord8-*-1-u9" href="#nw@notdef"><i>&lt;Straighten the right end&gt;</i></a>
  <a name="NWord8-*-1-u10" href="#nw@notdef"><i>&lt;Select 
<code>i_max</code>&gt;</i></a>
  <a name="NWord8-*-1-u11" href="#nw@notdef"><i>&lt;Write the output&gt;</i></a>
  <a name="NWord8-*-1-u12" href="#nw@notdef"><i>&lt;Were there warnings?&gt;</i></a>
end
</pre>\end{rawhtml}\par

\begin{rawhtml}<a name="NWD3">\end{document}</a>\end{rawhtml}


\begin{rawhtml}<ul>
<li><a href="#NWD2"><i>&lt;*&gt;</i></a>: <a href="#NWD2">D1</a>
<li><a href="#nw@notdef"><i>&lt;Fix gaps and overlaps&gt;</i></a>: <a 
href="#NWD2">U1</a>
<li><a href="#nw@notdef"><i>&lt;Local variables&gt;</i></a>: <a href="#NWD2">U1</a>
<li><a href="#nw@notdef"><i>&lt;Put the input in a table, and sort the 
table&gt;</i></a>: <a href="#NWD2">U1</a>
<li><a href="#nw@notdef"><i>&lt;Read in the list of parameter names&gt;</i></a>: <a 
href="#NWD2">U1</a>
<li><a href="#nw@notdef"><i>&lt;Select <code>i_max</code>&gt;</i></a>: <a 
href="#NWD2">U1</a>
<li><a href="#nw@notdef"><i>&lt;Select <code>i_min</code>&gt;</i></a>: <a 
href="#NWD2">U1</a>
<li><a href="#nw@notdef"><i>&lt;Straighten the left end&gt;</i></a>: <a 
href="#NWD2">U1</a>
<li><a href="#nw@notdef"><i>&lt;Straighten the right end&gt;</i></a>: <a 
href="#NWD2">U1</a>
<li><a href="#nw@notdef"><i>&lt;Structure of the input&gt;</i></a>: <a 
href="#NWD2">U1</a>
<li><a href="#nw@notdef"><i>&lt;Utilities&gt;</i></a>: <a href="#NWD2">U1</a>
<li><a href="#nw@notdef"><i>&lt;Were there warnings?&gt;</i></a>: <a 
href="#NWD2">U1</a>
<li><a href="#nw@notdef"><i>&lt;Write the output&gt;</i></a>: <a href="#NWD2">U1</a>
</ul>\end{rawhtml}
\begin{rawhtml}<ul>
</ul>\end{rawhtml}

-------------------------------------------------------------------

Reply via email to