I'm making my CV with Overleaf (as an article) and I'm trying to make the telephone number clickable using the tel: protocol. If I click on it in the pdf view inside of Overleaf, then Google Chrome opens a window that allows me to select the device with which I want to call. But when I export the project in a pdf format and I open it with pdf readers, the link doesn't work.
Here I'll list the pdf readers/viewers in which I tested the link:
- Foxit Reader and Adobe Acrobat Reader: the link opens Chrome and nothing else
- Built-in pdf viewer of Chrome, Edge, and Opera: does nothing
- Built-in pdf viewer of Firefox: ask to choose to open the link with an external app (Skype, Chrome, Edge, Microsoft Contacts, etc...)
Here is the MWE:
\documentclass{article} \usepackage{hyperref} \usepackage{fontawesome} \begin{document} % a couple of tests test 1: \href{tel:+012345}{0000} test 2: \href{tel:+012345}{\faPhone\ telephone number} \end{document} I also used the fontawesome package because I would like to add the telephone icon (I used the letter icon for the email with mailto: and it works smoothly).
Why the tel: protocol doesn't seem to work outside of the Overleaf environment?
Thanks in advance for the answers!
Edit: I tried to open the link in an android smartphone and it worked correctly. Maybe it's just a windows 10 problem.
Edit2 & current answer: As @Marjin pointed out, the link works only on mobile phones. The only way to make it work on a PC is to open the pdf with Chrome, right-click on the link and there is the option to call from the mobile phone.
callto:is better supported thantel:? On my system (Ubuntu Linux) that tries to open a calling program, whereastel:does nothing. Of course it is very viewer- and OS-dependent, so you can't count on somebody that reads your cv to be able to click the link to call you.callto:doesn't work at all, neither in Overleaf nor in any other pdf viewer. I guess it is how you guys are saying, that is not a LaTeX related issue. Too bad, it would have been very useful (and cool) to have it working.tel:protocol was mainly intended to be used on mobile devices that have a native call functionality, and pdf links will work correctly on such devices. For desktop OS'es such as Windows the support is much more limited. See also for example blog.adobe.com/en/publish/2015/01/07/…, where Abode mentions that "If the recipient opens the PDF on a desktop or tablet device, the link will be ignored".