I wanted to make some flashcards for learning japanese. I've found the flashcard class and some japanese output package (ucs, CJK). But they don't seem to work together. I've coded the following as an example:
\PassOptionsToPackage{a4paper}{geometry}
\documentclass[avery5371,frame]{flashcards}
\usepackage[encapsulated]{CJK}
\usepackage{ucs}
\usepackage[utf8]{inputenc}
\usepackage[english,german,brazilian]{babel}
\newcommand{\cjktext}[1]{\begin{CJK}{UTF8}{cyberbit}#1\end{CJK}}
%\cardbackstyle[\small\selectlanguage{english}]{empty}
%\cardfrontstyle[\selectlanguage{german}\Large]{headings}
\cardfrontfoot{\cjktext{日本語}}
\begin{document}
\begin{flashcard}{\cjktext{がくせい}}
1) student
\end{flashcard}
\end{document}
The *.pdf file was build without any errors by pdflatex, but the *.pdf itself doesn't contain any of the japanese character.
Does anyone know how I could fix this, or does perhaps anyone know packages or classes which are more adequate here?