I have altered line 40 of xhtml2latex.xslt to read:
However, I notice that the character:
and the combination:
are not being passed through unscathed. AFAIK, the ampersand is still being escaped, and I’m not really sure what is happening to multiple backslashes. I just realized that I can get around \ by using a double space at the end of the line in MMD, but the behavior of & is a real problem for including raw LaTeX tables.
Furthermore, if I escape the & in Scrivener by typing
it’s ‘re-escape’ by MMD leads to
so it is not escaped in the LaTeX output, leading to ‘Misplaced alignment tab character’ errors.
This made we wonder, is this a bug of MMD? A feature? Is there some other place I should be using clean-text-allow-latex.xslt? Or is there something I just don’t get?
Any help gratefully received…