Thanks for figuring the out. Indeed PDFKit just tries to detect text that may look like links in a very broad way to create fake links. You can also notice this when you hover the areas, you’ll get a little arrow icon on the right which gives a popup when you click it. That may make sense for actual URLs, like http:// URLs or file::// URLs. However I really think they went a little overboard with arbitrary numbers without any additional characteristic like a scheme. I guess Apple will call this a feature rather than a bug.
I don’t think this should be done (apparently some of Apple’s own developers also think so, given that they block it in Preview). So I have made Skim to just beep for tel: links for the next release. Christiaan > On 25 May 2020, at 05:37, Thomas Schneider via Skim-app-users > <[email protected]> wrote: > > Steven: > >> Getting it with this: >> \documentclass[11pt]{article} >> ... > > Thanks! I ran that through LaTeX and displayed it on macOS 10.15.4 > using Skim 1.5.9. Indeed, when I click on some numbers in the table, > FaceTime pops up offering to "Click call to make this call"! > > I launched it with Acrobat Reader and didn't have the effect. > (However, when I tried to get the version with 'About', Acrobat reader > failed with 'not responding' beach ball When I reported the problem to > Apple, I got the version is 20.009.20065. Maybe it's just an old > version. Who needs it when we have the wonderful Skim? ;-) > > With Preview 11.0, the mouse becomes a pointer hand (as with the other > two) but I get a tone when I click on a number. > > The preprint of our recent publication has a table on page 14: > > https://alum.mit.edu/www/toms/papers/lattice/lattice.pdf > > The mouse pointer turns into a hand over those numbers, but does NOT > pop up. Those numbers have decimals in them so don't look like phone > numbers I suppose. > > minimizing your example even further: > > \documentclass[11pt]{article} > \begin{document} > \begin{table} > \centering > \scriptsize > \begin{tabular}{lrrrrr} > \hline\hline > &num.unique &missing.values &numzero &zero.or.missing > &observed.nonzero\\ > & 276 & 16943 & 939 & 17882 & 373 \\ > \hline > & 34 & 124.2 & 0 & 124.2 & 18131 \\ > \hline > \hline\hline > \end{tabular} > \caption{\small\it blah blah. } > \label{tab:missing} > \end{table} > \end{document} > > The top line on the right shows up as phone numbers, > but adding the '.2' apparently stopped that. > > If I create a file in the Terminal with a phone number-like set of > digits and then highlight it, a right click provides options for: > > Call [the number] Using iPhone > FaceTime > FaceTime Audio > Message [the number] > > If I highlight some text, those options are not shown. > > So apparently the macOS is looking for phone like things and will > provide you with the option to call if it reognizes something ... As > they say, it's a feature, not a bug! > > Ok, let's see if that's true. > > google: > macOS phone number recognition > https://www.google.com/search?&q=macOS+phone+number+recognition > > https://discussions.apple.com/thread/7630016 > Q: How do I disable phone number recognition on a mac > >> When I type numbers of 10 or more digits into Calendar events, >> Notes, and I think some other places, they become a link that brings >> up FaceTime whenever I click on them (e.g., to make a correction). >> None of these are ever phone numbers. I have no use for and do not >> want to use any applications that exhibit this behavior. How can I >> disable it on my Mac, so no numbers are ever treated as phone >> numbers, unless of course they are entered into a field that is >> specifically defined as a phone number (e.g. in Contacts)? >> >> Posted on Aug 4, 2016 8:01 PM > > LOL!!! There you have it!! > > Rysz answered: > >> Aug 5, 2016 9:43 AM in response to Raptor >> >> I don't believe there is a way to turn this off, although there >> might be a way via Terminal commands. > > Tom > > Thomas D. Schneider, Ph.D. > Senior Investigator > National Institutes of Health > National Cancer Institute > Center for Cancer Research > RNA Biology Laboratory > Biological Information Theory Group > Frederick, Maryland 21702-1201 > [email protected] > https://alum.mit.edu/www/toms _______________________________________________ Skim-app-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/skim-app-users
