This is a tool to generate printable kanji flashcards, because the free existing sets I found were not satisfying to me. The goal is to have the flashcards:
Multilingual support was an early goal, but the current state of dictionaries for language other than English makes it less promising. French is supported, with results not on par with the English version (fewer compounds, more 'things bigger than their boxes' cases, etc.).
stack build
stack exec ichimiginikarasu-exe -- -f resources/jpn_words_girardi_kelly -j resources/JMdict -k resources/kanjidic2.xml -n mydeck -i inputfile > mydeck.tex
where 'inputfile' is the text file to get kanjis from, and 'mydeck' is the name of the deck (appears top right of the flashcards front).
Other parameters can be changed to load custom resources.
xelatex mydeck.tex
Launch options are available using:
stack exec ichimiginikarasu-exe -- -h
Grepping 'error' from the latex compilation can help identify potential typesetting problems (content too large and overlapping typically):
xelatex mydeck.tex | grep 'error'
Lots of existing resources were necessary to create this tool and flashcards. In no particular order:
See the LICENSE file for details, and these sites for similar resources:
http://ftp.monash.edu.au/pub/nihongo/00INDEX.html
http://lars.yencken.org/datasets/phd/