Groups | Search | Server Info | Login | Register


Groups > comp.os.linux.misc > #77479

Re: My 2 favorite tools for reading Linux manual pages the easy way

From vallor <vallor@vallor.earth>
Newsgroups comp.os.linux.misc
Subject Re: My 2 favorite tools for reading Linux manual pages the easy way
Date 2025-11-13 14:46 +0000
Organization The Unnamed Newswriter
Message-ID <10f4r10$26peb$1@dont-email.me> (permalink)
References <10f34ng$1pnvq$1@dont-email.me> <10f4mf9$25m3b$4@dont-email.me>

Show all headers | View raw


At Thu, 13 Nov 2025 08:29:12 -0500, Chris Ahlstrom <OFeem1987@teleworm.us> wrote:

> Lawrence D’Oliveiro wrote this post by blinking in Morse code:
> 
> > For those who prefer a GUI approach to viewing man pages
> > <https://www.zdnet.com/article/my-2-favorite-tools-for-reading-linux-manual-pages-the-easy-way/>:
> > both GNOME and KDE offer help-centre apps that can display them.
> >
> > Also, I long ago discovered that KDE Konqueror (the all-encompassing
> > web/file/whatnot browser) and its less-ambitious alternative Dolphin,
> > can both view man pages via “man://” URLs, and also GNU info pages via
> > “info://” URLs.
> >
> > And, within one of these Linux groups -- I forget which one -- we
> > recently discussed how to put together a command line that will
> > display a nicely typeset PDF view of a man page. I tried looking for
> > an obvious equivalent to that for info pages, but couldn’t see one.
> 
> I have a script (haven't used it in awhile):
> 
> #!/bin/bash
> #
> # Converts a man page to a nice PDF.  Print it using evince (for example).
> 
> PSTOPDF=$(which ps2pdf)
> SWITCHES="-"
> 
> if [ $? == 1 ] ; then
> 
>    PSTOPDF=$(which pstopdf)
>    SWITCHES="-i -o"
> 
> fi
> 
> if [ $? == 0 ] ; then
> 
>    if [ $# -eq 1 ] ; then
> 
>       NAME="$1"
> 
> #     man -t $NAME > $NAME.ps ; ps2pdf $NAME.ps $NAME.pdf ; rm $NAME.ps
>       man -t "$NAME" | "$PSTOPDF" $SWITCHES "$NAME.pdf" 
> 
>    else
>       echo "Incorrect number of parameters."
>       echo
>       echo "Usage:  man2pdf appname"
>    fi
> 
> else
>    echo "? This script requires pstopdf or ps2pdf to be installed."
>    echo "  On Debian this is the 'ghostscript' package."
> fi

What's wrong with the gropdf driver?

$ sudo apt install groff # ensuring you have the whole package
$ man -Tpdf man > man.pdf
$ evince man.pdf

(groff is awesome.  I'm using the "MOM" macro package to
typeset a book.)

-- 
-v ASUS TUF DASH F15 x86_64 NVIDIA RTX 3060 Mobile 6G
   OS: Linux 6.14.0-35-generic D: Mint 22.2 DE: Xfce 4.18 
   NVIDIA: 510.47.03 Mem: 15.9G
   "Farfignewton: a long way til the next cookie."

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

My 2 favorite tools for reading Linux manual pages the easy way Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-12 23:20 +0000
  Re: My 2 favorite tools for reading Linux manual pages the easy way Nuno Silva <nunojsilva@invalid.invalid> - 2025-11-12 23:51 +0000
    Re: My 2 favorite tools for reading Linux manual pages the easy way ram@zedat.fu-berlin.de (Stefan Ram) - 2025-11-13 11:01 +0000
      Re: My 2 favorite tools for reading Linux manual pages the easy way Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-13 20:05 +0000
  Re: My 2 favorite tools for reading Linux manual pages the easy way Chris Ahlstrom <OFeem1987@teleworm.us> - 2025-11-13 08:29 -0500
    Re: My 2 favorite tools for reading Linux manual pages the easy way vallor <vallor@vallor.earth> - 2025-11-13 14:46 +0000
      Re: My 2 favorite tools for reading Linux manual pages the easy way Chris Ahlstrom <OFeem1987@teleworm.us> - 2025-11-13 11:35 -0500
  Re: My 2 favorite tools for reading Linux manual pages the easy way "Carlos E.R." <robin_listas@es.invalid> - 2025-11-13 14:56 +0100
    Re: My 2 favorite tools for reading Linux manual pages the easy way vallor <vallor@vallor.earth> - 2025-11-13 14:54 +0000
      Re: My 2 favorite tools for reading Linux manual pages the easy way "Carlos E.R." <robin_listas@es.invalid> - 2025-11-13 23:14 +0100
    Re: My 2 favorite tools for reading Linux manual pages the easy way Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-13 20:03 +0000
      Re: My 2 favorite tools for reading Linux manual pages the easy way vallor <vallor@vallor.earth> - 2025-11-13 20:12 +0000
        Re: My 2 favorite tools for reading Linux manual pages the easy way "Carlos E.R." <robin_listas@es.invalid> - 2025-11-13 22:23 +0100
          Re: My 2 favorite tools for reading Linux manual pages the easy way not@telling.you.invalid (Computer Nerd Kev) - 2025-11-15 07:25 +1000
            Re: My 2 favorite tools for reading Linux manual pages the easy way "Carlos E.R." <robin_listas@es.invalid> - 2025-11-14 22:58 +0100
              Re: My 2 favorite tools for reading Linux manual pages the easy way ram@zedat.fu-berlin.de (Stefan Ram) - 2025-11-14 22:12 +0000
                Re: My 2 favorite tools for reading Linux manual pages the easy way "Carlos E.R." <robin_listas@es.invalid> - 2025-11-15 00:00 +0100
                Re: My 2 favorite tools for reading Linux manual pages the easy way ram@zedat.fu-berlin.de (Stefan Ram) - 2025-11-14 23:27 +0000
                fmpeg drift (1) "Carlos E.R." <robin_listas@es.invalid> - 2025-11-16 00:29 +0100
                Re: fmpeg drift (1) Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-16 00:39 +0000
                Re: fmpeg drift (1) "Carlos E.R." <robin_listas@es.invalid> - 2025-11-16 03:00 +0100
                Re: fmpeg drift (1) Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-16 02:33 +0000
                Re: fmpeg drift (1) "Carlos E.R." <robin_listas@es.invalid> - 2025-11-16 15:03 +0100
                Re: fmpeg drift (1) Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-16 21:25 +0000
                Re: fmpeg drift (1) "Carlos E.R." <robin_listas@es.invalid> - 2025-11-17 12:48 +0100
                Re: fmpeg drift (1) Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-18 01:00 +0000
                Re: fmpeg drift (1) "Carlos E.R." <robin_listas@es.invalid> - 2025-11-18 07:22 +0100
                fmpeg drift (2) "Carlos E.R." <robin_listas@es.invalid> - 2025-11-16 00:34 +0100
                Re: fmpeg drift (2) ram@zedat.fu-berlin.de (Stefan Ram) - 2025-11-16 13:34 +0000
                Re: fmpeg drift (2) "Carlos E.R." <robin_listas@es.invalid> - 2025-11-16 15:19 +0100
                Re: fmpeg drift (2) - solved? "Carlos E.R." <robin_listas@es.invalid> - 2025-11-16 23:56 +0100
                Re: fmpeg drift (2) - solved? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-17 00:49 +0000
                Re: fmpeg drift (2) - solved? "Carlos E.R." <robin_listas@es.invalid> - 2025-11-17 03:17 +0100
                Re: fmpeg drift (2) - solved? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-17 02:39 +0000
                Re: fmpeg drift (2) Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-16 21:21 +0000
                Re: My 2 favorite tools for reading Linux manual pages the easy way Joerg Walther <joerg.walther@magenta.de> - 2025-11-15 09:50 +0100
                Re: My 2 favorite tools for reading Linux manual pages the easy way Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-15 22:09 +0000
                Re: My 2 favorite tools for reading Linux manual pages the easy way "Carlos E.R." <robin_listas@es.invalid> - 2025-11-16 00:00 +0100
                Re: My 2 favorite tools for reading Linux manual pages the easy way Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-16 00:32 +0000
                Re: My 2 favorite tools for reading Linux manual pages the easy way "Carlos E.R." <robin_listas@es.invalid> - 2025-11-16 03:01 +0100
                Re: My 2 favorite tools for reading Linux manual pages the easy way Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-16 02:33 +0000
                Re: My 2 favorite tools for reading Linux manual pages the easy way "Carlos E.R." <robin_listas@es.invalid> - 2025-11-16 23:09 +0100
                Re: My 2 favorite tools for reading Linux manual pages the easy way Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-16 22:41 +0000
                Re: My 2 favorite tools for reading Linux manual pages the easy way ram@zedat.fu-berlin.de (Stefan Ram) - 2025-11-16 22:45 +0000
                Re: My 2 favorite tools for reading Linux manual pages the easy way Joerg Walther <joerg.walther@magenta.de> - 2025-11-16 11:32 +0100
                Re: My 2 favorite tools for reading Linux manual pages the easy way "Carlos E.R." <robin_listas@es.invalid> - 2025-11-16 00:26 +0100
                Re: My 2 favorite tools for reading Linux manual pages the easy way Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-15 02:35 +0000
                Re: My 2 favorite tools for reading Linux manual pages the easy way Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-15 02:37 +0000
            Re: My 2 favorite tools for reading Linux manual pages the easy way Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-15 02:33 +0000
              Re: My 2 favorite tools for reading Linux manual pages the easy way not@telling.you.invalid (Computer Nerd Kev) - 2025-11-16 07:31 +1000
                Re: My 2 favorite tools for reading Linux manual pages the easy way Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-15 22:08 +0000
                Re: My 2 favorite tools for reading Linux manual pages the easy way not@telling.you.invalid (Computer Nerd Kev) - 2025-11-17 07:00 +1000
  Re: My 2 favorite tools for reading Linux manual pages the easy way candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> - 2025-11-13 18:50 +0000
    Re: My 2 favorite tools for reading Linux manual pages the easy way ram@zedat.fu-berlin.de (Stefan Ram) - 2025-11-13 19:20 +0000
      Re: My 2 favorite tools for reading Linux manual pages the easy way Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-13 20:12 +0000
        Re: My 2 favorite tools for reading Linux manual pages the easy way Nuno Silva <nunojsilva@invalid.invalid> - 2025-11-13 23:32 +0000

csiph-web