Re: catalog in sgml-validate-command?

Steinar Bang <[email protected]> Tue, 04 Nov 2003 08:01:17 +0100
Newsgroups gmane.emacs.psgml.user
Organization Probably a good idea
Message-ID <[email protected]>
>>>>> Lennart Staflin <[email protected]>:

>> (setq sgml-catalog-files '("/var/lib/sgml/CATALOG.iso_ent"
>> 			      "/var/lib/sgml/CATALOG.html"
>> 			      "/var/lib/sgml/CATALOG.html-3.2"
>> 			      "/var/lib/sgml/CATALOG.html-4.0"
>> 			      "/var/lib/sgml/CATALOG.tei-3"
>> 			      "/var/lib/sgml/CATALOG.tei-3.system"
>> 			      "/var/lib/sgml/CATALOG.teixlite"))

> Have you considered creating a master catalog referring to the other
> catalogs. The you would only need to list the master catalog.

Newer Linux systems often (at least RedHat, and debian) have a master
catalog at /etc/sgml/catalog, from which popular DTDs such as HTML,
TEI, Apache Forrest, and DocBook, can be found.

A master catalog file, referring to the above catalog files, would
look like this:

CATALOG "/var/lib/sgml/CATALOG.iso_ent"
CATALOG "/var/lib/sgml/CATALOG.html"
CATALOG "/var/lib/sgml/CATALOG.html-3.2"
CATALOG "/var/lib/sgml/CATALOG.html-4.0"
CATALOG "/var/lib/sgml/CATALOG.tei-3"
CATALOG "/var/lib/sgml/CATALOG.tei-3.system"
CATALOG "/var/lib/sgml/CATALOG.teixlite"



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/