groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Groff] Position Images with PSPIC.


From: Ralph Corderoy
Subject: [Groff] Position Images with PSPIC.
Date: Tue, 14 May 2002 19:01:46 +0100

Hi,

I've moved to a new installation and although I'm sure I've got this
sorted in the past I've having problems this time around.  I'm using A4
paper.  Here's my groff input.

    .pl 29.7c
    .ll 19c
    .po 1c
    .sp |14.85c
    \v'|14.85c'\D'l 19c 0'
    \v'|1c'\Z'\D'l -0.9c -0.9c''\h'|19c'\Z'\D'l 0.9c -0.9c''
    \v'|28.7c'\Z'\D'l -0.9c 0.9c''\h'|19c'\Z'\D'l 0.9c 0.9c''
    \v'|1c'\h'|1c'1
    .PSPIC 127.ps 3c
    \v'|15.85c'\h'|1c'2
    .PSPIC 127.ps 4c

Processed with `groff in >out.ps' with 127.ps being

    127.ps: PostScript document text conforming at level 2.0 - type EPS

I've altered paperlength.

    $ grep paperlength /usr/share/groff/1.17.2/font/devps/DESC
    paperlength 841890

I expect a line across the middle of the page, plus four diagonal lines,
each (1cm, 1cm) in from the corner of the page and stoping just short of
the corner.  Then I'd like the first image to appear at in the top half
of the page, and the second in the bottom half.

    \   /
     img
     ---
     img
    /   \

There seems to be two problems.  All the lines are about 8.3mm further
down the page than I'd expect, probably everything else is as well.

Then both the images appear in the bottom half of the page, despite the
`1' and `2' text appearing roughly in the expected places.

Any tips gratefully received.


Ralph.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]