9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Devon H. O'Dell " <dodell@offmyserver.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Paper sizes and Troff
Date: Tue, 29 Mar 2005 08:52:08 +0200	[thread overview]
Message-ID: <20050329065208.GE79414@smp500.sitetronics.com> (raw)
In-Reply-To: <59244c29df0d96e0e6ef19eb544d4551@plan9.bell-labs.com>

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

On Mon, Mar 28, 2005 at 08:20:37PM -0500, dmr@plan9.bell-labs.com wrote:
> Richard said,
> 
>  > Paper length is set by .pl command.  Troff has no concept of paper
>  > width; you adjust line length and page offset using .ll and .po
>  > respectively.  If you're using -ms macros which give a line length of
>  > 6 inches, try prefixing your input with
> 
>  >   .pl 29.7c
>  >   .po 2.88c
> 
>  > and your text should be centred on an A4 page.
> 
> This is true, but be aware that if you're using -ms,
> some of these parameters are shadowed by number
> registers in the macro package, and tend to
> get reset.  In particular, there is a PO and also
> a LL number register.  There doesn't seem to
> be a PL for .pl shadow, however.
> 
> 	Dennis

In which case these should be set by 

.nr LL whatever
.nr PO whatever

I assume. Just for completeness' sake, I also needed to use
bullets, which I could only find in tmac.msc (which changed my
font to one without serifs, which was terrible). Russ gave me
the tip to simply use

.IP \(bu
Some text

to make bulleted lists. This has worked for me just fine and is
a bit less complicated than the macros in -mmsc :). Geoff also
gave me a bit of help with this off-list, so I'd like to
acknowledge that here as well.

Hopefully this thread will come up a bit higher in Google next
time anybody else has this problem :)

I also thought that there was a problem with tr2post when
converting troff to postscript, but it turns out that Acrobat
Distiller was truncating the page size when importing the .ps.
I'll try printing it on A4 soon to see what happens :)

--Devon

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

      reply	other threads:[~2005-03-29  6:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-28  9:07 Devon H. O'Dell 
2005-03-28 13:40 ` Richard Miller
2005-03-29  1:20   ` dmr
2005-03-29  6:52     ` Devon H. O'Dell  [this message]

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=20050329065208.GE79414@smp500.sitetronics.com \
    --to=dodell@offmyserver.com \
    --cc=9fans@cse.psu.edu \
    /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).