[7034] in www-talk@info.cern.ch

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

Re: HTML-PS converter.

daemon@ATHENA.MIT.EDU (Joe English)
Fri Dec 16 16:29:50 1994

Date: Fri, 16 Dec 1994 22:08:53 +0100
Errors-To: listmaster@www0.cern.ch
Reply-To: jenglish@crl.com
From: Joe English <jenglish@crl.com>
To: Multiple recipients of list <www-talk@www0.cern.ch>


fepotts@fepco.com (Fred E Potts) wrote:

> This is what sgmls set at recommended (strict) has to say about 
> http://www.phone.net/~mwm/browserbuster.html :
> 
> sgmls: Error at -, line 1 in declaration parameter 4:
>        Could not find external document type "HTML"

Stop right there :-)

If sgmls can't find the DTD, don't expect much else to work.

> [ 66 lines of errors deleted ]
>
> What am I missing here?  Certainly a return like the above would cause
> me to rework the document.

You need to set up a catalog file (or if you've got
a pre-1.1.91 version of sgmls, set $SGML_PATH (shudder)
correctly).

You also need to supply the SGML declaration for HTML
on the command line.  Get html.decl from 

    <URL:http://www.hal.com/~connolly/html-spec/html-pubtext.html>
    (a catalog file and the HTML DTD(s) are there too)

and run

	sgmls html.decl browserbuster.html

It parses fine.


--Joe English

  jenglish@crl.com

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