-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
No Cover image on Mac epub icon or in Apple Books. #10505
Comments
How did you tell pandoc to use a cover image? Did you use |
PS. Cover images still work in my tests. |
Hi John, thanks for the prompt reply and apologies for my tardiness, a winter virus intervened... anyway after a bit of research I have found the following example to illustrate the issue. book.md
Compile with:
And you get no icon for the epub in Mac Finder or the book cover in Apple Books. Looking at the files I see in the
Which I think should reference
...means you can see the icon for the epub in Mac Finder and the book cover in Apple Books. I'm not sure if this is just for epub2? But I hope this helps in identifying the issue. Russ |
I can confirm this. I had tested before with epub3; this problem only appears with epub2. |
I just compiled a book and it has no book cover image on the icon or when added to Apple Books.
Mac 15.2 (24C101) - Pandoc pandoc 3.6.1 - iMac M3.
So I then proceeded to compile a book I had compiled under a previous version of Pandoc. This too had no cover image icon on Mac finder or in apple books.
Some images might make it clearer:
![versions](https://private-user-images.githubusercontent.com/2102743/399555654-44d4e8f6-2cb3-45fb-9a75-e254bd463cfc.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNzIyODYsIm5iZiI6MTczOTE3MTk4NiwicGF0aCI6Ii8yMTAyNzQzLzM5OTU1NTY1NC00NGQ0ZThmNi0yY2IzLTQ1ZmItOWE3NS1lMjU0YmQ0NjNjZmMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTBUMDcxOTQ2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZGQxMmRmOTIwZTZkZjYzN2I2YzEwZjA3OGZhOTRmYzQ4YjJmMTVkNTljYjU4MjI5ZmJjMTUyN2RiZDNmMjI2OSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.7IRdvy3I2TOEUZxGrLw82QwAd0jdbqtXZvgCfQTnl78)
In Finder:
In Apple Books:
![Screenshot 2025-01-01 at 10 18 06](https://private-user-images.githubusercontent.com/2102743/399555687-0e3eccff-0a9b-45c0-9d86-9f367242fdd0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNzIyODYsIm5iZiI6MTczOTE3MTk4NiwicGF0aCI6Ii8yMTAyNzQzLzM5OTU1NTY4Ny0wZTNlY2NmZi0wYTliLTQ1YzAtOWQ4Ni05ZjM2NzI0MmZkZDAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTBUMDcxOTQ2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9M2E2ZmVhMGE1OTIyOWQ5MjU3MjRmN2I0MDhmNTBlMGZjNjc2NjNmMjI5Mzc0ODJmMDlmNGEyNTlkNTMzMmQ2YiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.vErnOFq7DKZUyBrpK3Sbc4Qk9_JRJtOS8XVcm445WGc)
Same book, same compile system but different results?
The last time the original books was compiled was August 6th 2024, so I guess it would have been pandoc 3.3 2024-07-28 via homebrew.
I had a look at the Release notes for later versions of pandoc and checked if anything had changed to the epub image and could only find:
"pandoc 3.6 (2024-12-07)
EPUB writer: Use standardized filename for cover image instead of the original name (#10404). This avoids problems with e.g. filenames containing spaces."
Anyone any ideas?
The text was updated successfully, but these errors were encountered: