Basically caption is not compatible to the localanchorname option as it sets the destination name in a group. I don't think that the option is very useful, it is much better to put the label where it belongs, but if you need it you will have to reset the destination after the group: \documentclass{article} \PassOptionsToPackage{% localanchorname% }{...


This is set using the pdf:docinfo special \documentclass{article} \special { pdf:docinfo << /Title (My very first paper) /Author (Gary Gnu)>> } \begin{document} ... \end{document}


Use an additional counter: \documentclass[a4paper,pra,aps,11pt]{revtex4-2} \usepackage{float} \usepackage{hyperref} \usepackage{amsmath,amssymb} \usepackage[english]{babel} \usepackage{longtable} \usepackage{capt-of} \newcounter{abstable} \renewcommand\theHtable{\arabic{abstable}.\thetable} \begin{document} \captionof{table}{test A} \begin{longtable}{l} \...


The statement that \newlabel requires six arguments under hyperref compared to the default two is not correct. hyperref still only uses a two-argument \newlabel, but rather puts five arguments inside the second; the default is to pack only two elements in the second argument... To see this in better detail, consider the difference in how \label is defined, ...


Use the bookmark package instead: \documentclass{book} \usepackage{bookmark} \begin{document} \part{A} \section{B} \end{document}

Only top voted, non community-wiki answers of a minimum length are eligible