This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Question about article header/footer
On Thu, Apr 17, 2003 at 10:44:48AM -0700,
Bob Stayton <bobs at sco dot com> wrote
a message of 32 lines which said:
> > BTW, as you ask the question, is it possible to use the
> > DSSSL stylesheets with Docbook XML ?
...
> Yes, you can use the DSSSL stylesheets to process DocBook
> XML files. There is quite a bit of information in the
> list archives about it.
Here is a Makefile to do it, for those who have difficulties with jade
:-)
PRINT_STYLESHEET=${DOCBOOK_FILES}/print.dsl
XML_DECL=/usr/share/sgml/declaration/xml.dcl
%.tex: %.db ${PRINT_STYLESHEET}
jade -t tex -V tex-backend \
-d ${PRINT_STYLESHEET} \
${XML_DECL} $<
%.pdf: %.tex
# Trick from Adam Di Carlo <adam at onshore dot com> to recurse jadetex
# "just enough".
-cp -pf prior.aux pprior.aux
-cp -pf $(shell basename $< .tex).aux prior.aux
pdfjadetex $<
if ! cmp $(shell basename $< .tex).aux prior.aux && \
! cmp $(shell basename $< .tex).aux pprior.aux && \
expr $(MAKELEVEL) '<' $(MAX_TEX_RECURSION); then \
rm -f $@ ;\
$(MAKE) $@ ;\
fi
rm -f prior.aux pprior.aux
endif
> For PDF output, many people prefer the DSSSL tools because the free
> FO processors FOP and PassiveTeX don't support the full XSL-FO spec
> yet.
Also because FOP is not really free: it works only with the non-free
Sun Java implementation.
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe at lists dot oasis-open dot org
For additional commands, e-mail: docbook-apps-help at lists dot oasis-open dot org