emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Jacob Fong
Subject: [BUG] org-format-latex not respecting org-format-latex-options :matchers
Date: Sat, 3 Feb 2024 12:43:12 -0800

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`. This is confirmed in some places
(https://emacs.stackexchange.com/questions/78093/removing-certain-latex-preview-matchers-from-org-mode).

Is there any way this can be fixed to accord with the
org-format-latex-options documentation?

Thank you,
Jacob

-- 
jacobcfong@gmail.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]