On Sat, Oct 09, 1999 at 04:59:30PM -0600, Andy Bradford wrote:
> I am working on a small technical document in LyX and have created a 
> footnote that is a URL to a website.  It exports just fine into sgml but 
> when I try to run sgml2html it chokes on the URL leaving a broken link in 
> the document.  Here is the sgml of the relevant section.
> <footnote><url 
>url="http://work.ucsd.edu:5141/cgi-bin/http_webster?isindex=iterate&method=exact" 
>name="Online Definition"> </footnote>

  Please change that by hand and replace the first & with &amp; and tell me if
that works...

> What seems to be happening is that sgml2html doesn't like the &method in 
> the reference and thus chops it and gives this error:
> /usr/bin/nsgmls:<OSFD>0:122:73:E: general entity "method" not defined and no default 
>entity
> I realize this doesn't have much to do with LyX but I figure there must be 
> someone on this list that knows more about sgml and sgml2html than I do. :)

  The problem is that &method is viewed as an entity. I don't have the
linuxdoc dtd at hand so I can't tell you how to insert the & in the url.

> Thanks in advance.
> Andy
> -- 
>         +====== Andy ====== TiK: garbaglio ======+
>         |    Linux is about freedom of choice    |
>         +== http://www.xmission.com/~bradipo/ ===+
> 

-- 
José

Reply via email to