This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Caching the DocBook dtd when using PSGML


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]