[OS X TeX] Question about changing subsection name

Michael Kubovy kubovy at virginia.edu
Sat Jun 14 23:00:17 CEST 2008


Can anyone tell me why this is failing with

! LaTeX Error: \subsectionname undefined.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
  ...

l.2 \renewcommand{\subsectionname}
                                   {section}
?

***************
file
***************

\documentclass[]{article}
\renewcommand{\subsectionname}{section}

\usepackage[pdftex,backref,breaklinks]{hyperref}
\begin{document}
\section{One}

\subsection{OneOne}
\label{ss:oneone}

XXX

\section{Two}
\autoref{ss:oneone}

\end{document}

***************
end
***************
_____________________________
Professor Michael Kubovy
University of Virginia
Department of Psychology
USPS:     P.O.Box 400400    Charlottesville, VA 22904-4400
Parcels:    Room 102        Gilmer Hall
         McCormick Road    Charlottesville, VA 22903
Office:    B011    +1-434-982-4729
Lab:        B019    +1-434-982-4751
Fax:        +1-434-982-4766
WWW:    http://www.people.virginia.edu/~mk9y/




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/macostex-archives/attachments/20080614/71ff0950/attachment.html>


More information about the macostex-archives mailing list