[OS X TeX] Question about changing subsection name

Michael Kubovy kubovy at virginia.edu
Sat Jun 14 17:00:17 EDT 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://email.esm.psu.edu/pipermail/macosx-tex/attachments/20080614/71ff0950/attachment.html>


More information about the MacOSX-TeX mailing list