groff
[Top][All Lists]
Advanced

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

Re: [Groff] Failed to pick a low-hanging (?) fruit


From: Werner LEMBERG
Subject: Re: [Groff] Failed to pick a low-hanging (?) fruit
Date: Tue, 05 Mar 2002 17:22:02 +0100 (CET)

> A couple of years ago I tried to include eps images when using the
> grodvi driver, The basis for this was the statement in the grodvi
> manual:
>
>       The groff command \X'anything' is translated into the same
>       command in the dvi file as would be produced by
>       \special{anything} in TeX; anything may not contain a newline.
>
> It kind of worked, but then new versions dvips were released, and
> the .PSPIC macro changed together with '-U' option.
>
> My failure to pick this, I think, low-hanging fruit is on
>
>       http://www.lub.lu.se/~siglun/ROFF/tmac_dvipspic.shar
>
> Beware, this is for a YE-olde groff, still using an external psbb
> program (that is gone, isn't it).

It should be rather easy to to integrate your dvi-specific stuff into
the current version of pspic.tmac -- the only thing I don't understand
are the following two lines:

  .ds hoffset hoffset=-58 \"\n[ps-offset]u
  .ds voffset voffset=-48 \"\n[ps-offset]u

what are those hard-coded values good for?


    Werner

reply via email to

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