The objective is to make a list of Japanese vocabularies with Kanji stroke order for the main characters, its furigana (small kana characters placed above the main characters), and its meaning (in English).
I have KanjiStrokeOrders font installed in my machine. I download it from this site (click).
\documentclass[border=12pt,12pt,preview,varwidth]{standalone}
\usepackage{xcolor}
\usepackage{fontspec}
%\usepackage{xeCJK}
\usepackage{ruby}
\renewcommand\rubysep{.05ex}
\AtBeginDocument{\fontsize{20}{20}\selectfont}
\let\temp\ruby
\renewcommand\ruby[2]{\temp {\fontsize{60}{60}\fontspec{KanjiStrokeOrders}\selectfont#1}{#2}}
\def\mean#1{: \textcolor{red}{#1}}
\begin{document}
\begin{enumerate}
\item \ruby{会}{かい}\ruby{社}{しゃ} \mean{company}
\item \ruby{朝}{あさ} \mean{morning}
\end{enumerate}
\end{document}
without xeCJK
Without xeCJK the main characters appears but their furigana disappear.

with xeCJK
With xeCJK the furiganas appear but the main characters no longer use KanjiStrokeOrder fonts.

Question:
How should I select the font to achieve my objective mentioned above?




xelatexbut I actually want to usepdflatexif possible. – kiss my armpit May 17 '14 at 15:35