[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Trouble with customizing stylesheets



Hi,

I'm having some trouble getting my customized stylesheets to work properly.  I
followed the directions available in the 'docbook-stylesheets' package,
starting with the examples/basic.dsl file, and running: 

jade -t rtf -d ./report.dsl#print <file>
	      ^^^^^^^^^^^^^
	            \_ my customized stylesheet

However, it merely hangs while hogging 98% of the CPU, and without presenting
any error messages.  I also attempted invoking jade with '... -d
report.dsl\#print as I saw in an earlier mail, and with no #print on the
command line.  I also attempted copying a customized stylesheet template from
the docbook-stylesheets documentation and changing that, but with the same
results.  I'm new to SGML, and fairly new to linux so I don't know if I've
invoked jade incorrectly, if my system is setup improperly or if I haven't
specified something correctly in the .dsl file.

I'm currently running a 2.1/2.2 Debian system, all of my SGML stuff is from
potato.  Any help would be greatly appreciated!

MBG

-- 
"Infinite: Bigger than the biggest thing ever and then some.  Much bigger than
that in fact, really amazingly immense, a totally stunning size, real "wow,
that's big," time.  Infinity is just so big that, by comparison, bigness
itself looks really titchy.  Gigantic multiplied by colossal multiplied by
staggeringly huge is the sort of concept we're trying to get across here."
	-Douglas Adams 'The Restaurant at the End of the Universe'
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
 <!-- HTML by default -->
 <!ENTITY % print "IGNORE">
 <![ %print; [
  <!ENTITY % html "IGNORE">
  <!ENTITY docbook
           PUBLIC "-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN"
           CDATA DSSSL>
 ]]>
 <!ENTITY % html "INCLUDE">
 <![ %html; [
  <!ENTITY docbook 
           PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN"
           CDATA DSSSL>
 ]]>
]>

<style-sheet>
<style-specification use="docbook">
<style-specification-body>

;; common customization can go here

(define biblio-number
  ;; Enumerate bibliography entries
  #t)

(define %section-autolabel%
  ;; Are sections enumerated?
  #t)

<![ %print; [

;; customize the print stylesheet here

(define %paper-type%
  ;; Name of paper type
  ;; "A4"
  "USletter")

]]>

<![ %html; [

;; customize the html stylesheet here

]]>

</style-specification-body>
</style-specification>

<external-specification id="docbook" document="docbook">

</style-sheet>

Reply to: