2/28/2023 0 Comments Epub metadata editor batchin the main assets/fonts folder) 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/assets/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 your book’s YAML file in _data/works, 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 the book’s _data/works file. 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 |