fuxialexander / emacs-webkit-katex-render

An instant latex previewer for Emacs, based on xwidget and child-frame
71 stars 8 forks source link

Error in post-command-hook (webkit-katex-render-update): (wrong-type-argument integer-or-marker-p nil) #4

Closed duzaichuan closed 4 years ago

duzaichuan commented 6 years ago

I use veshboo's xwidget webkit support emacs. My init.el: (use-package webkit-katex-render :load-path "~/emacs-webkit-katex-render" :commands (webkit-katex-render-mode))

I enabled it in org-mode and moved the cursor on the latex fragment. No preview pops up and I got the above error.

And I use evil. Any suggestions?

Thank you!

duzaichuan commented 6 years ago

veshboo/emacs link https://github.com/veshboo/emacs

duzaichuan commented 6 years ago

In latex mode with error: Error in post-command-hook (webkit-katex-render-update): (search-failed "[^\\]\(\\(\|\\)\|\\\[\|\\]\)")

fuxialexander commented 5 years ago

Sorry for the late reply. It seems that you are not using the standard "[ ]" notation for latex segment. Is that the case?