[texhax] What is an "smb:" link, why is \verb| ... | creating it, and how do I stop it?

Douglas McKenna doug at mathemaesthetics.com
Sat May 17 00:05:17 CEST 2014


This is remarkably weird and unexpected.

Here is a MWE that must be viewed as a PDF file.  I'm using TeXLive 2010 and TeXShop 2.47.
Notice that I'm not relying upon either the verbatim or fancyvrb packages, yet the \verb| ... |
construction works as advertised and is not complained of by LaTeX.

%----------------------
\documentclass{article}
\begin{document}
\verb|\Test|

\verb|\\Test|

\vskip1em
Why is the second of the above two lines a clickable link (hover over it and it
says \verb|smb://Test| (as it does right here)) in the eventual PDF file?
What does ``smb:'' mean?
If this is a feature (or bug), how do I turn it off (or work around it)?
\end{document}
%-----------------------

Clicking on the link in the eventual PDF causes the Mac Finder to issue the following error:

Connection failed
The server "Test" may not exist or it is unavailable at this time.
Check the server name or IP address, check your network
connection, and then retry again.

So it appears to have something to do with a pair of backslashes inside
the \verb| ... | construction.

Doug McKenna





More information about the texhax mailing list