LaTex isn't going to help unless you have a way to translate it into .mobi format. You have to use the special <mbp
agebreak/> tag to force a page break in html for .mobi format, which you will need for each "page" of the flashcard file. Also, images will have to have the correct <a href> tag.