-
Notifications
You must be signed in to change notification settings - Fork 129
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
Problems exporting to-md since org-9.7.x #740
Comments
Can confirm this. None of the headings and their contents are exported. However, no changes in the Org changelog strike me with suspicion. Debugging didn't show any obvious errors. Seems like some internals were changed, but not mentioned on the changelog. |
For me it's becoming a showstoper as I want to use latest org (9.7.x). |
@antoniocorbi, a fellow Org maintainer recommended recompiling ox-hugo after updating Org. I've just tried it and it seems to work for me now with 9.7.7 |
Hi @andreyorst ! |
How did you recompile the ox-hugo *.el files? I've tried with
byte-recompile-directory and others and it seems I can't.
Meanwhile I'll stick to the .el files :)
I just wiped the package, and reinstalled it (among others that use org)
…--
Andrey Listopadov
|
Hi @andreyorst , Good point! ;) |
I think this can be closed? There's pretty much nothing that can be done on the ox-hugo side. Recompilation is the only option, and that's basically what has to be done with all other org-dependent projects |
Hi @andreyorst , Recompilation works also for me. |
After I remove ox-hugo and compile, it works in current round. |
Removing only one time elpa/ox-hugo-xxxxx works for me, I've no need to remove it again after quiting emacs. Maybe try removing (if exists) a copy of ox-hugo-xxxxx in the eln-cache dir? Another option would be to package-delete/package-install ox-hugo and check. |
Thanks a lot for your reply. I checked I have only |
Actual Behavior
Since the org update from 9.6.x to 9.7.x org-hugo-export-to-md gives me some problems.
An org-file like:
with this "hugo.config"
Produces this markdown file:
As you can see it only has the table of contents but none of the real contents of the file.
Expected Behavior
Produce a markdown file with all the contents of the org file.
How to Reproduce the Issue
Upgrade to any org-9.7.x version.
Also downgrading to org-9.6.x make ox-hugo work again.
Ox-Hugo Debug Information
Debug Info
Debug information for
ox-hugo
Emacs Version
Org Version
Hugo Version
Org
load-path
shadowsWarning: Possible mixed installation of Org
Study the output of
M-x list-load-path-shadows
.ox-hugo
defcustomsThe text was updated successfully, but these errors were encountered: