I find a problem writing paper in the recently updated TeXworks. When I use \cref{} in codes, the figures and tables in the complied PDF can not be linked to the corresponding floats. That's to say, when I click, e.g., "Fig. 3" in text, it can't go to the float Fig. 3.
However, there's nothing wrong when the same .tex file is complied in the TeXworks 2022.
The warning information is :
And this is the .tex file's start:Package hyperref Warning: Suppressing link with empty target on input line ...
Code: Select all
Code, edit and compile here:
\documentclass[aip,graphicx]{revtex4-1}\usepackage[hidelinks]{hyperref}\usepackage{amsmath}\usepackage[nameinlink]{cleveref}\usepackage{graphicx,caption,subcaption}\usepackage{booktabs,array}
I would be sincerely grateful to anyone who can help!