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

Issues with includes in ORG files with Pandoc #3

Closed
c-fabre opened this issue Jul 26, 2019 · 3 comments
Closed

Issues with includes in ORG files with Pandoc #3

c-fabre opened this issue Jul 26, 2019 · 3 comments
Assignees

Comments

@c-fabre
Copy link
Contributor

c-fabre commented Jul 26, 2019

PanDoc does not process the "#+INCLUDE:" directives for ORG files when generating HTML.
Exporting HTML from Emacs seems too work though...
Check for instance the three includes in file "pages/programme.org" in branch "site-spliting"

@c-fabre c-fabre assigned c-fabre and damiencourousse and unassigned c-fabre Jul 26, 2019
@c-fabre
Copy link
Contributor Author

c-fabre commented Jul 26, 2019

According to jgm/pandoc#3510 this should be fixed in PanDoc 2.0. We are using 2.2.x...

damiencourousse added a commit that referenced this issue Jul 26, 2019
pandoc supports org includes since version 2.0.6, but Hakyll's
pandocCompiler is based on 'PandocPure', which does not support all
pandoc functionalities, in particular org includes.

closes #3
@damiencourousse
Copy link
Collaborator

Warning. Commit 4dda070 supports #+include: org directives, but hakyll does not detect changes to the target includes. i.e. you need to use make rebuild to make sure that everything was properly generated.

I would prefer reverting 4dda070, and not supporting this feature.

@c-fabre
Copy link
Contributor Author

c-fabre commented Aug 28, 2019

Please don't revert: I do need includes for now!

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