Re: [BUG] org-format-latex not respecting org-format-latex-options :matchers

2024-02-03 Thread Ihor Radchenko
[ CCing Timothy and Karthic ] Jacob Fong writes: > It appears that the math-matching regexes are hard-coded in > `org-format-latex`, as seen in this line: > > ``` > (let* ((math-regexp "\\$\\|[([]\\|^[ \t]*begin{[A-Za-z0-9*]+}") > ``` > > As a result of this, :matchers does not work as

[BUG] org-format-latex not respecting org-format-latex-options :matchers

2024-02-03 Thread Jacob Fong
Hey everyone, It appears that the math-matching regexes are hard-coded in `org-format-latex`, as seen in this line: ``` (let* ((math-regexp "\\$\\|[([]\\|^[ \t]*begin{[A-Za-z0-9*]+}") ``` As a result of this, :matchers does not work as documented, for example with `org-latex-preview`.