Skip to content

Is there any way to specify the com.apple.ibooks.display-options value defined on EPUB.hs when exporting? #1684

@nonoesp

Description

@nonoesp

I have the need to create an .epub file setting the com.apple.ibooks.display-options as false instead of true — which seems to be the default option using the EPUB.hs Writer.

The file currently looks like this inside of the created epubs:

<?xml version="1.0" encoding="UTF-8"?>
<display_options>
  <platform name="*">
    <option name="specified-fonts">true</option>
  </platform>
</display_options>

And I would like it to look like this (the only that changes is true to false):

<?xml version="1.0" encoding="UTF-8"?>
<display_options>
  <platform name="*">
    <option name="specified-fonts">false</option>
  </platform>
</display_options>

Is there a way to specify this option without having to re-compile pandoc modifying EPUB.hs?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions