Idris: Thanks. I think I have material enough to begin the macros for bidirectional writing, and to fix many of the bugs and conceptual errors of current Mem. I've typeset it as sent, then I have adapted to Mem in a half an hour and it worked. Javier