I want to create some ebooks, in the epub format, but some of the works are in languages that read right-to-left (Arabic, Hebrew, and others). I'm currently using Calibre to generate epubs from html, which works great for left-to-right, but I can't figure a way to make it generate epubs that read right-to-left (changing the language in the metadata doesn't do anything).
Is there some other software I should use, or is there some way to do this in Calibre that I just can't figure out?