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

EPUB: epub-title-page does not work from default file #8908

Closed
fsoedjede opened this issue Jun 18, 2023 · 2 comments
Closed

EPUB: epub-title-page does not work from default file #8908

fsoedjede opened this issue Jun 18, 2023 · 2 comments
Labels

Comments

@fsoedjede
Copy link
Sponsor

Explain the problem.

I have the following error while trying to use the new option epub-title-page implemented here: aaa3bea

Aeson exception:
Error in $: Unknown option "epub-title-page"

The markdown content to convert to EPUB:

---
# file: sample.md
title: Lorem Ipsum
lang: en
...

## Tempora pariter labore in mersa

Lorem markdownum et corpora tantis rictus dumque, partu agros lege equidem.

The minimal default file:

# file: defaults-test.yaml
epub-title-page: false

The command used:

docker run --rm --volume "$(pwd):/data" pandoc/core:3.1 sample.md --defaults=defaults-test.yaml --from=markdown --to=epub3 --output=expected.epub

If I use the following command passing directly the option in the cli, it's works without error.

docker run --rm --volume "$(pwd):/data" pandoc/core:3.1 sample.md --epub-title-page=false --from=markdown --to=epub3 --output=expected.epub

It tried to reproduce on try pandoc but could not.

Am I doing something wrong?

Pandoc version?
docker run --rm --volume "$(pwd):/data" pandoc/core:3.1 --version
3.1.1

@fsoedjede fsoedjede added the bug label Jun 18, 2023
@jgm
Copy link
Owner

jgm commented Jun 19, 2023

We just forgot to implement this in defaults parsing.
Will fix!

@jgm jgm closed this as completed in 8194199 Jun 19, 2023
@fsoedjede
Copy link
Sponsor Author

Thanks @jgm

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

No branches or pull requests

2 participants