I've got \hyperrefs mostly working, but references to one section — I've noticed two of them so far — insist on taking me to the top of the \section rather than to the desired item below. The source paragraph looks like this:
\section{The Cert workbook:} The Cert workbooks created by the HomeOffice program have the filename “\tit{RunLabel} \tit{manager’s AD ID}.xlsx”, where the \tit{RunLabel} is a string you designate in \hyperref[setRunLabel]{the RunLabel Setting}. Each in-house Cert contains four or five worksheets....
The target area looks like this:
\item[RunLabel:]\label{setRunLabel} The Cert workbooks are created in a folder designated by....
Since most \hyperref links work properly, but the ones pointing to items in this particular section point to the top of the section rather than to the specific item, I suspect I've done something wrong in setting up the chapter or section. But I don't see any problem. Maybe you will:
\appendix
\chapter{Settings in Cert.xlsm}\label{AppSettings}
In Cert.xlsm is a worksheet named Settings....
\section{Description of the Settings worksheet:}
The Settings can be listed....
\section{How Settings work:}
Settings have different values depending....
\section{Description of the individual settings (in alphabetical order):}
\begin{description}[itemindent=-5mm]
\item[ADCooked:]\label{setADCooked} The path and filename of the processed (“cooked”) AD file....
Can anyone see what I'm doing wrong?
\hyperrefyou can use\hypertargetinstead of\label, no\refstepcounterneeded. – John Kormylo Jan 17 '23 at 05:16