I was wondering if there is an "easy" way to prevent selection on furigana produced by \ruby
command so it's easier to select>copy>paste on translator or other place.
%!TEX TS-program = xelatex\documentclass[12pt]{article}\usepackage{xeCJK}\usepackage{ruby}\setCJKmainfont{Microsoft JhengHei}\begin{document} \ruby{赤}{あか}いです,そして\ruby{新}{あたら}しいです\end{document}
for instance, if i copy the following piece (in the result pdf)
And then i go and paste it (on the browser, for example) I get : そしてあたら
新しいです. The あたら
part is the one i want to avoid to be selected.
I was hopping for some latex magic like
\ruby{赤}{あか}いです,そして\ruby{新}{\UNSELECTABLE{あたら}}しいです
Thanks in advance.