Re: (dsssl) Include some defines?

Subject: Re: (dsssl) Include some defines?
From: renez@xxxxxxxxxxxxxxxxxx
Date: Wed, 19 Mar 2003 08:26:25 +0100
On Tue, Mar 18, 2003 at 09:36:49PM -0600, Tim McDaniel wrote:
> In my Jade .dsl file, I hve several style-specification blocks.  I am
> developing more defines that are used in different blocks.  I would
> like to cut down on the maintenance effort by having one copy of each
> define instead of several.  I could do a simple include mechanism,
> even in command.com in Windows:
> 
>     type rtf1hdr >  all.dsl
>     type common  >> all.dsl
>     type rtf1    >> all.dsl
>     type rtf2hdr >> all.dsl
>     type common  >> all.dsl
>     type rtf2    >> all.dsl
>     type htmlhdr >> all.dsl
>     type common  >> all.dsl
>     type html    >> all.dsl
> 
> This would be inelegant, though.  Is there a way to do include files
> in DSSSL using Jade?  Ideally, it would be in one file, like a
>     <style-specification ID="common">
>     ...
>     </style-specification>
> 
>     <style-specification ID="printloar">
>     <include file="#common">
>     ...
>     </style-specification>
> 
>     <style-specification ID="HTML">
>     <include file="#common">
>     ...
>     </style-specification>
> 
> But a separate file would be OK.
> 
> -- 
> Tim McDaniel (home); Reply-To: tmcd@xxxxxxxxx; work is tmcd@xxxxxxxxxxx
> 
>  DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist

You can give them on jade comand line 
jade -V rtf1hdr -V common -V rtf1 -V rtf2hdr -V common -V rtf2 -V htmlhdr -V common -V html
But probably not on windows

 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist

Current Thread