[OS X TeX] opening files with hyperref?

Ross Moore ross at ics.mq.edu.au
Tue May 28 01:02:23 CEST 2002



> hi
> 
> I wondered if anyone knows how to do this?
> 
> Using hyperref, I can nicely open pdf files to windows of a particular size
> by having prepared the target pdf file by modifying the Open Options of
> Document Properties and then using \href to link to that modified pdf file.
> What I would _really_ like to do is use \href (or equivalent) to open an
> *html* file to a window of a particular size. Of course, I can imbed a
> changeScreenSize javascript inside the target file and that works fine with
> \href... 

By opening the HTML file, do you mean
 a. open it in (full) Acrobat, using Web Capture; 
or
 b. launch an external browser and show it there ?

Do you wish to, say, open a small window with just one picture,
or a short form, having none of the navigation and menus of a full window?
The sort of stuff that happens on some web-sites?
 
> Both of these methods require me to prepare the target file, pdf or html,
> beforehand. I'd like to issue a command to open the html file to a specific
> size from within the LaTeX - like I could if I was defining the link within
> an html file: there, I would initiate a javascript action attached to the
> hyperlink to open to a particular window size and to particular attributes
> (scroll, etc). 

With full Acrobat v5.05 (the latest) you can attach javascripts to any object. 
So if you can use this to construct a PDF that does what you want...
 
> But, is there any way to do the equivalent thing from a command originating
> in LaTeX through pdf? I think that javascripts can be run within pdfs, but
> it doesn't seem that this fits here...

 ...then it will be an extra step to work out how to generate such a PDF from
LaTeX source. Donald Story  (http://www.math.uakron.edu/ )  is the expert
in this kind of thing.

If others have similar experience, I'd like to hear about it too.


Hope this helps,

	Ross Moore


> thanks!
> 
> Raymond Brock  *  Professor of Physics
> 
> Department of Physics and Astronomy
> Michigan State University  *  East Lansing, MI  48824
> 
> 
> -----------------------------------------------------------------
> To UNSUBSCRIBE, send email to <info at email.esm.psu.edu> with
> "unsubscribe macosx-tex" (no quotes) in the body.
> For additional HELP, send email to <info at email.esm.psu.edu> with
> "help" (no quotes) in the body.
> -----------------------------------------------------------------


-----------------------------------------------------------------
To UNSUBSCRIBE, send email to <info at email.esm.psu.edu> with
"unsubscribe macosx-tex" (no quotes) in the body.
For additional HELP, send email to <info at email.esm.psu.edu> with
"help" (no quotes) in the body.
-----------------------------------------------------------------




More information about the macostex-archives mailing list