This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Caching the DocBook dtd when using PSGML
- From: Jirka Kosek <jirka at kosek dot cz>
- To: Kenneth Johansson <ke-joh at sectra dot se>
- Cc: DOCBOOK-APPS <docbook-apps at lists dot oasis-open dot org>
- Date: Fri, 17 Jan 2003 15:38:34 +0100
- Subject: Re: DOCBOOK-APPS: Caching the DocBook dtd when using PSGML
- References: <FPENIAKCJPMMKJHEOCMHGELMCBAA.ke-joh@sectra.se>
Kenneth Johansson wrote:
I've read about caching precompiled dtd subsets in the documentation but I don't understand how it's supposed to work. The documentation is somewhat vague when it comes to setting up your own ecat files. An example would be nice.
Put following into your .emacs:
(setq sgml-ecat-files
(list
(expand-file-name "/some/path/ecatalog")
)
)
(setq sgml-recompile-out-of-date-cdtd "ask")
And then setup catalog for precompiled DTD /some/path/ecatalog:
PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "docbookx.ced"
This will instruct Emacs to store precompiled DTD for DocBook
automatically to docbookx.ced file.
Jirka
--
-----------------------------------------------------------------
Jirka Kosek
e-mail: jirka@kosek.cz
http://www.kosek.cz