io12 / org-fragtog

Automatically toggle Org mode LaTeX fragment previews as the cursor enters and exits them
MIT License
397 stars 14 forks source link

File mode specification error: (void-function org-fragtog-mode) under Org mode version 9.3.7 #12

Closed dylanhogan closed 4 years ago

dylanhogan commented 4 years ago

Hi -- thanks for the extension. I'm having trouble getting this to work using spacemacs & Org mode version 9.3.7, receiving the following void-function error:

File mode specification error: (void-function org-fragtog-mode)

Org fragments work normally using C-c C-x C-l. Please let me know if you have potential solutions in mind. Thanks!

io12 commented 4 years ago

I'm also using spacemacs and Org 9.3.7, and it works for me. Based on the error, my guess is org-fragtog isn't installed? For spacemacs, you need to add org-fragtog to dotspacemacs-additional-packages. Hope this helps.

dylanhogan commented 4 years ago

Ah – adding org-fragtog to dotspacemacs-additional-packages did the trick. Apologies for the basic question, I'm new to spacemacs in general. Thanks very much for your help!