![]() |
#451 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() Posts: 269
Karma: 516
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
|
Quote:
---------- I had been trying to make a link from the HTML toc to the nav but got the error that the nav.xhtml could not be found. The answer to that was remembering what Kevin had said back in post #17 -- that nav.xhtml was not in the Text folder. It requires referencing in the link as ../nav.xhtml. This I verified by opening the User Guide in Sigil. Strangely, though, Sigil shows the nav.xhtml in the Book Browser window as being the last entry in the Text folder. Closing the Text folder makes the nav file disappear from the Book Browser listing. Wouldn't it be less misleading for the Book Browser to display the nav.xhtml file below the Misc folder and next to the content.opf? Last edited by philja; 10-25-2024 at 02:02 PM. |
|
![]() |
![]() |
![]() |
#452 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,804
Karma: 6000000
Join Date: Nov 2009
Device: many
|
Please note:
1. epub3 does not specify a normalized layout for an epub unlike the old epub2 recomendations. 2. The BookBrowser is *not* a file browser. It shows "virtual folders" that are groups files of similar type to make working with files possible no matter the actual internal layout used in the epub. 3. To see the actual full path for each file inside the book folder, you have to enable that in Sigil Preferences. 4. The nav xhtml file may be inside the Text folder or someplace else as long as the opf manifest is correct. Sigil will default to creating it beside the opf unless otherwise informed. 5. Use Sigil to select images to insert, or insert links, and it will create the proper relative paths for you. 6. If you want to craft and enter links by hand, you should enable BookBrowser to show the full book paths for all files so you can create the proper links. Last edited by KevinH; 10-25-2024 at 02:21 PM. |
![]() |
![]() |
![]() |
#453 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() Posts: 269
Karma: 516
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
|
[QUOTE by KevinH]2. The BookBrowser is *not* a file browser. It shows "virtual folders" that are groups files of similar type to make working with files possible no matter the actual internal layout used in the epub.
3. To see the actual full path for each file inside the book folder, you have to enable that in Sigil Preferences. 4. The nav xhtml file may be inside the Text folder or someplace else as long as the opf manifest is correct. Sigil will default to creating it beside the opf unless otherwise informed.[/QUOTE] Thanks for clarifying #2. For #3, I had overlooked that setting in Preferences. It certainly makes it easier. For #4: epub3-itizer created the nav at OEBPS/nav.xhtml and BookBrowser displays it inside the Text folder which I find misleading. Sigil (in my linux and MacBook) defaults to creating new epub3 files with the path OEBPS/Text/nav.xhtml so clearly within the Text folder. I don't see a preference setting for informing Sigil otherwise. The manifest displays are coherent in each case so no real problem as far as functioning is concerned. |
![]() |
![]() |
![]() |
#454 | |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,804
Karma: 6000000
Join Date: Nov 2009
Device: many
|
Quote:
Again there is no recommended or constraints on epub3 layout. There need not be a physical folder called Text at all or there could be multiple physical folders called book1 and book2 or ... So to work with all files of a single type by multi-selecting, the files must appear as "contiguous" in BookBrowser no matter how they physically laid out. That is the role of BookBrowser. Real book paths can be enabled if you care. Or you can move things around to make physical folders to match the virual folders (standardize it like old Sigil did). Last edited by KevinH; 10-25-2024 at 08:49 PM. |
|
![]() |
![]() |
![]() |
#455 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,377
Karma: 169098492
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Minor nit. There are some constraints on the structure of an ePub3 file. The mimetype file must be in the root of the zip container and be stored uncompressed while the META-INF directory must exist and must contain the container.xml file.
Other than that, as you say, it's a free for all. |
![]() |
![]() |
![]() |
#456 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
|
Quote:
If on the other hand the visible TOC needs things that can't be put in the NAV, I delete it from the spine and make a HTML toc. This omits it from the Kindle conversion so I don't need to worry about how it looks. (If that's going to alarm ePubCheck, I'll have to rethink, as many publishers insist on no EpubCheck errors.) Code:
<style type="text/css"> body {font-family: serif; } h1 {font-style: italic; text-align: center; font-weight: normal; font-size: 1.8em;} ol { list-style-type: none;} li {font-weight: normal; text-align: left; margin-left: 0; font-size: 1rem; text-indent: -2em; margin-top:.5em;} li li {margin-top:0;} a { text-decoration: none;} </style> |
|
![]() |
![]() |
![]() |
#457 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#458 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,804
Karma: 6000000
Join Date: Nov 2009
Device: many
|
Posted a new version of ePub3-itizer (v060) that better supports Sigil 2.0.0 and later users by using the PySide6 gui toolkit instead of Tk.
There are no functional changes since the prior version (v058) that used the Tk gui. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Conversion Output] KePub Output Plugin | jgoguen | Plugins | 588 | 03-28-2025 02:26 PM |
Create a javascript quizz for Epub3 in Sigil | BertrandThibaut | Sigil | 3 | 01-26-2014 09:04 AM |
An epub3 version of Sigil ? | apulia03 | Sigil | 9 | 11-28-2012 01:07 AM |
Plugin not customizable: Plugin: HTML Output does not need customization | flyingfoxlee | Conversion | 2 | 02-24-2012 02:24 AM |
epub3 Sigil Poetry(fixed layout) | Giggleton | Sigil | 7 | 04-04-2011 12:58 PM |