I’ve seen instructions on resolving specific issues, but how can I just turn off escaping entirely?
Seriously, if I’m using Latex regularly and planning to export to LaTeX, isn’t it far more likely that any backslash I type will be part of a LaTeX command than that it won’t? Ditto curly braces, ampersands, dollar signs, etc.
I know nothing about XSLT; what lines do I comment out in which style file to make MMD just parse Markdown syntax? Given that LaTeX and Markdown syntaxes don’t realy overlap, it shouldn’t be too hard, I wouldn’t think, to convince article.xslt to just convert Markdown to LaTeX, and leave anything that’s not Markdown syntax alone.
I actually expected this to be the default behavior, and was pretty surprised to discover it isn’t.
Thanks! That was a great help, although it took me a while to figure out where clean-text.xslt was being loaded. Gotta love inheritance.
It doesn’t seem to really allow pass-through, though.
for instance, is still being converted to
Since I am writing about a number of people with names like “W. W. Greg,” “R. B. McKerrow,” and “J. C. C. Mays,” that is a problem, since the line break rules require
Right now I’m handling it by doing straight search and replace all, which is fine for ‘~’, but it has the potential to get tedious in a hurry; the list of escapes that still don’t pass through clean-text-allow-latex.xslt is long.
Is it save to just cut chunks like this from the file?