Subject: Re: Including source files From: Norman Walsh <norm@xxxxxxxxxxxxx> Date: Wed, 14 Jan 1998 12:42:43 -0500 |
> 1) Is it possible to "include" source files from another source file > which has itself been included? Yes, you can include entities inside other entities. > 2) Can I specify places to look for source files to jade or do I need to > embed partial paths into the entity definition as I'm doing now e.g. > > <!doctype book PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [ > <!entity manpages SYSTEM "man/manpages.sgml"> > ]> There are two options, you can continue to use system identifiers with relative paths, or you can switch to public identifiers and use the catalog for indirection. In your instance: <!doctype book PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [ <!entity manpages PUBLIC "-//ThomasLockhart//TEXT Manpages//EN"> ]> In your catalog: PUBLIC "-//ThomasLockhart//TEXT Manpages//EN" "man/mangpages.sgml" The advantage of the catalog is that it allows you to change the replacement text w/o editing any (or all) of your instances. But it's not clear from your example that this would be a very big win. --norm DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Including source files, Thomas G. Lockhart | Thread | Re: Including source files, Thomas G. Lockhart |
Including source files, Thomas G. Lockhart | Date | Re: Including source files, Tony Graham |
Month |