67c67
< if ="@begin docs " then	{ if \delay & match(0) then <<delay for [[@begin docs]]>>
---
> if ="@begin docs " then	{ if \delay & match(0) then <<delay for [[@begin docs]]>>  
69c69
< if ="@end docs " then  	{ if \delay & match(0) then <<delay for [[@end docs]]>>
---
> if ="@end docs " then  	{ if \delay & match(0) then <<delay for [[@end docs]]>> 
102c102
<                           writes("\\moddef{", convquotes(thischunk := tab(0)),
---
>                           writes("\\moddef{", convquotes(thischunk := tab(0)), 
115c115
< if ="@use " then 	{ writes("\\LA{}", convquotes(name := tab(0)),
---
> if ="@use " then 	{ writes("\\LA{}", convquotes(name := tab(0)), 
124c124
< [[defns]] serves only to give the proper distinction between
---
> [[defns]] serves only to give the proper distinction between 
131c131
< if ="@quote"    & pos(0)      then { quoting := 1     ; writes("{\\Tt{}")        } else
---
> if ="@quote"    & pos(0)      then { quoting := 1     ; writes("{\\tt{}")        } else
189c189
<   writes("\\nwprevnextdefs{", \pendingprev | "\\relax", "}{",
---
>   writes("\\nwprevnextdefs{", \pendingprev | "\\relax", "}{", 
214c214
< Unless it's OK to show the index (by \LA{}SI\RA), we handle nothing but
---
> Unless it's OK to show the index (by \LA{}SI\RA), we handle nothing but 
231c231
< writes("\\nwindexdefn{\\nwixident{", TeXliteral(name := tab(0)), "}}{", indexlabel(name), "}{",
---
> writes("\\nwindexdefn{", TeXliteral(name := tab(0)), "}{", indexlabel(name), "}{",
240c240
<   writes("\\protect\\nwindexuse{\\nwixident{", TeXliteral(name := tab(0)), "}}{",
---
>   writes("\\protect\\nwindexuse{", TeXliteral(name := tab(0)), "}{", 
256c256
< if ="useitem "           then <<SI>> { i := tab(0); <<write [[i]] with [[\\]]>>
---
> if ="useitem "           then <<SI>> { i := tab(0); <<write [[i]] with [[\\]]>> 
260c260
< writes("\\\\{{\\nwixident{", TeXliteral(i), "}}{", indexlabel(i), "}}")
---
> writes("\\\\{{", TeXliteral(i), "}{", indexlabel(i), "}}") 
262,264c262,264
< every i := !ulist do
<   writes("\\nwindexuse{\\nwixident{", TeXliteral(i), "}}{", indexlabel(i), "}{", \lastdefnlabel, "}")
< @
---
> every i := !ulist do 
>   writes("\\nwindexuse{", TeXliteral(i), "}{", indexlabel(i), "}{", \lastdefnlabel, "}")
> @ 
281,282c281,282
< 										 write("\\nwixlogsorted{i}{{\\nwixident{", TeXliteral(name),
< 										 "}}{", indexlabel(name), "}}%")	          } else
---
>                                          write("\\nwixlogsorted{i}{{", TeXliteral(name),
>                                          "}{", indexlabel(name), "}}%")	          } else
307,320d306
< 
< Unfortunately, the character codes for these characters are not the
< same across fonts.  While this is not a problem when everything is in
< a typewriter font, it can cause major strangenesses when another font
< is used (Icon, for example, is often typeset in a sans-serif font).
< Codes for `[[$]]', `[[&]]', `[[#]]', `[[^]]', `[[_]]', `[[~]]' and
< `[[%]]' use
< font-independent macros.  Since there is no font-independent way to
< typeset `[[\]]', `[[{]]' and `[[}]]',\footnote{Although both plain
< \TeX\ and \LaTeX\ provide `[[\{]]' and `[[\}]], plain \TeX\ only
< allows their use in math mode.}
< we generate special macros defined in \verb"noweb.sty" and
< \verb"nwmac.tex".  The default definitions are geared to typewriter
< fonts, but they can be redefined as necessary.
324,333c310,311
<   initial { codes := ["\\", "nwbackslash",
<                       "{", "nwlbrace",
< 					  "}", "nwrbrace",
< 					  "$", "$",
< 					  "&", "&",
< 					  "#", "#",
< 					  "^", "char94",
<                       "_", "_",
< 					  "%", "%",
< 					  "~", "char126"]
---
>   initial { codes := ["\\", 92, "{", 123, "}", 125, "$", 36, "&", 38, "#", 35, "^", 94, 
>                       "_", 95, "%", 37, "~", 126]
344c322
<         s ||:= "{\\" || code[c] || "}"
---
>         s ||:= "{\\char" || code[c] || "}"
352c330
< A special function is used to implement {\tt noweb}'s quoting
---
> A special function is used to implement {\tt noweb}'s quoting 
