public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Gentoo doc docbook example
@ 2001-03-21  0:58 Achim Gottinger
  2001-03-21 10:45 ` Achim Gottinger
  0 siblings, 1 reply; 3+ messages in thread
From: Achim Gottinger @ 2001-03-21  0:58 UTC (permalink / raw
  To: gentoo-dev

Hi there,

I tried to convert our ebuild man pages to Linux Doc style first, but I
found that it misses too much of the
docbook stuff and is only usefull for small howto's.
So I decided to use sgml-docbook-dtd-4.1 for my tests.

There are three new files in gentoo-doc/files.

ebuild.sgml	The Book
refentry/ebuild-1.sgml  The ebuild(1) man page sgmlized
refentry/ebuild-5.sgml  The ebuild(5) man page

If you have a working docbook environment you can make html, pdf and man
output from that (texi makes problems , others should work).

If you run "docbook2man ebuild.sgml" you will get the two man pages
ebuild.1 and ebuild.2 without the other
book stuff.

If you run "docbook2html ebuild.sgml" you will get a bunch of html pages
index.html contains the TOC.

Give "docbook2pdf ebuild.sgml" a try and open ebuild.pdf with acroread.
You will see that you have a nice toc
in there too.

Assuming you have updated kdelibs to the version that installs docbook
stuff in /usr/share/sgml, you can
even run "kdb2html ebuild.sgml".
The result will be a dir called HTML with a bunch of html's, that fit
perfectly into kde's documentation.

Please guys give this stuff a try and me feedback. !


achim~



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-03-22  8:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-21  0:58 [gentoo-dev] Gentoo doc docbook example Achim Gottinger
2001-03-21 10:45 ` Achim Gottinger
2001-03-22  7:42   ` Achim Gottinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox