adityam/filter — Issue #6: escape comments = yes|no
Author: adityam
Created: 2011-12-07 18:00:24+00:00
State: open

Provide an `escape comments = yes|no` option that will not escape `\{}` inside the `Comment` regions. The current behaviour is equivalent to `escapecomments=no`. With `escapecomments=yes`, one can say:

/* The following function computers the roots of \m{ax^2 + bx + c = 0} using the
determinant \m{\Delta = \frac {-b \pm \sqrt{b^2 - 2ac}}{2a}} */
double root (double a, double b, double c) {....}

so that the `\` in the comments are not escaped and then the math is typeset using TeX.