Consider the following example compiled with luatex.
\documentclass{standalone}
\usepackage{unicode-math}
\setmathfont{Latin Modern Math}
\begin{document}
$A_1$
\end{document}
Since Latin Modern Math is a unicode math font, I though I could copy and paste from the resulting .pdf file the two corresponding unicode characters:
u+1d434 (mathematical italic capital a)
u+2081 (subscript one)
I'd like to get: ₁
But it does not work with evince as my viewer and emacs as my editor. emacs correctly displays ₁ when copy pasted from a web page
Note that u+2081 (subscript one) does not appear in unimath-symbols.pdf.
So is | would | will it be possible to copy and paste unicode math from a luatex-generated .pdf ? If the answer is yes, how complex can the mathematical expression be?
$A_1$does not involve thesubscript onecharacter. TeX works with boxes and thus places a1from the scriptsize font in a box and lowers it below the baseline. – Henri Menke May 15 '16 at 09:48$A_{1^2}$versus$A_1^2$. – Ulrike Fischer May 15 '16 at 09:48.pdffile for OpenType math fonts. I'll stick with Heiko's answer. – cjorssen May 15 '16 at 11:03