Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lisp error during org export #17

Open
theldoria opened this issue Dec 30, 2020 · 2 comments
Open

Lisp error during org export #17

theldoria opened this issue Dec 30, 2020 · 2 comments

Comments

@theldoria
Copy link

If I try to export an org source code block with literate-calc-mode and I happen to have a variable in it, I get an lisp error during htmlization.

For example, if I export this org file

#+begin_src literate-calc
Pi = 3.14159
#+end_src

I get:

Lisp error: (args-out-of-range "Pi " 0 12)

Btw. I was able to workaround this by setting literate-calc-font-lock-defaults to nil:

# -*- literate-calc-font-lock-defaults: nil -*-
#+begin_src literate-calc
Pi = 3.14159
#+end_src
@theldoria
Copy link
Author

Just realized I actually had to set literate-calc-font-lock-defaults globally to nil.

@sulami
Copy link
Owner

sulami commented Jan 3, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants