11-11-2019, 03:17 AM | #31 |
Guru
Posts: 692
Karma: 2180740
Join Date: Jan 2017
Location: Poland
Device: Misc
|
|
11-11-2019, 03:21 AM | #32 | |
just an egg
Posts: 1,586
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
|
Quote:
ETA: I do monitor the plugin threads and update my plugins when the developer posts that an update is available. But these stealth updates slipped by me Last edited by odamizu; 11-11-2019 at 04:30 PM. |
|
Advert | |
|
11-11-2019, 04:03 AM | #33 |
Guru
Posts: 692
Karma: 2180740
Join Date: Jan 2017
Location: Poland
Device: Misc
|
Existing NCX file is not updated after change .xhtml file name
1. Run Sigil 2. Default file name: Section0001.xhtml 3. Look --> ncx file --> inside is Section0001.xhtml 4. Rename Section0001.xhtml to other name 5. Look again --> ncx file --> inside is Section0001.xhtml still Older versions of Sigil automatically updated ncx with EXISTING entries. |
11-11-2019, 04:57 AM | #34 |
Guru
Posts: 692
Karma: 2180740
Join Date: Jan 2017
Location: Poland
Device: Misc
|
An annoying aesthetic problem in the Preview pane
1. Open any epub with svg cover (or use attached file). 2. Look at xhtml with svg container (any cover created by Sigil). 3. Open the preview window (F10) if it is not open by default. 4. Look at the bottom right corner of the Preview window. Hmmm… Scrollbars? Why? Use a small image, use a large image... Always a scrollbar? I suppose adding a toolbar at the bottom of the preview window caused the available height to be calculated incorrectly and we always see scrollars. I found a workaround for this problem, but it's not perfect because it applies to all svgs. Spoiler:
Will it be possible to code a better solution? Code:
height = original_height – toolbar_height? |
11-11-2019, 05:45 AM | #35 |
Grand Sorcerer
Posts: 27,547
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
We're not really concerned with aesthetics at the moment. We're focused on potential breakage and loss of functionality.
The scrollbar thing is probably related to this commit. Which fixed an even more annoying qtwebengine preview problem where full-screen svg-wrapped images weren't honoring the 100% height attribute like they did with qtwebkit. Try adjusting the css overflow properties in the meantime if the scroll bars annoy you. Last edited by DiapDealer; 11-11-2019 at 06:21 AM. |
Advert | |
|
11-11-2019, 08:22 AM | #36 | |
Grand Sorcerer
Posts: 27,547
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Now that Sigil doesn't force the use of an ncx in EPUB3, it's not being kept in sync when one is optionally added. The general idea is that anyone who's including an ncx in their EPUB3 for backward compatibility with epub2 devices/apps should simply generate the optional NCX from the NAV data after all editing is complete. Last edited by DiapDealer; 11-11-2019 at 08:25 AM. |
|
11-11-2019, 08:30 AM | #37 |
Guru
Posts: 692
Karma: 2180740
Join Date: Jan 2017
Location: Poland
Device: Misc
|
|
11-11-2019, 08:40 AM | #38 |
Grand Sorcerer
Posts: 27,547
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
My mistake. I assumed this was default behavior as of Sigil 0.9.16 when we made the ncx optional. But I see that's not the case. Sigil 0.9.18 DID update the optional ncx of an EPUB3 whenever a file was renamed, but 0.9.991 does not.
Sigil DOES still update the ncx of an epub2 that is in Sigil's standard format, but not one that uses an alternative structure where xhtml is not in the "Text" subfolder. We'll look into it. This is exactly the type of thing that the pre-release was intended to ferret out. Thanks! |
11-11-2019, 08:43 AM | #39 | |
Guru
Posts: 692
Karma: 2180740
Join Date: Jan 2017
Location: Poland
Device: Misc
|
Quote:
This problem is absolutely not a priority. A workaround in the css file will suffice in most cases. |
|
11-11-2019, 08:52 AM | #40 |
Grand Sorcerer
Posts: 27,547
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
|
11-11-2019, 08:59 AM | #41 | |
Sigil Developer
Posts: 7,643
Karma: 5433388
Join Date: Nov 2009
Device: many
|
That is up to you. There is nothing inherently wrong when creating an ebook from scratch to use a layout you like. Sigil's default epub layout is in fact a very logical and good one. But some epubs like compendiums and some epub3's that use prebuilt location specific javascripts, need a specific epub layout. Sigil could never properly edit them before without a lot of renaming, and even sometimes breakage. That is why Sigil is needed this feature before it claim "1.0" status.
As for me, I rarely use or need a different structure than what Sigil defaults to. That said, since this is an alpha release for testing purposes, I hope everyone is loading one of their non-standard epubs and trying hard to break Sigil and reporting back. As for plugins, the other main purpose of this alpha release, is to give plugin developers access to a working version of the new plugin interface so that they could update their plugins before Sigil 1.0 is actually released. So please ask nicely in the Plugin's thread for an update to work with Sigil 1.0 but understand not everyone will update things soon. I personally would be happy to help update any plugin developers plugins if they run into any difficulties. If you have skills in python, another approach is to fix that plugin yourself and give the changes back to the developer after testing that it works with standard and non-standard epubs as well as on Sigil-0.9.991 and the previous Sigil-0.9.18. Hope this helps, KevinH Quote:
|
|
11-11-2019, 09:01 AM | #42 | |
Sigil Developer
Posts: 7,643
Karma: 5433388
Join Date: Nov 2009
Device: many
|
Is this by chance an epub3? If so, Sigil will not auto update the ncx and will only auto update the nav. If not, a definite bug as long as the file that is pointed to by the ncx link actually truly exists.
KevinH Quote:
|
|
11-11-2019, 09:08 AM | #43 | |
Grand Sorcerer
Posts: 27,547
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
In the meantime, the ncx in your alternatively structured EPUB2 should resume being synced if you manually edit the content src attributes of the NavPoints to match your existing structure. I'm not entirely sure why EPUB3 NCXs stopped syncing with 0.9.991 (even when using an epub with Sigil's traditional structure). Need to do more sussing. |
|
11-11-2019, 09:11 AM | #44 |
Sigil Developer
Posts: 7,643
Karma: 5433388
Join Date: Nov 2009
Device: many
|
Not syncing epub3 ncx was done by design as the nav is primary in those cases.
|
11-11-2019, 09:13 AM | #45 | |
Grand Sorcerer
Posts: 27,547
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
And she's referring to EPUB2s where she's set a default alternative structure (or created one on the fly). The hard-coded "Text/" in the template string creates a default ncx that doesn't match the new structure and thus won't be updated when the file is renamed in BookBrowser. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
5.8.11 Pre=release | knc1 | Kindle Developer's Corner | 21 | 04-17-2018 08:42 PM |
Overdrive - Search for Pre-Release | nynaevelan | General Discussions | 11 | 11-24-2013 02:27 PM |
Where are the pre-release purchase buttons? | Sydney's Mom | General Discussions | 8 | 09-06-2012 10:57 PM |
KF Android 4.0 Pre-Release Version | robertc88 | Kindle Fire | 22 | 01-22-2012 07:24 PM |
PDF Viewer 0.3.0 pre-release | pruss | Android Devices | 62 | 11-22-2011 11:18 AM |