Re: writing a DTD with TDTD and using it with psgml
Steinar Bang <[email protected]> Sun, 08 Feb 2004 12:52:27 +0100
| Newsgroups | gmane.emacs.psgml.user |
|---|---|
| Organization | Probably a good idea |
| Message-ID | <[email protected]> |
>>>>> Jochen Hayek <[email protected]>: > I am not successful at writing the correct DOCTYPE line for that new file, > at least not with a "... system ..." id. Why not just use <!DOCTYPE book SYSTEM "tutorial.dtd"> while you're doing your experimentation? Ie. referring to a DTD in the same directory as the document? > (And just for the experiments I don't want to extend the catalogue.) You don't have to extend the catalog. One thing I do is to have "catalog", and "CATALOG" in my SGML_CATALOG_FILES variable, eg. export SGML_CATALOG_FILES="catalog:CATALOG:/etc/sgml/catalog" This will make psgml pick up files called "catalog" or "CATALOG" in the document directory and use what it finds there. What I do a lot for my own DTDs, is to create a CATALOG in the same directory as the DTDs, mapping from PUBLIC identifiers to files, and then I put a "catalog" file in the same directory as the documents using the DTD, containing just the single entry: CATALOG "../../path/to/catalog" That gives me a single point of change for the mapping to the DTDs. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn