Newsgroups: comp.text.tex
> I read from the book that I can use \S\ref{subsubsec:webcite} and > p.~\pageref{subsubsec:webcite} to reference the numbers. > > But how can I refer to the name of another section? Thanks
Get the titleref package from CTAN.
Scott
get from http://www.ctan.org/tex-archive/macros/latex/contrib/other/misc/titleref.sty
cp titleref.sty $TEXMF/tex/latex/misc/ chmod 644 $TEXMF/tex/latex/misc/titleref.sty
# texhash texhash: Updating /usr/share/texmf/ls-R... texhash: Updating /var/lib/texmf/ls-R... texhash: Done.
Use "\titleref" just like "\ref" and "\pageref".
% Titles for numbered sectioning units and for floats with captions are % the same as the respective TOC, LOF, or LOT entry (even when no TOC is % it will be used for the "\titleref".
% The title of the current section is also available without "\label": % Use the command "\currenttitle" to generate a "\titleref" to the current % section.