9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: rudolf.sykora@gmail.com (Rudolf Sykora)
Subject: [9fans] p9p troff/ps problem, comparison with heirloom
Date: Fri, 11 Nov 2011 11:11:03 +0100	[thread overview]
Message-ID: <CAOEdRO1pfX6XwACtt7NXw1UMcnNuzJ3egzD899c_qZDi6+mBBA@mail.gmail.com> (raw)

Hello,

In my new linux installation + p9p I found myself having problems with
using p9p troff.
To ilustrate, consider the input for troff

.\".do xflag 3
.\".lc_ctype en_US.utf8
em-dash:?
.br
brackets, big delta, sqrt:
.EQ
left ( { ?? - sqrt 2 } over 5? right )
.EN

which is then used with
9 eqn a | 9 troff | 9 tr2post | 9 psfonts > p9p.ps

The screenshot of the result is attached in p9p.png. You see no
em-dash, no big delta (tilde instead), the 1st half of the sqrt sign
missing and the second half wrongly positioned.

For comparison I supplied the same example, with uncommented fist two
lines, to Heirloom troff:
$HEIRLOOM/eqn a | $HEIRLOOM/troff | $HEIRLOOM/dpost > heirloom.ps
and the respective result is attached in heirloom.png.
In the heirloom case, the situation is better (em-dash, big delta, 1st
part of the sqrt is there), however, the second part of the sqrt is
still wrongly positioned.

If anyone can help me out of this mess, I'd be grateful!

Thank you
Ruda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p9p.png
Type: image/png
Size: 2362 bytes
Desc: not available
URL: <http://mail.9fans.net/private/9fans/attachments/20111111/93cea785/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: heirloom.png
Type: image/png
Size: 2514 bytes
Desc: not available
URL: <http://mail.9fans.net/private/9fans/attachments/20111111/93cea785/attachment-0001.png>


             reply	other threads:[~2011-11-11 10:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-11 10:11 Rudolf Sykora [this message]
     [not found] <CAOEdRO1pfX6XwACtt7NXw1UMcnNuzJ3egzD899c_qZDi6+mBBA@mail.gmail.c>
2011-11-11 15:56 ` erik quanstrom
2011-11-11 16:33   ` Rudolf Sykora
     [not found]     ` <CAOEdRO2GLwvQqYMk4OQ+nqJ2pLM51DqaGaBNJf=9n+Qn7r3aLQ@mail.gmail.com>
2011-11-11 18:38       ` Rudolf Sykora
2011-11-11 19:06         ` Rudolf Sykora
2011-11-11 20:02           ` Gorka Guardiola
2011-11-12 20:11             ` Rudolf Sykora
2011-11-19 16:50           ` Rudolf Sykora
     [not found]   ` <CAOEdRO3Gg7=rap_kUXPdO0jMjfSFebBpNGyCYz+9S5Tki2vnjA@mail.gmail.c>
2011-11-11 17:30     ` erik quanstrom

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=CAOEdRO1pfX6XwACtt7NXw1UMcnNuzJ3egzD899c_qZDi6+mBBA@mail.gmail.com \
    --to=rudolf.sykora@gmail.com \
    /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).