2

When I use hyperref, my links just turn into (??).

Reproducible code:

\documentclass[12pt,a4paper,notitlepage,twoside]{article}



%\usepackage[hyphens]{url}
\usepackage[alf]{abntex2cite}  %My package for citations
\usepackage{hyperref}          %if i remove this, the references works

\begin{document}


\section{Intro}

According to \cite{test}

\bibliography{ref}


\end{document}

And I have a file (ref.bib) with this:

@misc{test,
  author = {Bryce Graham},
  title = {Hydrological Modelling:
How and Why it is Used},
  year = 2009,
  url = {https://dpipwe.tas.gov.au/Documents/Hydrological%20modelling_how%20and%20why%20it%20is%20used.pdf},
  urlaccessdate = {08/07/2021}
}

Compiler: XeLaTeX

1
  • 3
    well if you look into the document of abntex2cite and search for hyperref, you can see that it requires that hyperref is loaded before. Jul 12 at 8:34
5

How about this?

\documentclass[12pt,a4paper,notitlepage,twoside]{article}
\usepackage{hyperref}       
\usepackage[alf]{abntex2cite}   

\begin{document}
\section{Intro}

According to \cite{test}

\bibliography{ref}
\end{document}

enter image description here

1
  • 1
    Technically correct, but you might want to explain what you changed,...
    – campa
    Jul 12 at 13:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.