Subject: Re: Problem building pkgsrc guide
To: Hiroki Sato <hrs@NetBSD.org>
From: Thomas Klausner <wiz@NetBSD.org>
List: netbsd-docs
Date: 04/28/2005 16:53:08
On Sun, Apr 24, 2005 at 01:00:49AM +0900, Hiroki Sato wrote:
>  Well, you should remove /usr/pkg/share/xml/catalog because it is
>  an XML catalog, not an SGML catalog.  Jade/OpenJade and OpenSP use
>  SGML catalog via SGML_CATALOG_FILES, and xsltproc and other XML
>  toolchains use XML catalog via XML_CATALOG_FILES.  These two catalog
>  files are not compatible with each other, so if an XML catalog is
>  specified in SGML_CATALOG_FILES, an error occurs.

Ok, thank you for the explanation.
>  In most cases,
>  you do not need to set {SGML,XML}_CATALOG_FILES manually.

I was trying (so far without success) to use the psgml-mode in emacs
for editing NetBSD XML files, and setting the variables was one
of the steps I found somewhere.

Any hints on how to make this work are very welcome.

>  And just in case, I committed a workaround for the htdocs/ tree.

Very good, thanks again.
 Thomas