OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


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


Greetings.


   I did not find any solution with jade, but some collegue at work gave me a 
work around.  For man pages, instead of using jw, I use:

xsltproc /usr/share/sgml/docbook/xsl-stylesheets-1.58.1-2/manpages/docbook.xsl 
apt-repo.docbook.in

   It is a good enough work around and I wanted to share it and have the 
answer stored in the archives.  Still, if anybody knows why jw fails with the 
man page backend, please let us know.


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: [Fwd: jw works fine with pdf backend, but complains when using man 
backend.]
Date: Tue, 28 Sep 2004 11:46:08 -0400
From: Hans Deragon <hans@deragon.biz>
To: docbook-apps@lists.oasis-open.org

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.

Title: Testing
man test 1 man test Testing jw man test pdvah This is a test

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]