public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] man pages - converted to DocBook/HTML
@ 2004-11-29  7:36 Mark Miller
  2004-11-29 15:17 ` Mike Frysinger
  2004-11-29 21:20 ` Carsten Lohrke
  0 siblings, 2 replies; 10+ messages in thread
From: Mark Miller @ 2004-11-29  7:36 UTC (permalink / raw
  To: gentoo-dev

I was wondering if the Gentoo Development team would be interested in
a Python script that would automatically convert all the troff and all
the other formats of man pages into a DocBook format, which HTML can
easily be generated out of, and incorporate this into the Gentoo
system.

-- 
Mark A. Miller
mark@mirell.org
(US) +1 512-796-3592

--
gentoo-dev@gentoo.org mailing list


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

* Re: [gentoo-dev] man pages - converted to DocBook/HTML
  2004-11-29  7:36 [gentoo-dev] man pages - converted to DocBook/HTML Mark Miller
@ 2004-11-29 15:17 ` Mike Frysinger
  2004-11-29 20:48   ` Grant Goodyear
  2004-11-29 21:20 ` Carsten Lohrke
  1 sibling, 1 reply; 10+ messages in thread
From: Mike Frysinger @ 2004-11-29 15:17 UTC (permalink / raw
  To: gentoo-dev

On Monday 29 November 2004 02:36 am, Mark Miller wrote:
> I was wondering if the Gentoo Development team would be interested in
> a Python script that would automatically convert all the troff and all
> the other formats of man pages into a DocBook format, which HTML can
> easily be generated out of, and incorporate this into the Gentoo
> system.

for what purpose ?  to have HTML versions of all manpages that exist ?
-mike

--
gentoo-dev@gentoo.org mailing list


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

* Re: [gentoo-dev] man pages - converted to DocBook/HTML
  2004-11-29 15:17 ` Mike Frysinger
@ 2004-11-29 20:48   ` Grant Goodyear
  2004-11-29 21:13     ` Mark Miller
  0 siblings, 1 reply; 10+ messages in thread
From: Grant Goodyear @ 2004-11-29 20:48 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1555 bytes --]

Vapier wrote: [Mon Nov 29 2004, 09:17:20AM CST]
> On Monday 29 November 2004 02:36 am, Mark Miller wrote:
> > I was wondering if the Gentoo Development team would be interested in
> > a Python script that would automatically convert all the troff and all
> > the other formats of man pages into a DocBook format, which HTML can
> > easily be generated out of, and incorporate this into the Gentoo
> > system.
> 
> for what purpose ?  to have HTML versions of all manpages that exist ?
> -mike

I've always been really impressed with the *BSDs online manpage
databases, but those databases make more sense for the monolithic *BSDs
than they do for the quite heterogeneous Linux distros.  That said, I do
think that it would be nice if we had the man pages for Gentoo tools
available online.  I would suggest using man2html instead of a full
conversion to docbook, however.

Let's see, that would mean converting the man pages in portage,
certainly, as well as those in gentoolkit and gentoolkit-dev.  It looks
like baselayout also includes some man pages, and I believe that I
included man pages for our mailwrapper package.  Are there other
Gentoo-specific man pages that we should include?  Should we also
include the tenshi and keychain man pages since they're predominantly
Gentoo projects?  Oh, what about the various *-config programs' man
pages?

-g2boojum-
-- 
Grant Goodyear	
Gentoo Developer
g2boojum@gentoo.org
http://www.gentoo.org/~g2boojum
GPG Fingerprint: D706 9802 1663 DEF5 81B0  9573 A6DC 7152 E0F6 5B76

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-dev] man pages - converted to DocBook/HTML
  2004-11-29 20:48   ` Grant Goodyear
@ 2004-11-29 21:13     ` Mark Miller
  0 siblings, 0 replies; 10+ messages in thread
