My question is very similar to the one @leandriis asked here. I want to cite one of my references in the title of a subsection. Since I am using hyperref
and the \cite
-command causes trouble because such a tex-statement cannot be tranlated into a pdf-bookmark, I was using \texorpdfstring
and put the \cite
-command into the first argument. But what can I put into the second argument such that basically the same output appears in the resulting bookmark, just without hyperref
in pdf-bookmark of course. I was thinking similar to @leandriis to somehow extract the number of the reference from the citation and write something like [\getnumberfromcitation{nameofbibtexentry}, Theorem A]
into the second command. Yet, this seems impossible.
Then I found the question above. And there is a solution presented for biblatex
which probably works. The problem is just that I am using bibtex
, because I want to use the bibliographystyle amsplain
which is apparently only available in bibtex
(cf. this question).
The question is: What can I do? How can I adapt the solution of @Ulrike Fischer in the question above to the case of bibtex
instead of biblatex
? I am not enough of a tex-expert to answer this on my own. Thank you very much in advance for your help!
Example of my tex-file.
\documentclass[12pt]{amsart}
\usepackage{amssymb,amscd,amsthm, verbatim,amsmath,color,fancyhdr,mathrsfs}
\usepackage{graphicx}
\usepackage{turnstile}
\usepackage{todonotes}
\usepackage[bookmarks=true]{hyperref}
\usepackage{csquotes}
\usepackage[mathscr]{euscript}
\def\tequiv{\ensuremath\sdststile{}{}}
\usepackage[letterpaper,left=2.5cm,right=2.5cm,top=2.5cm,bottom=2.5cm,dvips]{geometry}
\begin{document}
\section{Section}
\subsection{Subsection \texorpdfstring{{\normalfont(\cite[Subsection~x.y]{author})}}{What to write here?}}
\bibliographystyle{amsplain}
\bibliography{lib}
%lib.bib has an entry with key author
\end{document}