9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] p9p troff/ps problem, comparison with heirloom
@ 2011-11-11 10:11 Rudolf Sykora
  0 siblings, 0 replies; 9+ messages in thread
From: Rudolf Sykora @ 2011-11-11 10:11 UTC (permalink / 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>


^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <CAOEdRO1pfX6XwACtt7NXw1UMcnNuzJ3egzD899c_qZDi6+mBBA@mail.gmail.c>]

end of thread, other threads:[~2011-11-19 16:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-11 10:11 [9fans] p9p troff/ps problem, comparison with heirloom Rudolf Sykora
     [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

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).