From: Mark Miller @ 2004-11-29 21:13 UTC (permalink / raw
  To: gentoo-dev

The issue with using man2html is the fact that apparently a lot of the
man pages are ill-formated, from what I've seen. And another benefit
with the DocBook format is the ability to properly form indices, with
greater ease.

On Mon, 29 Nov 2004 14:48:57 -0600, Grant Goodyear <g2boojum@gentoo.org> wrote
> Vapier wrote: [Mon Nov 29 2004, 09:17:20AM CST]
> 
> 
> > On Monday 29 November 2004 02:36 am, Mark Miller wrote:
> > > I was wondering if the Gentoo Development team would be interested in
> > > a Python script that would automatically convert all the troff and all
> > > the other formats of man pages into a DocBook format, which HTML can
> > > easily be generated out of, and incorporate this into the Gentoo
> > > system.
> >
> > for what purpose ?  to have HTML versions of all manpages that exist ?
> > -mike
> 
> I've always been really impressed with the *BSDs online manpage
> databases, but those databases make more sense for the monolithic *BSDs
> than they do for the quite heterogeneous Linux distros.  That said, I do
> think that it would be nice if we had the man pages for Gentoo tools
> available online.  I would suggest using man2html instead of a full
> conversion to docbook, however.
> 
> Let's see, that would mean converting the man pages in portage,
> certainly, as well as those in gentoolkit and gentoolkit-dev.  It looks
> like baselayout also includes some man pages, and I believe that I
> included man pages for our mailwrapper package.  Are there other
> Gentoo-specific man pages that we should include?  Should we also
> include the tenshi and keychain man pages since they're predominantly
> Gentoo projects?  Oh, what about the various *-config programs' man
> pages?
> 
> -g2boojum-
> --
> Grant Goodyear
> Gentoo Developer
> g2boojum@gentoo.org
> http://www.gentoo.org/~g2boojum
> GPG Fingerprint: D706 9802 1663 DEF5 81B0  9573 A6DC 7152 E0F6 5B76
> 
> 
> 


-- 
Mark A. Miller
mark@mirell.org
(US) +1 512-796-3592

--
gentoo-dev@gentoo.org mailing list


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

* Re: [gentoo-dev] man pages - converted to DocBook/HTML
  2004-11-29  7:36 [gentoo-dev] man pages - converted to DocBook/HTML Mark Miller
  2004-11-29 15:17 ` Mike Frysinger
@ 2004-11-29 21:20 ` Carsten Lohrke
  2004-11-29 21:56   ` John Davis
  2004-11-29 21:59   ` Mark Miller
  1 sibling, 2 replies; 10+ messages in thread
From: Carsten Lohrke @ 2004-11-29 21:20 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 464 bytes --]

On Monday 29 November 2004 08:36, Mark Miller wrote:
> I was wondering if the Gentoo Development team would be interested in
> a Python script that would automatically convert all the troff and all
> the other formats of man pages into a DocBook format, which HTML can
> easily be generated out of, and incorporate this into the Gentoo
> system.

Use Konqueror and type "man:foo" in the address edit field and you'll get your 
html man page.


Carsten

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-dev] man pages - converted to DocBook/HTML
  2004-11-29 21:20 ` Carsten Lohrke
@ 2004-11-29 21:56   ` John Davis
  2004-11-29 22:13     ` Carsten Lohrke
  2004-11-29 21:59   ` Mark Miller
  1 sibling, 1 reply; 10+ messages in thread
From: John Davis @ 2004-11-29 21:56 UTC (permalink / raw
  To: Carsten Lohrke; +Cc: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 620 bytes --]

On Mon, 2004-11-29 at 22:20 +0100, Carsten Lohrke wrote:
> On Monday 29 November 2004 08:36, Mark Miller wrote:
> > I was wondering if the Gentoo Development team would be interested in
> > a Python script that would automatically convert all the troff and all
> > the other formats of man pages into a DocBook format, which HTML can
> > easily be generated out of, and incorporate this into the Gentoo
> > system.
> 
> Use Konqueror and type "man:foo" in the address edit field and you'll get your 
> html man page.
> 
> 
> Carsten

Because all of the world uses KDE/ Konqueror ... ;)

Cheers,
//John

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-dev] man pages - converted to DocBook/HTML
  2004-11-29 21:20 ` Carsten Lohrke
  2004-11-29 21:56   ` John Davis
