@@ -23,7 +23,7 @@ class DisplayMMA : public DisplayBase {
2323
2424 // / Rewrite the output of mathematica back into a notation used by
2525 // / Cadabra. This in particular involves converting 'Sin' and
26- // / friends to ' \sin' and so on, as well as converting all the
26+ // / friends to ` \sin` and so on, as well as converting all the
2727 // / greek symbols. Currently only acts node-by-node, does not
2828 // / do anything complicated with trees.
2929
@@ -52,7 +52,7 @@ class DisplayMMA : public DisplayBase {
5252 // / For every object encountered, dispatch will figure out the
5353 // / most appropriate way to convert it into a LaTeX
5454 // / expression. This may be done by simply looking at the
55- // / object's name (e.g. \prod will print as a product) but may
55+ // / object's name (e.g. ` \prod` will print as a product) but may
5656 // / also involve looking up properties and deciding on the best
5757 // / course of action based on the attached properties.
5858
@@ -81,8 +81,8 @@ class DisplayMMA : public DisplayBase {
8181
8282 // / Map from Cadabra symbols to Mathematica symbols.
8383 // / This is a bit tricky because MathLink does not pass
84- // / \[Alpha] and friends transparently. So we feed it UTF8
85- // / α and so on, but then we get \[Alpha] back, and that
84+ // / ` \[Alpha]` and friends transparently. So we feed it UTF8
85+ // / α and so on, but then we get ` \[Alpha]` back, and that
8686 // / needs to be regex-replaced before we feed it to our
8787 // / parser as ours does not swallow that kind of bracketing.
8888 std::map<std::string, std::string> symmap;
0 commit comments