Osamu Aoki <os...@debian.org> wrote: > Hi, > > On Sat, May 21, 2011 at 09:12:30PM +0200, Frank Küster wrote: >> Osamu Aoki <os...@debian.org> wrote: >> >> > I made minimum LaTeX code and its pdf. File names ending with pdf or >> > just filename without extension causes broken link in blue. >> >> Hm, any idea what is "broken" with them? Is there something in the >> hyperref documentation that might explain why they have a different >> color? > > "texdoc hyperref" did not help me.
According to my tests with acroread, the blue ones open as documents in the pdf viewer, whereas the red ones open as links in the browser (which then uses a pdf viewer for display). >> The strange thing is: In acroread, they work. The first one gives the >> developers' reference, the next blue ones give "file not found errors". >> The red ones instead give a "Security warning" dialog box: The document >> is trying to connect to file:///x.pd. If you trust the site, choose >> Allow. If you do not trust the site, choose Block. After choosing >> Allow, the file not found error is in firefox, not acroread. > > Here all blue ones are dead and red ones works as long as you put files > there. With which program did you test? > file:///x.pd means you need file as /x.pd . Did you put there? I know, but I don't think it matters much. I get the "buggy" behavior with the free viewers: For me, clickin on any blue link in xpdf simply does nothing, no matter whether the file exists or not. Klicking on a red link opens the file (or the file-does-not-exist message) in a browser. In okular, the behavior of the blue links is the same (nothing), whereas the red links open in okular. Evince behaves like okular. acroread, as I said, can cope with both types of links. I find it unlikely that Adobe Reader has a feature to work around hyperref bugs, and nearly equally unlikely that Heiko and Sebastian designed hyperref according to the implemenation in Reader instead of the PDF specification. So this would imply that it is a bug in the viewers. I am not sure enough, though, to reassign. >> So these links have something about them that makes them non-functional >> and blue in free viewers, but they work in acroread... > > Maybe security concern.... (I am not on windows now. I will check it > later.) I have only checked on Linus, not on Windows so far. If anyone is interested, I could check with OSX's Preview. Regards, Frank -- Frank Küster Sprecher B90/Grüne OV Miltenberg und Umgebung VCD Miltenberg, ADFC Aschaffenburg-Miltenberg Debian Developer (TeXLive) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org