[pstricks] PS code in pstricks
Franco Bagnoli
franco.bagnoli at unifi.it
Tue Aug 19 10:12:28 CEST 2003
On Mon, 18 Aug 2003, Yuri S. Ledyaev wrote:
> Hello! I use pstricks to produce PDF files for presentations.
> In particular, I am interested in launching another application from my pdf
> file.
\newsavebox{\MyBox}
\newcommand{\StartApp}[2]{%
\savebox{\MyBox}{#1}%
\vskip2cm
\pdfannot width \wd\MyBox height \ht\MyBox depth \dp\MyBox{
/Subtype /Link
/A <<
/S /Launch
/F (#2)
>>
%/Border [16 16 0]
}#1}
and then
\StartApp{text}{application}
(tested only on unix/linux and dvips)
--
Franco Bagnoli (franchino) <franco.bagnoli at unifi.it> (bagnoli at dma.unifi.it)
virtual location: Dipartimento di Energetica "S. Stecco"
real location: Dip. Matematica Applicata "G. Sansone", Universita' Firenze,
Via S. Marta, 3 I-50139 Firenze, Italy. Tel. +39 0554796422, fax: +39 055471787
GPG Key fingerprint = 169D 9EA5 8FD3 7EDA E43A 9830 255F BCEC 0D63 3728
More information about the PSTricks
mailing list