9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Brian L. Stuart" <blstuart@bellsouth.net>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] how up to date are the PDF doc files onplan9.bell-labs.com?
Date: Thu,  3 May 2012 10:59:48 -0700	[thread overview]
Message-ID: <1336067988.76577.YahooMailClassic@web83913.mail.sp1.yahoo.com> (raw)
In-Reply-To: <201205031745.q43HjOqn004876@skeeve.com>

> I just activated my Kindle.  I mailed myself the PDF of
> gawk.1 (of course).
> At fit-to-screen it's too small, but rotated and increased
> size it's better.
> 
> As an emergency place to keep the Plan 9 manuals, it sure
> beats lugging
> around all that paper. :-)  I'll be experimenting some
> more.

I've done some fiddling with the ms macros to add Kindle
support.  What I have is:

 .	\" Override page/font parameters for Kindle
 .if '\nK'1' \{\
 .nr PS 7
 .nr VS 8
 .nr LL 3i
 .nr TL 3i
 .nr PD 0
 .nr PI 3n
 .nr PO 0.1i
 .po 0.1i
 .nr HM 0.1i
 .nr FM 0.1i
 .ds LH
 .ds CH
 .ds RH
 .ds LF
 .ds CF
 .ds RF
 .pl 4i
 .tl
 \}
 .el \{\
 .po 1.25i
 .nr PO 1.25i
 \}

You activate Kindle formatting by setting the K register
to 1.  The biggest issue I've run into are tables and
figures that need the space of a larger page.  As for
man pages, There's already a register (s) you can set
to 1 to get it format for 9" pages.  That does improve
things a bit in portrait orientation scaled to fit the
screen.

Those might at least give you a good starting point.

BLS




  reply	other threads:[~2012-05-03 17:59 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-02 13:04 [9fans] how up to date are the PDF doc files on plan9.bell-labs.com? arnold
2012-05-02 14:40 ` Anthony Sorace
2012-05-02 14:49   ` Anthony Sorace
2012-05-02 17:19     ` Aharon Robbins
2012-05-02 17:44       ` erik quanstrom
2012-05-02 18:37       ` Taj Khattra
2012-05-02 20:40       ` Anthony Sorace
2012-05-02 21:01         ` Matthew Veety
2012-05-03 16:54         ` [9fans] how up to date are the PDF doc files onplan9.bell-labs.com? Tristan
2012-05-03 17:45           ` Aharon Robbins
2012-05-03 17:59             ` Brian L. Stuart [this message]
2012-05-03 18:15               ` hiro
2012-05-03 21:12                 ` Mohamed
2012-05-03 21:40                   ` Anthony Sorace

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1336067988.76577.YahooMailClassic@web83913.mail.sp1.yahoo.com \
    --to=blstuart@bellsouth.net \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).