I have some section/subsection titles with partial italicised text. With the hyperref and bookmark packages I get the required bookmarks, but the style for these partial italicised text disappears. According to this answer, it is not possible to implement this directly. My workaround consist of using the \unichar command in order to obtain the (math) italic letters (I learned this method from this question). Here is the MWE:
\documentclass{amsart}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[pdfencoding=unicode]{hyperref}
\usepackage{bookmark}
\begin{document}
% Title: Zorn lemma (d'après Zorn)
\section{Zorn lemma (\texorpdfstring{\emph{d'après}}{\unichar{"1D451}\unichar{"2019}\unichar{"1D44E}\unichar{"1D45D}\unichar{"1D45F}\unichar{"0300}\unichar{"1D452}\unichar{"1D460}} Zorn)}
\end{document}
Since no accented italic fonts are implemented in Unicode, I am using
Unicode Character 'Combining Grave Accent' (U+0300)
together with
Unicode Character 'Mathematical Italic Small E' (U+1D452)
in order to generate the character è. This is not working, though, because (I guess) the combining accent is trying to operate on the "s" character (U+1D460) as well:
A partial and unsatisfactory solution is to introduce a blank space before the "è" character:
\unichar{"1D451}\unichar{"2019}\unichar{"1D44E}\unichar{"1D45D}\unichar{"1D45F} \unichar{"0300}\unichar{"1D452}\unichar{"1D460}
(incidentally, this solution refutes my theory about the scope of the combining accent). My last resort was trying to create a specific command for the "è" character:
\newcomand{\dapres}{\unichar{"0300}\unichar{"1D452}}
But in this case I get the "Undefined control sequence" error message, even if I am not using the new command.


