This proposal appears to considerably simplify the emphasis opcodes.
However, I don't understand from the write-up how liblouis would match the
emphasis class names in a translation table to the XML tags or other
emphasis markup in a print source being translated.
SusanJ
For a description of the software, to download it and links to
project pages go to http://liblouis.org