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

Re: sgml-tools, docbook: what is wrong?

Richard B. Kreckel wrote:
> <!DOCTYPE Article PUBLIC "-//Davenport//DTD DocBook V3.0//EN">
> <Article>
> <ArtHeader>
> <Title>FooBar</Title>
> </ArtHeader>
> <Para>
> blurb...
> </Para>
> </Article>
> It does recognize the DOCTYPE all right since the error is:
> /usr/bin/sgmlsasp: can't open `/usr/lib/sgml-tools/dist/article/groff/mapping': No such file or
> directory

Unless sgmltools got upgraded lately, it cannot handle docbook. Try jade and
jadetex instead.

jade -t sgml \ 
   -d /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/docbook.dsl \

creates a couple of HTML files.

jade -t tex \ 
   -d /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/docbook.dsl \
   source.sgml ;
jadetex -fmt=/var/lib/texmf/web2c/jadetex source.tex

creates a TeX/dvi file. You might need repeat the jadetex line a couple of
times before the indexes get generated correctly.


Reply to: