Shao-yu Tseng <d...@notyourcomputer.net> writes: > When org-mode is called at the start of a buffer that starts with a > latex fragment, it produces an error "Beginning of buffer" caused by > attempt to call backward-char. > > A minimal example to reproduce: > 1. Open a scratch buffer > 2. Insert text \(\Omega\) > 3. Turn on org-mode
I tried to follow the example, but I am unable to reproduce the problem. May you please provide more detailed steps to reproduce and share the information about the Org mode and Emacs versions you are using? > The observable effect of this bug is that org-export-string-as does not > work for strings beginning with a latex fragment, example: > > (org-export-string-as "\\(\\Omega\\)" 'html t '(:with-toc nil)) It works on my side. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>