Fixing our existing tests and displaying the new latex tags

Current tests passing - still some corner cases and haven't sorted bold yet, but this seems like a step forward.  Thinking that if we can get the bold stuff added we'll be most of the way there.

Also was programming this late on the train - refactoring likely advised :-)