@ 2004-11-29 21:59   ` Mark Miller
  2004-11-30  1:40     ` Mike Frysinger
  2004-11-30  5:03     ` M. Edward Borasky
  1 sibling, 2 replies; 10+ messages in thread
From: Mark Miller @ 2004-11-29 21:59 UTC (permalink / raw
  To: gentoo-dev

HTML wasn't the main thing that was the issue. Converting the man
pages from the ancient realm of troff into DocBook would actually be
the main issue.

With a properly formatted DocBook format, you can get your HTML,
XHTML, even PDF if you so desire.

The man page system is an ancient rendition of how to nicely set up a
book in directories, with the different directories different chapters
in your book when you printed it out, done, in, a typesetting
language, troff.

I don't know about you, but I surely would not print out _all_ of my
man pages to put into a binder.

This system needs a major overhaul. That's why I was helping Eric test
the 8,000 some odd line Python script he's written to be able to
automatically convert the troff/etc into DocBook XML format.


On Mon, 29 Nov 2004 22:20:09 +0100, Carsten Lohrke <carlo@gentoo.org> wrote:
> On Monday 29 November 2004 08:36, Mark Miller wrote:
> > I was wondering if the Gentoo Development team would be interested in
> > a Python script that would automatically convert all the troff and all
> > the other formats of man pages into a DocBook format, which HTML can
> > easily be generated out of, and incorporate this into the Gentoo
> > system.
> 
> Use Konqueror and type "man:foo" in the address edit field and you'll get your
> html man page.
> 
> 
> Carsten
> 
> 
> 

-- 
Mark A. Miller
mark@mirell.org
(US) +1 512-796-3592

--
gentoo-dev@gentoo.org mailing list


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

* Re: [gentoo-dev] man pages - converted to DocBook/HTML
  2004-11-29 21:56   ` John Davis
@ 2004-11-29 22:13     ` Carsten Lohrke
  0 siblings, 0 replies; 10+ messages in thread
From: Carsten Lohrke @ 2004-11-29 22:13 UTC (permalink / raw
  To: gentoo-dev; +Cc: John Davis

[-- Attachment #1: Type: text/plain, Size: 399 bytes --]

On Monday 29 November 2004 22:56, John Davis wrote:
> Because all of the world uses KDE/ Konqueror ... ;)

I assumed that Gnomes Nautilus or whatever you may use as pendant is capable 
to do so, too, of course. :) But apparently creating html out of man pages 
wasn't Mark's main topic. I for one don't care so much about it, just don't 
want to have it in multiple engrossment.


Carsten

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-dev] man pages - converted to DocBook/HTML
  2004-11-29 21:59   ` Mark Miller
@ 2004-11-30  1:40     ` Mike Frysinger
  2004-11-30  5:03     ` M. Edward Borasky
  1 sibling, 0 replies; 10+ messages in thread
From: Mike Frysinger @ 2004-11-30  1:40 UTC (permalink / raw
  To: gentoo-dev

On Monday 29 November 2004 04:59 pm, Mark Miller wrote:
> This system needs a major overhaul. That's why I was helping Eric test
> the 8,000 some odd line Python script he's written to be able to
> automatically convert the troff/etc into DocBook XML format.

ok, so are you proposing (like the GNU peeps), to get rid of 'man' ?  to use 
some 'other' program (like the stupid GNU peeps force info on you ?) ?
-mike

--
gentoo-dev@gentoo.org mailing list


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

* Re: [gentoo-dev] man pages - converted to DocBook/HTML
  2004-11-29 21:59   ` Mark Miller
  2004-11-30  1:40     ` Mike Frysinger
@ 2004-11-30  5:03     ` M. Edward Borasky
  1 sibling, 0 replies; 10+ messages in thread
From: M. Edward Borasky @ 2004-11-30  5:03 UTC (permalink / raw
  To: Mark Miller; +Cc: gentoo-dev

On Mon, 2004-11-29 at 15:59 -0600, Mark Miller wrote:
> HTML wasn't the main thing that was the issue. Converting the man
> pages from the ancient realm of troff into DocBook would actually be
> the main issue.

[snip]

While we're on the subject of on-line documentation, Debian has a really
nice way of doing it, using something they call "dwww". However, I
looked at the source and there's quite a bit of Debian-specific code in
it, so it might be more trouble than it's worth.



--
gentoo-dev@gentoo.org mailing list


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

end of thread, other threads:[~2004-11-30  5:03 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-29  7:36 [gentoo-dev] man pages - converted to DocBook/HTML Mark Miller
2004-11-29 15:17 ` Mike Frysinger
2004-11-29 20:48   ` Grant Goodyear
2004-11-29 21:13     ` Mark Miller
2004-11-29 21:20 ` Carsten Lohrke
2004-11-29 21:56   ` John Davis
2004-11-29 22:13     ` Carsten Lohrke
2004-11-29 21:59   ` Mark Miller
2004-11-30  1:40     ` Mike Frysinger
2004-11-30  5:03     ` M. Edward Borasky

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