Re: Linux MAN Pages in PDF format

2003-03-24 Thread Anthony E. Greene
On 23-Mar-2003/06:13 -0600, "Ryan K. McKee" <[EMAIL PROTECTED]> wrote:
>Does anyone know where I might be able to find a Linux MAN Page
>collection in PDF format? One might ask, "why in PDF?" Well, I'll tell
>you why, for a number of reasons.
>
[various reasons snipped]
>
>Anyhow, if someone comes across a compilation of the Linux MAN Pages in
>PDF format or if they are willing to compile such a collection on their
>own, then I would appreciate it if that person would notify me via
>e-mail: [EMAIL PROTECTED] or even POST a response in this forum/newsgroup.

#!/bin/sh
#
# Build a PDF version of all man pages on system.
#

# Start in my Home directory, and create a directory
# for the PDF man pages.
cd $HOME
mkdir man
cd man

# Walk through the manpage sections, creating subdirectories
# for each on ein my Home directory.
for section in 1 2 3 4 5 6 7 8 9; do
  mkdir $HOME/man/man$section
  cd /usr/share/man/man$section

  # Get a list of files and convert each one to PDF.
  for manfile in (ls -1); do
basefile=(basename $manfile .gz)
man -t ./$manfile | ps2pdf > $HOME/man/man$section/$basefile.pdf
  done
done

# End of script.
echo "Done."




Do the same thing for /usr/local/man.

Tony
-- 
Anthony E. Greene <mailto:[EMAIL PROTECTED]>
OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
AOL/Yahoo Messenger: TonyG05HomePage: <http://www.pobox.com/~agreene/>
Linux. The choice of a GNU generation <http://www.linux.org/>



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: Linux MAN Pages in PDF format

2003-03-24 Thread Mikevl
I have a fairly comprehensive set.

I use Anthony Green's PS 2 PDF script

then with a little script I came across I made man2pdf

command

man2pdf top and out comes the result

easy

If you need help please reply

Mike
- Original Message -
From: "Hal Burgiss" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 24, 2003 12:59 AM
Subject: Re: Linux MAN Pages in PDF format


> On Sun, Mar 23, 2003 at 06:13:06AM -0600, Ryan K. McKee wrote:
> >
> > Anyhow, if someone comes across a compilation of the Linux MAN Pages in
PDF
> > format or if they are willing to compile such a collection on their own,
then I
> > would appreciate it if that person would notify me via e-mail:
[EMAIL PROTECTED] or
> > even POST a response in this forum/newsgroup.
>
> If you have access to these in html, it is easy to convert them to
> PDF. See http://www.easysw.com/htmldoc/. In fact, I believe RH comes
> with man2html which does the first part for you.
>
> --
> Hal Burgiss
>
>
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
>



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: Linux MAN Pages in PDF format

2003-03-23 Thread Hal Burgiss
On Sun, Mar 23, 2003 at 06:13:06AM -0600, Ryan K. McKee wrote:
> 
> Anyhow, if someone comes across a compilation of the Linux MAN Pages in PDF
> format or if they are willing to compile such a collection on their own, then I
> would appreciate it if that person would notify me via e-mail: [EMAIL PROTECTED] or
> even POST a response in this forum/newsgroup.

If you have access to these in html, it is easy to convert them to
PDF. See http://www.easysw.com/htmldoc/. In fact, I believe RH comes
with man2html which does the first part for you. 

-- 
Hal Burgiss
 



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Linux MAN Pages in PDF format

2003-03-23 Thread Ryan K. McKee




Does anyone know where I might be able to find a Linux MAN Page 
collection in PDF format? One might ask, “why in PDF?” Well, I’ll tell you why, 
for a number of reasons.
 
First, I have many Linux Books with a wealth of knowledge, however, most 
discuss reading MAN pages along with the HOWTOs and the News Groups before even 
mentioning how to install Linux; so the end user is stuck in a recursive cycle 
of: “I can’t install Linux till I’ve read some MAN pages, but I can’t read MAN 
pages until I install Linux.”
 
You say, “There are other ways of accessing the MAN Pages; online, html, 
from Installation CDs, Books, etc.” You’re absolutely right! However the simple 
rebuttal to this is not everyone has access to these resources that many so 
commonly take for granted. Some people struggle financially or are restricted to 
primitive technology or have no on-line means, or perhaps can’t even obtain 
Installation Discs for this reason or that.
 
Secondly, I’m in the process of compiling a CD with a bunch of resources 
and cool stuff for Linux newbies. Including; HOWTOs (in different formats), 
GUIDEs (in different formats), MAN Pages (hopefully, in different formats), 
BOOKs, Pictures (such as the hot linux chicks, most commonly found all over the 
internet), ASCII ART (such as TUX the Penguin), the LINUX SWITCH FLASH 
animation, and a whole lot more… It’s my small way to contribute to the 
community and at the same time learn, not to mention having a wonderful Resource 
CD handy ;-)
 
Third, It would just plain be cool. Imagine being able to transport the 
MAN pages on your Palm Pilot to review while away from the computer. Or simply 
knowing the fact that you have access to the rare distribution of the MAN Pages 
as a whole (believe me, I know, did a ton of Google Searching.) 
 
Fourth, personal reasons. Does everything have to have a reason… 
?
 
Anyhow, if someone comes across a compilation of the Linux MAN Pages in 
PDF format or if they are willing to compile such a collection on their own, 
then I would appreciate it if that person would notify me via e-mail: [EMAIL PROTECTED] or even POST a 
response in this forum/newsgroup.
 
Thanx in Advance,
Ryan \ SolarDegree \ nerpoc