<HTML>
<HEAD>
<TITLE>Re: [OS X TeX] Question about changing subsection name</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Because there is no such variable: Try the following:<BR>
<BR>
\documentclass[]{article}<BR>
<BR>
\usepackage[pdftex,backref,breaklinks]{hyperref}<BR>
\renewcommand{\subsectionautorefname}{section}<BR>
\begin{document}<BR>
\section{One}<BR>
<BR>
\subsection{OneOne}<BR>
\label{ss:oneone}<BR>
<BR>
XXX<BR>
<BR>
\section{Two}<BR>
\autoref{ss:oneone}<BR>
<BR>
\end{document}<BR>
<BR>
<BR>
\end{document}<BR>
<BR>
<BR>
On 15/6/08 7:00 AM, "Michael Kubovy" <kubovy@virginia.edu> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Can anyone tell me why this is failing with<BR>
<BR>
! LaTeX Error: \subsectionname undefined.<BR>
<BR>
See the LaTeX manual or LaTeX Companion for explanation.<BR>
Type H <return> for immediate help.<BR>
... <BR>
<BR>
l.2 \renewcommand{\subsectionname}<BR>
{section}<BR>
? <BR>
<BR>
***************<BR>
file<BR>
***************<BR>
<BR>
\documentclass[]{article}<BR>
\renewcommand{\subsectionname}{section}<BR>
<BR>
\usepackage[pdftex,backref,breaklinks]{hyperref}<BR>
\begin{document}<BR>
\section{One}<BR>
<BR>
\subsection{OneOne}<BR>
\label{ss:oneone}<BR>
<BR>
XXX<BR>
<BR>
\section{Two}<BR>
\autoref{ss:oneone}<BR>
<BR>
\end{document}<BR>
<BR>
***************<BR>
end<BR>
<BR>
***************<BR>
</SPAN></FONT><FONT COLOR="#800000"><FONT SIZE="4"><FONT FACE="Helvetica, Verdana, Arial"><SPAN STYLE='font-size:14.0px'><I>_____________________________<BR>
</I></SPAN></FONT></FONT></FONT><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'><BR>
</SPAN></FONT><FONT COLOR="#800000"><FONT SIZE="4"><FONT FACE="Helvetica, Verdana, Arial"><SPAN STYLE='font-size:14.0px'><I>Professor Michael Kubovy<BR>
</I></SPAN></FONT></FONT></FONT><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'><BR>
</SPAN></FONT><FONT COLOR="#800000"><FONT SIZE="4"><FONT FACE="Helvetica, Verdana, Arial"><SPAN STYLE='font-size:14.0px'><I>University of Virginia<BR>
</I></SPAN></FONT></FONT></FONT><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'><BR>
</SPAN></FONT><FONT COLOR="#800000"><FONT SIZE="4"><FONT FACE="Helvetica, Verdana, Arial"><SPAN STYLE='font-size:14.0px'><I>Department of Psychology<BR>
</I></SPAN></FONT></FONT></FONT><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'><BR>
</SPAN></FONT><FONT COLOR="#800000"><FONT SIZE="4"><FONT FACE="Helvetica, Verdana, Arial"><SPAN STYLE='font-size:14.0px'><B><I>USPS</I></B></SPAN></FONT></FONT><FONT FACE="Helvetica, Verdana, Arial"><I><SPAN STYLE='font-size:12.0px'>: P.O.Box 400400 Charlottesville, VA 22904-4400<BR>
</SPAN></I></FONT></FONT><SPAN STYLE='font-size:12.0px'><FONT FACE="Verdana, Helvetica, Arial"><BR>
</FONT></SPAN><FONT COLOR="#800000"><FONT SIZE="4"><FONT FACE="Helvetica, Verdana, Arial"><SPAN STYLE='font-size:14.0px'><B><I>Parcels</I></B></SPAN></FONT></FONT><FONT FACE="Helvetica, Verdana, Arial"><I><SPAN STYLE='font-size:12.0px'>: Room 102 Gilmer Hall<BR>
</SPAN></I></FONT></FONT><SPAN STYLE='font-size:12.0px'><FONT FACE="Verdana, Helvetica, Arial"><BR>
</FONT></SPAN><FONT COLOR="#800000"><FONT SIZE="4"><FONT FACE="Helvetica, Verdana, Arial"><SPAN STYLE='font-size:14.0px'><I> </I></SPAN></FONT></FONT><FONT FACE="Helvetica, Verdana, Arial"><I><SPAN STYLE='font-size:12.0px'>McCormick Road Charlottesville, VA 22903<BR>
</SPAN></I></FONT></FONT><SPAN STYLE='font-size:12.0px'><FONT FACE="Verdana, Helvetica, Arial"><BR>
</FONT></SPAN><FONT COLOR="#800000"><FONT SIZE="4"><FONT FACE="Helvetica, Verdana, Arial"><SPAN STYLE='font-size:14.0px'><B><I>Office</I></B></SPAN></FONT></FONT><FONT FACE="Helvetica, Verdana, Arial"><I><SPAN STYLE='font-size:12.0px'>: B011 +1-434-982-4729<BR>
</SPAN></I></FONT></FONT><SPAN STYLE='font-size:12.0px'><FONT FACE="Verdana, Helvetica, Arial"><BR>
</FONT></SPAN><FONT COLOR="#800000"><FONT SIZE="4"><FONT FACE="Helvetica, Verdana, Arial"><SPAN STYLE='font-size:14.0px'><B><I>Lab</I></B></SPAN></FONT></FONT><FONT FACE="Helvetica, Verdana, Arial"><I><SPAN STYLE='font-size:12.0px'>: B019 +1-434-982-4751<BR>
</SPAN></I></FONT></FONT><SPAN STYLE='font-size:12.0px'><FONT FACE="Verdana, Helvetica, Arial"><BR>
</FONT></SPAN><FONT COLOR="#800000"><FONT SIZE="4"><FONT FACE="Helvetica, Verdana, Arial"><SPAN STYLE='font-size:14.0px'><B><I>Fax</I></B></SPAN></FONT></FONT><FONT FACE="Helvetica, Verdana, Arial"><I><SPAN STYLE='font-size:12.0px'>: +1-434-982-4766<BR>
</SPAN></I></FONT></FONT><SPAN STYLE='font-size:12.0px'><FONT FACE="Verdana, Helvetica, Arial"><BR>
</FONT></SPAN><FONT COLOR="#800000"><FONT SIZE="4"><FONT FACE="Helvetica, Verdana, Arial"><SPAN STYLE='font-size:14.0px'><B><I>WWW</I></B></SPAN></FONT></FONT><FONT FACE="Helvetica, Verdana, Arial"><I><SPAN STYLE='font-size:12.0px'>: <a href="http://www.people.virginia.edu/~mk9y/">http://www.people.virginia.edu/~mk9y/</a><BR>
</SPAN></I></FONT></FONT><SPAN STYLE='font-size:12.0px'><FONT FACE="Verdana, Helvetica, Arial"><BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></FONT></SPAN><FONT SIZE="2"><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:10.0px'> <BR>
-------------------------- Helpful Info --------------------------<BR>
TeX FAQ: <a href="http://www.tex.ac.uk/faq">http://www.tex.ac.uk/faq</a><BR>
List Reminders and Etiquette: <a href="http://www.esm.psu.edu/mac-tex/list/">http://www.esm.psu.edu/mac-tex/list/</a><BR>
List Info: <a href="http://email.esm.psu.edu/mailman/listinfo/macosx-tex">http://email.esm.psu.edu/mailman/listinfo/macosx-tex</a><BR>
List Archive: <a href="http://tug.org/pipermail/macostex-archives/">http://tug.org/pipermail/macostex-archives/</a><BR>
Mac-TeX Website: <a href="http://www.esm.psu.edu/mac-tex/">http://www.esm.psu.edu/mac-tex/</a><BR>
<BR>
</SPAN></FONT></FONT></BLOCKQUOTE><FONT SIZE="2"><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:10.0px'><BR>
</SPAN></FONT></FONT>
</BODY>
</HTML>