I am using the commands
\usepackage{hyperref}
\hypersetup{pdftex,colorlinks=true,allcolors=black}
\usepackage{hypcap}
to create clickable links in the index and references, and also to create an index in the bookmarks tab in .pdf readers.
It works as intended except for the fact that math symbols don't display right, they show something close to the tex code. Is there any way to fix this?
This what happens:
Red arrows should be $\sigma(E,E^*)$ and $W^{1,p}_0(\Omega)$. You get the point.

\textsuperscriptwill not work here at all. The best you you can achieve is\textsuperioroneetc. – Jul 08 '16 at 21:15