Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #275118

Re: Using terminal commands - corner cases

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: Using terminal commands - corner cases
Date 2024-12-02 04:00 +0100
Message-ID <JP4Pf-d7mR-1@gated-at.bofh.it> (permalink)
References <JNoyJ-bYHw-7@gated-at.bofh.it> <JNEat-c8EY-5@gated-at.bofh.it> <JNO9P-ceUD-3@gated-at.bofh.it> <JOe4i-cy2G-23@gated-at.bofh.it> <JOxqh-cMYs-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat 30 Nov 2024 at 22:10:32 (+0700), Max Nikulin wrote:
> On 30/11/2024 01:29, David Wright wrote:
> > On Thu 28 Nov 2024 at 21:52:05 (+0700), Max Nikulin wrote:
> > > On 28/11/2024 11:13, David Wright wrote:
> > > >     $ man -t bash | ps2pdf - /tmp/bash.pdf
> > > 
> > > /usr/share/doc/bash-doc/bash.pdf
> > > /usr/share/doc/bash-doc/bashref.pdf
> > 
> > ยน With Letter size in xpdf, I press 3 for 200%, which
> >    gives me exactly two PageDowns per page. Annoyingly,
> >    A4 needs an extra PageDown to move to the next page.
> 
> You may bind another key to zoom adjusted for A4.

By "appropriate page size", I was thinking more about people who
might wish to print the document, rather than this trivial annoyance
for me. I don't come across that many A4 text documents over here.

> Actually I would
> prefer bashref.pdf that has hyperlinks and table of contents
> (bookmark), moreover I would prefer .info file to read it in tkinfo or
> emacs. PDF file generated through PostScript from man does not allow
> to use named anchors for adding links to notes. Page numbers may
> change in next release of if the file is rendered for another paper
> size.

That's a different type of document entirely. My comment was aimed
at /man pages in general/. As I said, man bash was just the example
that came up. Some other commands have further explanatory documents
in a variety of formats, but that doesn't reduce the usefulness of
  $ man -t foo | ps2pdf - /tmp/foo.pdf
does it?

Funnily enough, I'd never even thought about page numbering in
connection with man pages. But I notice now that the page contents
of my Letter PDF and Debian's A4 version are identical, and the
footers on the A4 are very high, so I'm guessing that the document
was originally set for Letter paper, with well-balanced margins,
and the A4 version just had more white space added at the bottom.

Cheers,
David.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Using terminal commands - corner cases Richard Owlett <rowlett@access.net> - 2024-11-27 12:40 +0100
  Re: Using terminal commands - corner cases <tomas@tuxteam.de> - 2024-11-27 13:00 +0100
    Re: Using terminal commands - corner cases Richard Owlett <rowlett@access.net> - 2024-11-27 14:40 +0100
      Re: Using terminal commands - corner cases <tomas@tuxteam.de> - 2024-11-27 14:40 +0100
        Re: Using terminal commands - corner cases Richard Owlett <rowlett@access.net> - 2024-11-27 15:50 +0100
        Re: Using terminal commands - corner cases Joe <joe@jretrading.com> - 2024-11-27 15:50 +0100
      Re: Using terminal commands - corner cases Eric S Fraga <e.fraga@ucl.ac.uk> - 2024-11-27 15:20 +0100
        Re: Using terminal commands - corner cases <tomas@tuxteam.de> - 2024-11-27 15:30 +0100
          help, man, etc. (was Re: Using terminal commands - corner cases) The Wanderer <wanderer@fastmail.fm> - 2024-11-27 16:50 +0100
            Re: help, man, etc. (was Re: Using terminal commands - corner cases) Greg Wooledge <greg@wooledge.org> - 2024-11-27 17:10 +0100
              Re: help, man, etc. (was Re: Using terminal commands - corner cases) <tomas@tuxteam.de> - 2024-11-27 18:10 +0100
            Re: help, man, etc. (was Re: Using terminal commands - corner cases) <tomas@tuxteam.de> - 2024-11-27 18:00 +0100
              Re: help, man, etc. (was Re: Using terminal commands - corner cases) The Wanderer <wanderer@fastmail.fm> - 2024-11-27 18:30 +0100
                Re: help, man, etc. (was Re: Using terminal commands - corner cases) <tomas@tuxteam.de> - 2024-11-27 18:50 +0100
              Re: help, man, etc. (was: Re: Using terminal commands - corner cases) Max Nikulin <manikulin@gmail.com> - 2024-11-28 03:40 +0100
                Re: help, man, etc. (was: Re: Using terminal commands - corner cases) <tomas@tuxteam.de> - 2024-11-28 06:40 +0100
        Re: Using terminal commands - corner cases Yassine Chaouche <a.chaouche@algerian-radio.dz> - 2024-11-27 16:40 +0100
        Re: Using terminal commands - corner cases Chris Green <cl@isbd.net> - 2024-11-27 17:20 +0100
    Re: Using terminal commands - corner cases Greg Wooledge <greg@wooledge.org> - 2024-11-27 15:50 +0100
  Re: Using terminal commands - corner cases David Wright <deblis@lionunicorn.co.uk> - 2024-11-28 05:20 +0100
    Re: Using terminal commands - corner cases Richard Owlett <rowlett@access.net> - 2024-11-28 09:40 +0100
    Re: Using terminal commands - corner cases Max Nikulin <manikulin@gmail.com> - 2024-11-28 16:00 +0100
      Re: Using terminal commands - corner cases Richard Owlett <rowlett@access.net> - 2024-11-28 16:20 +0100
        Re: Using terminal commands - corner cases Erwan David <erwan@rail.eu.org> - 2024-11-28 16:20 +0100
      Re: Using terminal commands - corner cases David Wright <deblis@lionunicorn.co.uk> - 2024-11-29 19:40 +0100
        Re: Using terminal commands - corner cases Max Nikulin <manikulin@gmail.com> - 2024-11-30 16:20 +0100
          Re: Using terminal commands - corner cases David Wright <deblis@lionunicorn.co.uk> - 2024-12-02 04:00 +0100
            Re: Using terminal commands - corner cases debian-user@howorth.org.uk - 2024-12-02 13:00 +0100
  Re: Using terminal commands - corner cases Michael Paoli <michael.paoli@berkeley.edu> - 2024-12-02 10:20 +0100

csiph-web