Re: cvs: /phpdoc howto.sgml.in manual.sgml.in /phpdoc howto.sgml manual.sgml /phpdoc configure.in
| From: | Lars Torben Wilson | Date: | Thu, 21 Oct 1999 21:22:19 +0000 |
| Subject: | Re: cvs: /phpdoc howto.sgml.in manual.sgml.in /phpdoc howto.sgml manual.sgml /phpdoc configure.in | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-11818@lists.php.net to get a copy of this message | ||
Stig Bakken writes:
> On Thu, 21 Oct 1999, Torben Wilson wrote:
> | Use configure to check for the system's DocBook DTD. This should allow
> | folks with a stock DocBook 3.1 to compile the manual without having to
> | edit phpdoc files (to set the doctype) and DocBook files (to allow
> | tag minimilization).
>
> The Right Way (tm) to fix this is to have configure generate its own
> catalog file with the necessary entries, and refer to it with the -c
> option to nsgmls/jade.
>
> - Stig
OK, cool. Is there anyplace you know of where I can find a suitable
algorithm for locating these entries on any given system? The one I'm
using at present simply searches through $SGML_CATALOG_FILES until it
finds the first public identifier for docbook.dtd; I've been
suspecting that this solution was sub-optimal. :)
Should it just look though a list of directories, like the docbook.dsl
check? As far as I can tell, directories in various SGML setups are
not particularly standardized. SGMLtools seems to have a pretty good
thing going on with its catalog.d, but I don't think everyone has
that.
Torben