TeX - LaTeX Asked on December 6, 2020
Not really a question, more of a bug I seemed to have found and fixed.
Consider the minimal code below.
documentclass{article}
usepackage[utf8]{inputenc}
usepackage[english]{babel}
usepackage{hyperref}
usepackage{varioref}
usepackage{cleveref}
begin{document}
section{Test}
label{sec:test}
Referencing test section here with ref: ref{sec:test}, and with cref: cref{sec:test}.
end{document}
When executed the cref{sec:test}
outputs ??
.
To fix it, I removed the varioref package. (Removing hyperref package works as well.)
Does anyone know why this bug occurs, and if it is possible to fix without removing the varioref or hyperref package?
To fix it, remove the varioref package or the hyperref package.
EDIT : As the comments point out, loading in order varioref, hyperref and then cleveref fixes the bug.
Answered by J. Schmidt on December 6, 2020
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP