[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#111983: tetex-bin: xdvi exits when clicking on a hyperlink to a non-existing file



Hilmar Preusse <hille42@web.de> writes:

> On 11.09.01 Guus Sliepen (guus@sliepen.warande.net) wrote:
> Hi,

>> When displaying a dvi with hyperlinks (made with the hyperref
>> package for LaTeX), you can click on links and a browser or viewer
>> will be started. However, if the link points to a regular file
>> which doesn't exist, xdvi quits. It would be more apropriate if it
>> would just continue and give a warning

Sounds as if this was a very old version of xdvi (what's the
output of `xdvi.bin -version')? I can reproduce this with 22.15
(22/8/1999), but not with 22.39 (28/05/2001) and later.

> Could you please post a minimal example! I've never worked with
> hyperref and I wouldn't like to read the whole manual, just for that
> bug. My minimal example looks like:

> \documentclass{article}
> \usepackage{hyperref}
> \begin{document}
> %\hyperlink{test.tex}{test}
> \hyperlink{manual.pdf}{test}
> \end{document}

My test file was:

\documentclass{article}
\usepackage{hyperref}
\begin{document}
\href{asldfkj}{test1}

\href{manual.pdf}{test2}
\end{document}

For the first link, 22.15 will exit, 22.39 and later will pop up
a warning:

   Can't open `file:/home/ulrich/tex/asldfkj.dvi': No such file
   or directory

For the second link, both should try to launch Acroread which
will show its own error dialog about a non-existing file.

Best,
Stefan



Reply to: