I need a solution to the following:
-------------------------------------
I want to add an entry to the table of contents using
Code: Select all
\addcontentsline{toc}{subsection}{name}
Instead I want to use a different shorter name.
( Using: pdflatex & miktex 2.8 )
-------------------------------------
Is this possible?
If so how?
Thanks in advance

Minimal example code:
Code: Select all
\documentclass[a4paper]{report}
\usepackage[colorlinks=true,pdfborder={0 0 0},pdfpagelabels]{hyperref}
\begin{document}
%------------------------------
\pagestyle{plain}
\tableofcontents
\cleardoublepage
%------------------------------
\chapter{one}
test
\newpage
test2
%------------------------------
% I want to add an entry to the table of contents
% But I want a different entry name in the PDF - bookmarks!
\phantomsection
\addcontentsline{toc}{subsection}{Really long name that looks good in table of contents but is annoying in the bookmark section!}
%------------------------------
\end{document}