This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook-apps] [Fwd: jw works fine with pdf backend,but complains when using man backend.]


Greetings again.


Since nobody could explain me why I could generate a pdf file but not a man file, let me rephrase my cry for help.


Does anybody has a receipe that converts an XML docbook to a man page? The receipe I use fails miserably with errors. An example docbook with the command line required to convert the docbook would be nice.


Best regards, Hans Deragon -- Consultant en informatique/Software Consultant Deragon Informatique inc. Open source: http://www.deragon.biz http://facil.qc.ca (Promotion du libre) mailto://hans@deragon.biz http://autopoweroff.sourceforge.net (Logiciel)


-------- Original Message -------- Subject: jw works fine with pdf backend, but complains when using man backend. Date: Mon, 27 Sep 2004 13:51:06 -0400 From: Hans Deragon <hans@deragon.biz> To: docbook-apps@lists.oasis-open.org

Greetings.


I try the following:


jw -f docbook -b pdf -l /usr/share/sgml/xml.dcl test.docbook

...and get:

     Using catalogs: /etc/sgml/catalog
     Using stylesheet:
/usr/share/sgml/docbook/utils-0.6.12/docbook-utils.dsl#print
     Working on: /qhander/devel/apt-repo/doc/test.docbook
     Done.

The PDF file generated is perfect. No problem here.

   I know try the same command, except I change the backend from "pdf" to
   "man":

jw -f docbook -b man -l /usr/share/sgml/xml.dcl test.docbook

...and get:

   Using catalogs: /etc/sgml/catalog
Using stylesheet: /usr/share/sgml/docbook/utils-0.6.12/docbook-utils.dsl#print
Working on: /qhander/devel/apt-repo/doc/test.docbook
nsgmls:/usr/share/sgml/docbook/xml-dtd-4.2-1.0-17/docbookx.dtd:112:17:E:
"X20AC" is not a function name
nsgmls:/usr/share/sgml/docbook/xml-dtd-4.2-1.0-17/ent/iso-amsa.ent:8:19:E:
"X21B6" is not a function name

...and this repeats until jw reach the 200 limit.

   Why does it work with the pdf backend but I get these errors with
   the man backend?  Actually, jw works with all backends except man and texi,
   which have the same errors.  I am a newbie here and I went on the IRC
   channels but nobody could help me.  My short and valid xml file (passed
   xmllint) is attached to this email.

My system is Red Hat Linux 9 running:

DocBook-utils version 0.6.12 (jw version 1.1)

Any suggestion on how to get the man backend working are welcomed.


Best regards, Hans Deragon -- Consultant en informatique/Software Consultant Deragon Informatique inc. Open source: http://www.deragon.biz http://facil.qc.ca (Promotion du libre) mailto://hans@deragon.biz http://autopoweroff.sourceforge.net (Logiciel)
Title: Testing
man test 1 man test Testing jw man test pdvah This is a test
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]