Re: PUBLIC identifiers, catalogs, ...
Jochen Hayek <[email protected]> Tue, 10 Feb 2004 15:57:45 +0100
| Newsgroups | gmane.emacs.psgml.user |
|---|---|
| Organization | Hayek@Berlin |
| Message-ID | <[email protected]> |
>>>>> "SB" == Steinar Bang writes: >>>>> Jochen Hayek <[email protected]>: JH> I am not successful at writing the correct DOCTYPE line for that new file, JH> at least not with a "... system ..." id. SB> Why not just use SB> <!DOCTYPE book SYSTEM "tutorial.dtd"> SB> while you're doing your experimentation? SB> Ie. referring to a DTD in the same directory as the document? JH> (And just for the experiments I don't want to extend the catalogue.) SB> You don't have to extend the catalog. One thing I do is to have SB> "catalog", and "CATALOG" in my SGML_CATALOG_FILES variable, eg. SB> export SGML_CATALOG_FILES="catalog:CATALOG:/etc/sgml/catalog" SB> This will make psgml pick up files called "catalog" or "CATALOG" in SB> the document directory and use what it finds there. SB> What I do a lot for my own DTDs, is to create a CATALOG in the same SB> directory as the DTDs, mapping from PUBLIC identifiers to files, and SB> then I put a "catalog" file in the same directory as the documents SB> using the DTD, containing just the single entry: SB> CATALOG "../../path/to/catalog" The PUBLIC identifiers are a little magic for me, so how would you complete this line then? <!DOCTYPE book PUBLIC "..."> SB> [...] ------------------------------------------------------- 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