* What I'm experiencing:
A custom ~org-num-format-function~ causes ~org-latex-preview~ warn when it
is called.
* Exact "Warning" I'm getting.
⛔ Warning (org-element-cache): org-element--cache: Org parser error in
ask.org::648. Resetting.
The error was: (error "Invalid search bound (wrong side of
I think I even found a solution much easier solution.
Just replace each - dash with {-} when exporting latex.
In other words:
|---+-|
| Original org | New suggestion |
I'm exporting the following org file (left-side) to a LaTeX pdf file.
The org file contains the multiple dashes in the ~code~ =verbatim=
format. The exported PDF file doesn't have the correct number of dashes.
|+---|
| Original org | Exported