I'm in the process of converting latex to xml. So, I need to convert latex entities into hex value. I thought to convert from latex entities to html to hex entities or can it be done directly from latex to hex value? Is there any way to do this?
I need to convert only symbols and specials characters.