I am using alternate chapter and section numbering shown here:
Code: Select all
\def\thechapter{\Roman{chapter}}
\def\thesection{\Alph{section}} %These 2 lines make Chapters be labled by Roman Numerals and Sections labled by letters.
Code: Select all
\documentclass{book}
...
\chapter{chap-name}
\section{section-name}
\label{my-label1}
\begin{enumerate}
\item text \label{my-label2}
...
\end{enumerate}
How would I go about doing this? The hyperref manual and a search for \autoref on here were not very helpful in this regard.
EDIT: I realize after thinking about this a little further that there are actually 2 questions here: How do I get this behavior for renamed sections/chapters and How do I get labels in lists to also print the section and chapter they are in?