9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] troff and ps related
Date: Wed,  8 Jul 2009 08:13:29 -0400	[thread overview]
Message-ID: <ae130bcd9dd67adc8489aa8fba7a184b@quanstro.net> (raw)
In-Reply-To: <a560a5d00907080449t69db3725q4ce854f743debd3b@mail.gmail.com>

> can anybody tell me why whatever .ps about troff/eqn I print has
> misplaced lines?
> E.g. quite generally, lines that make up tables either don't touch, or
> stick out somewhere...

does it look bad with proof?  if so, this is generally
because of font problems.  i cribbed this from someone
and used it for the diskless fs and nupas papers.
you might not have a macros.ms; they're optional.

TARG=nupas.ps nupas.pdf

all:V: $TARG

%.ps:DQ:	%.ms
	eval `{doctype macros.ms $stem.ms} | \
	lp -m.9 -dstdout >$target

%.pdf:DQ: %.ps
	cat /sys/doc/docfonts $stem.ps >_$stem.ps
	ps2pdf _$stem.ps $stem.pdf && rm -f _$stem.ps

%.show:VQ:	%.ps
	page -w $stem.ps

- erik



  reply	other threads:[~2009-07-08 12:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-08 11:49 Rudolf Sykora
2009-07-08 12:13 ` erik quanstrom [this message]
2009-07-08 14:27 ` Russ Cox
2009-07-08 15:03   ` Rudolf Sykora
2009-07-08 15:29     ` Russ Cox
2009-07-09 14:53       ` Rudolf Sykora
2009-07-09 16:54         ` hiro
2009-07-09 17:59           ` yy
2009-07-08 16:08     ` Dan Cross

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=ae130bcd9dd67adc8489aa8fba7a184b@quanstro.net \
    --to=quanstro@quanstro.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).