Subject: Re: (dsssl) quick howto? From: "Jeremy C. Reed" <reed@xxxxxxxxxxxxx> Date: Mon, 22 Jan 2001 12:46:50 -0800 (PST) |
On Mon, 22 Jan 2001, Jeremy C. Reed wrote: > I am looking for a quick howto on using jade, docbook and DSSSL. > > In particular I have a sgml document (The Linux System Administrators' > Guide) with fig images that I want to edit and regenerate to postscript > for printing. > > It starts with: > <!doctype book PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [ > ]> > > Basically the makefile does: > > jade -t tex -d /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/docbook.dsl temp.sgml > jadetex temp.tex > jadetex temp.tex > jadetex temp.tex > dvips -o temp.ps temp.dvi > > (I am not sure why the jadetex is done three times.) > > Does anyone know where I can get this docbook.dsl? I am answering this question. I found a docbook.dsl in a NetBSD package called dsssl-docbook-modular (DSSSL stylesheets for the DocBook DTD by Norman Walsh). But when I use them: # DBPATH=/usr/pkg/share/sgml/docbook/dsssl/modular jade -t tex -d $DBPATH/print/docbook.dsl ~/doc/sysadmin-guide-0.6.2/sag.sgml I received various errors: jade:/home/reed/doc/sysaadmin-guide-0.6.2/sag.sgml:1:59:W: cannot generate system identifier for public text "-//Davenport//DTD DocBook V3.0//EN" jade:/home/reed/doc/sysadmin-guide-0.6.2/sag.sgml:2:0:E: reference to entity "BOOK" for which no system identifier could be generated jade:/home/reed/doc/sysadmin-guide-0.6.2/sag.sgml:1:0: entity was defined here jade:/home/reed/doc/sysadmin-guide-0.6.2/sag.sgml:2:0:E: DTD did not contain element declaration for document type name jade:/home/reed/doc/sysadmin-guide-0.6.2/sag.sgml:4:5:E: element "BOOK" undefined ... many more element undefined's ... jade:/home/reed/doc/sysadmin-guide-0.6.2/sag.sgml:324:15:E: there is no attribute "LINKEND" jade:/usr/pkg/share/sgml/docbook/dsssl/modular/print/docbook.dsl:83:0:E: notatio n "DSSSL" for entity "dbl1es" undefined ending with: jade:E: specification document does not have the DSSSL architecture as a base architecture Any ideas? > I have jade 1.2.1 and docbook 4.1. > > Also, a postscript version of the book uses about 8-inch by 9-inch. How > can I make my sgml use the entire 8"x11" (standard U.S. letter size)? (I > guess I need to set this somewhere using docbook?) Jeremy C. Reed http://www.reedmedia.net/ DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
(dsssl) quick howto?, Jeremy C. Reed | Thread | Re: (dsssl) quick howto?, Jany Quintard |
(dsssl) quick howto?, Jeremy C. Reed | Date | Re: (dsssl) quick howto?, Thomas Andre Berger |
Month |