Subject: Re: Including source files From: Norman Walsh <norm@xxxxxxxxxxxxx> Date: Thu, 15 Jan 1998 11:49:54 -0500 |
> Yes, but of course not the answer I was hoping for. I was thinking of > isolating parts of the docs into subdirectories and then, when someone adds a > new entity (file) to that area, only having to update references to it in > other files in that same directory. These other files would be included from > multiple top-level files since we might be packaging the docs in more than > one way. Does this strategy help: driver.sgm: <!doctype book public "..." [ <!entity main system "main.sgm"> <!entity % part1files system "part1/driver.ent"> %part1files; ]> <book> &main; </book> main.sgm: &part1; part1/driver.ent: <!entity part1 system "part1.sgm"> <!entity p1sub1 system "sub1.sgm"> <!entity p1sub2 system "sub2.sgm"> part1/part1.sgm: <part><title>...</title> &p1sub1; &p1sub2; </part> part1/sub1.sgm: <chapter>...</chapter> part1/sub2.sgm: <chapter>...</chapter> Now if you add a new part to part1, you only have to update the part1/driver.ent file and the part1.sgm file that references it. --norm DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Including source files, Thomas G. Lockhart | Thread | Re: Including source files, Thomas G. Lockhart |
Re: Including source files, Thomas G. Lockhart | Date | Re: Including source files, Thomas G. Lockhart |
Month |