[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Links in postscript
From: |
Albert Kinderman |
Subject: |
Re: Links in postscript |
Date: |
Sun, 21 Oct 2001 08:24:21 -0700 |
According to the pdfmark primer (a chapter taken from WEB Publishing
with Acrobat/PDF by Thomas Merz), the border parameters [x x x] define
the rectangle's appearance - "line width and line dash." [0 0 0] is no
border. If Merz is correct and if the last number is the width of the
border line, then the first two numbers would define how the border is
dashed - how long and how far apart.
I know this isn't the answer, but the solution might come from
experimentation (which I haven't done).
On the other side of the issue, I sometimes want to add pdfmarks to my
postscript output, for example to put a live url in a ps document for my
web site. I do this by editing my lout output by hand. Would you
consider adding some pdfmark capability to lout to generate the correct
pdf/ps code directly? If the capability is already there, I don't know
how to find it.
Al
Jeff Kingston wrote:
>
> Does anyone want to comment on the issue raised below? I agree with
> Dave that the black rectangles you get in 3.24 are unsightly, so
> I have modified Lout to implement what his sed command does. However
> Dave speaks as though one would want this to be optional, which I
> haven't done because I don't see why.
>
> Also if anyone can tell me what the first two numbers in [0 0 0]
> are for I would be grateful. The pdfmark reference manual I have
> calls them "horizontal corner radius" and "vertical corner radius",
> which leaves me none the wiser except that I suspect I don't care
> about it much, whatever it is.
>
> Jeff Kingston
>
> On Mon, 24 Sep 2001 19:04:02 -0500, Slomium Catfish wrote:
> >
> >
> > I'm using version 3.24 of lout. This version generates links in the
> > postscript for, as an example, the table of contents. I convert the
> > postscript to pdf via Acrobat Distiller. The generated pdf has a black
> > rectangle around each linked item in the contents.
> >
> > Would it be possible to include options in lout to control the appearance
> of
> > links? Currently, i run a korn shell script (included at end of message)
> > over the postscript to make the links invisible.
> >
> > I realize that there are other, far more important things that could be
> > worked on in Lout, so, if including these options is at all a hassle,
> please
> > let this fall to the bottom of the request list.
> >
> > Thanks,
> > Dave
> >
> > #
> > # Makes links with rectangles plain for Lout postscript output.
> > #
> > infile=${1:?"Missing Filename"}
> > for fid in $@
> > do
> >
> > outfile=${fid%.ps}_wl.ps
> > sed "s/\/Subtype \/Link/\/Border [0 0 0] \/Subtype \/Link/g" $infile >
> > $outfile
> > print $outfile
> >
> > done
--
Albert Kinderman California State University, Northridge
Department of Management Science address@hidden