![]() On Windows, extract the zip file and save the contents somewhere easy to find, like C:\EpubCheck\. ![]() If you want the output script to run EpubCheck (recommended), download it from the IDPF. ![]() In order to do this, you must add this to the file’s YAML frontmatter:ĭefaults : - scope : path : " */text/01-title-page.html" values : contains-svg : true Validation This is because for an epub to be valid, the package.opf file must flag when a file includes inline SVGs. If you include SVG images inline in an epub file – that is, the markup itself is in the final HTML, not just linked in an element, you need to indicate that the file includes an inline SVG. See the Javascript section for more detail. This ensures that the epub includes only those font files that are specifically required for your epub. in assets/fonts) are not included in epub outputs. To embed font files in an epub (for in your epub’s CSS), add the font files to _epub/fonts.įont files stored anywhere else in your project (e.g. This way, the parent will point to the file, and the first child item will point to the file + id. So, to ensure that you don’t get duplicate links, you must add an id to that first child. It will use the file (without the id) of its first child. So if an item in your toc has no link, and only children items, then in the toc.ncx the Electric Book will create a link for it. To differentiate them, you add an id pointing to, say, a heading in the document to differentiate one target in the same file from another.Īlso, in an NCX, every item must include a link. So in your epub toc in meta.yml, you can’t have two items with the same file and id. In an NCX, you cannot have two items in nav pointing to the same target. If you’re using a toc.ncx file for backwards compatibility with old ereaders, you have to be especially careful with how you construct your epub toc tree in meta.yml. for a novel with no chapter headings), you can hide it visually by setting hide-nav: true in the epub section of settings.yml.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |