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

Error handling emacs-lisp source blocks #43

Closed
shrysr opened this issue Jul 7, 2019 · 2 comments
Closed

Error handling emacs-lisp source blocks #43

shrysr opened this issue Jul 7, 2019 · 2 comments

Comments

@shrysr
Copy link

shrysr commented Jul 7, 2019

When I export my org document to the rst format, the source blocks of 'emacs-lisp' are converted to'commonlisp'. However, this has to be 'common-lisp' or 'lisp', or emacs-lisp for the pygments exporter to work correctly for using readthedocs.

Grepping through the package code, I see that the conversion definition is correct. Why am I getting the export as commonlisp ?

I tried using ox-pandoc as well, org-pandoc-export-as-rst, but have the same export result as 'commonlisp'. The repo in question is my dotemacs config https://github.com/shrysr/dotemacs/

@msnoigrs
Copy link
Owner

msnoigrs commented Aug 7, 2019

Ox-rst will use org-rst-pygments-langs to convert to a pygments lang. Please check this variable.
I tried to convert your README.org, there was no problem in my environment.

@shrysr
Copy link
Author

shrysr commented Aug 7, 2019

Okay Thank you. It appears to be working now. Perhaps there was an issue on another machine. https://dotemacs.readthedocs.io/en/latest/index.html

@shrysr shrysr closed this as completed Aug 7, 2019
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