Re: Custom Stylesheets

Subject: Re: Custom Stylesheets
From: Brandon Ibach <bibach@xxxxxxxxxxxxxx>
Date: Sun, 31 Oct 1999 01:19:59 -0500
Quoting Bek Oberin <gossamer@xxxxxxxxxxxxxx>:
> 
> When I run jade like this:
> 
> jade  -d /usr/lib/dsssl/stylesheets/docbook/stylesheet/dsssl/docbook/nwalsh/html/docbook.dsl -t sgml ../perlintro.sgml
> 
> ... everything works fine.  But I'm wanting to have a custom
> .dsl stylesheet.  If I point jade at basic.dsl that's given with
> the dsssl distribution thus:
> 
> jade  -d /usr/doc/docbook-stylesheets/examples/basic.dsl -t sgml ../perlintro.sgml
> 
> ... or to any other custom stylesheet.  I seem to get the whole document
> catted to stdout with weird formatting.  There are no errors in the
> output anywhere.
> 
> Anybody know what's happening here?  It seems to me probably something
> about things not properly finding the default stylesheet and including
> it in those derivative sheets.  
> 
   As for the document appearing on stdout, that's the usual for the
SGML backend, unless (as in the case of Norm's DocBook stylesheets)
the output is explicitly directed to a file.
   I'm not sure what the nature of the "basic.dsl" file that you're
using is, but I'd guess that it's not derived from Norm's sheets.
Also, Jade doesn't have a concept of a "default" stylesheet.
   If you want to customize Norm's HTML stylesheet, look at
"notoc.dsl" or "plain.dsl" in the print stylesheet directory for
examples.  You just need to change these to point to the HTML
stylesheet, instead, then go about customizing.

-Brandon :)


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


Current Thread