I am preparing a presentation in beamer including some sections and subsections. However, I want the section numbers and subsection numbers appear in the PDF Bookmarks. I used the following code but in the TOC, the section number appears twice.
\section[First Section]{\S~{\protect\ref{s1}} First Section}\label{s1}
How can I have the following output for the PDF Bookmarks and the TOC?
\mysection
combining\addcontentsline
and\pdfbookmark