You are not logged in.

#1 2010-06-25 18:02:37

mcsilva
Member
From: Portugal
Registered: 2009-12-16
Posts: 95

Where is docbook-utils package?

I'm not finding docbook-tools package. Or does it have another name in arch?

Offline

#2 2010-06-25 18:31:09

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Where is docbook-utils package?

Offline

#3 2010-06-25 20:53:49

mcsilva
Member
From: Portugal
Registered: 2009-12-16
Posts: 95

Re: Where is docbook-utils package?

Thanks for your answer, but I see that these packages don' have docbook2txt, docbook2ps, docbook2html, docbook2pdf, docbook2rtf, and I need them to run a particular package.
Any idea?

Offline

#4 2010-06-25 20:55:45

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Where is docbook-utils package?

Offline

#5 2010-06-26 16:43:29

mcsilva
Member
From: Portugal
Registered: 2009-12-16
Posts: 95

Re: Where is docbook-utils package?

Thanks karol!
I'm a little bit confused about Docbook sources.
I found that redhat uses a docbook-utils package that contains what I want, but is different (see ftp://sources.redhat.com/pub/docbook-to … /SOURCES/)
Official arch package Docbook2x has a README file which says:

docbook2X converts DocBook documents into man pages and Texinfo documents.

The Redhat docbook-tools has a README file which says:

The docbook-utils is a set of a few small programs intended to ease
everyday's use of technical documentation software and more generally
use of SGML and XML. They are released under the GPL licence.

Tasks they currently accomplish are:
  - jw: convert SGML files to other formats (HTML, RTF, Postscript, PDF)
  - sgmldiff: detect the differerences in markup between two SGML files

So, this package seems to be  very different. It uses jade (using a wrapper called "jw") to convert the files.
It can convert docbook files to html, rtf, postscript and pdf files, which is what I need.
Docbook2x is not able to do that.
But if I create a package based on redhat docbook-utils, I'll have some scripts with the same name that can conflict.
So, I'm not sure about what to do, but I think I'm going to try this docbook-tools, and try to avoid these conflicts,
Unless, someone can help with a better idea.

Note:
Some of the scripts contained in the official package docbook2x:
/usr/bin/db2x_manxml
/usr/bin/db2x_texixml
/usr/bin/db2x_xsltproc
/usr/bin/docbook2man
/usr/bin/docbook2texi
/usr/bin/docbook2x-man
/usr/bin/docbook2x-texi
/usr/bin/sgml2xml-isoent

Some of the scripts contained in docbook-utils redhat package:
/usr/bin/docbook2dvi
/usr/bin/docbook2html
/usr/bin/docbook2man
/usr/bin/docbook2pdf
/usr/bin/docbook2ps
/usr/bin/docbook2rtf
/usr/bin/docbook2tex
/usr/bin/docbook2texi
/usr/bin/docbook2txt

Offline

#6 2010-06-26 16:55:51

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Where is docbook-utils package?

If you can create a docbook-utils package then you don't need docbook2x and you don't have to worry about the conflicts. Pacman will warn you if you'll try to overwrite some file while installing another app:

error: file /usr/bin/docbook2man exists

Those might help:
http://www.archlinux.org/packages/extra/any/rpmextract/
http://aur.archlinux.org/packages.php?O … _Search=Go

Last edited by karol (2010-06-26 17:05:39)

Offline

#7 2010-06-26 19:12:58

andresp
Member
Registered: 2010-05-29
Posts: 62

Re: Where is docbook-utils package?

docbook2x is a docbooc-utils replacement.

What's missing is a properly packaged docbook-sgml. If you look at docbook-{xml,xsl}, you'll see that the method is more complete than that in the docbook-sgml package.

You do not need sgml-common if you're using libxml (docbooc2x pulls this as a dependency), because xmlcatalog can also install sgml cats.

Edit:

mcsilva wrote:

The docbook-utils is a set of a few small programs intended to ease
everyday's use of technical documentation software and more generally
use of SGML and XML. They are released under the GPL licence.

Tasks they currently accomplish are:
  - jw: convert SGML files to other formats (HTML, RTF, Postscript, PDF)
  - sgmldiff: detect the differerences in markup between two SGML files

So, this package seems to be  very different. It uses jade (using a wrapper called "jw") to convert the files.
It can convert docbook files to html, rtf, postscript and pdf files, which is what I need.
Docbook2x is not able to do that.
But if I create a package based on redhat docbook-utils, I'll have some scripts with the same name that can conflict.
So, I'm not sure about what to do, but I think I'm going to try this docbook-tools, and try to avoid these conflicts,
Unless, someone can help with a better idea.

Sorry, I missed this part. You want sgmltools-lite. But you'll definately need
the sgml dtd files, which docbook-sgml (aur) provides.

Last edited by andresp (2010-06-26 19:23:19)

Offline

#8 2010-06-26 21:01:46

AndreasBWagner
Member
From: Boston, MA, USA
Registered: 2010-03-05
Posts: 17
Website

Re: Where is docbook-utils package?

muhendis.suat tried to get docbook-utils to build on archlinux and so did I.

The trouble is that an old dtd is being used and it doesn't look like it will be updated.

Offline

Board footer

Powered by FluxBB