[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Concrete definition/macro problem, connected with Re: Lout syntax et
Valeriy E. Ushakov
Re: Concrete definition/macro problem, connected with Re: Lout syntax etc.
Mon, 20 Jul 1998 20:25:42 +0400
On Mon, Jul 20, 1998 at 05:15:48PM +0200, Michael Piotrowski wrote:
> As you might remember, I've already played around with pdfmark generation
> some time ago. This project is currently on hold due to exams, but I
> intend to pick it up again afterwards.
Oops. I do remember. I'm terribly sorry I didn't mentioned your post
to the list about your experiments with pdfmark. My most sincere
> > Since pdfmark needs page coordinates for several attributes, it's
> > impossible to (ab)use @Graphics (that puts you in the gsave/grestore
> > sandbox) to sprinkle `pdfmark' in the PostScript output.
> For the functionality I have, @Graphics is sufficient, and I think it would
> be for most other features, too. You can break out of the "sandbox" and I
> remember doing it once for pdfmarks, but in the current code I can't find a
> trace of it. So either it proved to be unnecessary, or I've thrown it away
> because it was useless without more Lout code (the PostScript did work,
> though), or I simply can't find it right now.
[In fact in the paragraph you quoted I allude exactly to your experiments.]
While distiller does compute the page coordinates for the /Rect from
[0 0 xsize ysize], GSview, unfortunately, is not that sophisticated.
At least my attempts at generating pdfmark distills correctly, but
GSview draws the link in a weird place and complains that the target
for the link is unknown.
address@hidden | Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen