The specific markup conversion is coded here instead of an even more cryptic table in the code of latex2esis.py.