TransWikia.com

Link to telephone number "tel:" doesn't work outside of LaTeX editor

TeX - LaTeX Asked on July 10, 2021

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.

One 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.

Correct answer by Stefano on July 10, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP