0

My moderncv-created resumé compiles without any sort of error: the list of publications regularly appears in its own section, no problems on that side.

However, even though I have inserted the urls of my journal papers in my .bib file, publication entries in the resulting pdf document are typed in plain text, devoid of any link.

Links work fine in all other sections of my CV.

Bibtex handles my bibliography file.

A MWE:

\PassOptionsToPackage{dvipsnames}{xcolor}  
\documentclass[11pt,a4paper,sans]{moderncv}

\moderncvstyle{banking}
\moderncvcolor{black}

\usepackage[latin1]{inputenc}  
\usepackage[scale=0.8]{geometry}
\usepackage[final]{pdfpages}
\usepackage{xpatch}
\usepackage{url}
\setlength{\footskip}{33pt}

\name{I am}{Lingo}
\address{Job title}  % I have put my job title in the address section
\extrainfo{address}  % and my address as extrainfo 
\phone[mobile]{+1(234)567890}                
\email{[email protected]}

\AtBeginDocument{\hypersetup{
    pdftitle={CV}, 
    pdfauthor={Lingo}, 
    colorlinks=true,
    linkcolor=gray,
    urlcolor=gray
}}

\begin{document}
\makecvtitle

\section{Education}
\cventry{year--year}{Degree}{Institution}{City}{\textit{Grade}}{Description}
\cventry{year--year}{Degree}{Institution}{City}{\textit{Grade}}{Description}

\section{Experience}
\cventry{year--year}{Job title}{Employer}{City}{}{Description line 1}
\cventry{year--year}{Job title}{Employer}{City}{}{Description line 1}

% other sections

\nocite{*}
\bibliographystyle{plainyr}
\bibliography{publications} 

\end{document}     

and my publications.bib file has entries such as

@article{Lingo2016,
    title = {A generic {Title}},
    journal = {Yellow Pages},
    url = {\url{https://www.google.com}},
    year = {2016},
    volume = {3},
    pages = {251-266},
    author = {\textbf{Lingo, I A.} and Doe, J.}
} 
7
  • 1
    Looking at tex.stackexchange.com/questions/35977/… I would think it may be a problem with the bibliographystyle. Have you given some others a try? Commented Oct 5, 2020 at 23:25
  • Hi @MatthiasArras it doesn't work with the plain bibliography style either.
    – Giogre
    Commented Oct 5, 2020 at 23:31
  • So you do get the url entry, it's just not a hyperlink? Commented Oct 5, 2020 at 23:45
  • I did not get the url entry as well. But going through the link you provided I did as suggested in one of the answers, i.e. to type note={\url{http://...}} instead of url={\url{http://...}} as I have done above and it works!! Now each publication shows the url in hypertext.
    – Giogre
    Commented Oct 5, 2020 at 23:56
  • 1
    I guess, it would make sense to open a new question for that - assuming no answer for it exists already on the platform. Since the provided link contains at least a workaround, I don't think me repeating it adds anything. I still think this can be solved more elegantly, without the need to rewrite all your urls as notes. But in the meantime, good luck with your job application. Commented Oct 6, 2020 at 0:10

0

Browse other questions tagged .