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:
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.
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
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP