Following a question on TeX-SX, this is a proof-of-concept module for
pandoc output.  It would need a bit of work to make it a usable
module, in particular adding all the macros that pandoc understands
(see the itex module for what would be needed here).  Presumably there
would also be other things that would need special handling, such as
the preamble.