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

Export ePub with cover requires Window #33

Open
DPDmancul opened this issue Aug 16, 2021 · 0 comments
Open

Export ePub with cover requires Window #33

DPDmancul opened this issue Aug 16, 2021 · 0 comments

Comments

@DPDmancul
Copy link

When exporting in batch mode (for example in continuous integration) with:

emacs --batch main.org --eval="(package-initialize)" --eval="(require 'ox-epub)" --funcal org-epub-export-to-epub --kill

if the keyword EPUBCOVER is set, the following error arises:

ox-epub eport error: (error Window system frame should be used)

Without the --batch argument the final file is correctly generated, but in some contexts (for example in docker on Gitlab CI) it is not possible to start Emacs with a GUI and the batch mode is the only available way.
Even with --no-x-resources instead of --batch there is the same problem.

Is there a way to allow exporting with a cover in batch mode?

org version: 9.5-b83ae59
emacs version: 27.2
platform: Linux
installed via: MELPA

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

1 participant