Proper @math HTML override with @definfoenclose
Backslashes were being stripped from the output unless escaped with another backslash, but that would cause problems with the TeX ouput.master
parent
908526ff85
commit
507664b0c7
|
@ -70,9 +70,7 @@ Free Documentation License".
|
||||||
|
|
||||||
@ifhtml
|
@ifhtml
|
||||||
@c override @math to delimit for MathJax/KaTeX/etc
|
@c override @math to delimit for MathJax/KaTeX/etc
|
||||||
@macro math{expr}
|
@definfoenclose math,\(,\)
|
||||||
\\(\expr\\\)
|
|
||||||
@end macro
|
|
||||||
@end ifhtml
|
@end ifhtml
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue