On Tuesday, April 23, 2002, at 07:41  PM, Josh Kuperman wrote:
> What is the correct way to specify the DOCTYPE. It doesn't seem to
> find the correct DTD, so teh rest of the errors are meainingless.
> I thought that have this as the first line is sufficient, but I think
> I need to put in something different.
>
> <!DOCTYPE ARTICLE PUBLIC "-//OASIS/DTD DocBook v4.1//EN">

If you are using DocBook XML, I believe you need to specify the location of 
the dtd file on your system. Also, the document type (article, book, etc.) 
should be lower case. The following should work for a docbook article.

<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
         "/sw/share/xml/dtd/docbookx/4.1.2/docbookx.dtd" >

> The second problem isn't really a problem. I get "DTDDECL catalog
> entries are not supported" errors as follows:
> openjade:/sw/share/sgml/dtd/docbook/3.0/docbook.cat:30:0:W: DTDDECL 
> catalog entries are not supported
> openjade:/sw/share/sgml/dtd/docbook/3.1/docbook.cat:22:0:W: DTDDECL 
> catalog entries are not supported
> openjade:/sw/share/sgml/dtd/docbook/4.0/docbook.cat:22:0:W: DTDDECL 
> catalog entries are not supported
> openjade:/sw/share/sgml/dtd/docbook/4.1/docbook.cat:22:0:W: DTDDECL 
> catalog entries are not supported
>
> I don't know what causes them but I really only have a desire to use
> the current docbook DTD and it seems to be checking quite a few in the
> catalog. Is there a way to eliminate the older ones, or at least get
> them out of the catalog.

Well, you could manually edit the catalog that fink installs (/sw/share/xml/
dtd/docbookx/catalog) so that it only points to the version of DocBook you 
are using. I configured the package to make them all work so that the user 
wouldn't have to do any fiddling "out of the box." These DTDDECL errors are 
not a  serious problem, by the way. But, if you want to get rid of them all 
together, you can simply comment them out of the DocBook DTDs.

good luck,

sasha


_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to