I get the following error when trying to use \MakeTextUppercase to customize the table of contents:
! Undefined control sequence.
\find@pdflink ...ode \protected@edef \Hy@testname
{#2}\ifx \Hy@testname \@em...
l.2 ...entsline {chapter}{Contents}{1}{section*.1}
Any idea of what's going on? I've included a minimum example below for testing.
\documentclass[a4paper, 10pt, english]{memoir}
\usepackage{babel}
\usepackage{csquotes}
\usepackage{textcase}
\usepackage{lipsum}
\usepackage{hyperref}
\renewcommand{\cftchapterfont}{\MakeTextUppercase}
\begin{document}
\tableofcontents
\chapter{Test}
\lipsum
\end{document}




hyperref, and the problem is related to howmemoirandhyperrefinteract. See this thread on comp.text.tex for related discussion. – Alan Munn Aug 14 '11 at 19:07