|
|
#1 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,315
Karma: 7640672
Join Date: Nov 2009
Device: many
|
Suggestions for Improvements for Sigil Post 2.8.6
Hi All,
It seems by popular demand... I have finally opened an offcial thread for Suggestions for Improvements to Sigil (post Sigil 2.8.6). The same rules apply: DO NOT SUGGEST: - things better done in a plugin or already done in a plugin - things better done in an Open With editor and not Sigil's Codeview - things only done to make just your specific usage pattern easier or faster - AI based things as they are better off in a plugin where people can choose whether to install it or not. DO SUGGEST: - things that a large subset of Sigil users might find useful! - be specific and justify its usefulness to many others [SUGGESTIONS] 1. Update the latest es.aff, es.dic hunspell files for Spanish (jugaor) The license is compatible and it will help the majority of Spanish speaking Sigil users status: accepted - pushed to Sigil master available in the latest Sigil 2.8.7 pre-release 2. some way to customize the list of languages recognized by Sigil (KevinH) Even though Sigil's current list of language codes includes over 574 different language variations and covers more than 98% of the world's population (according to google's AI!) and has served Sigil well for close to 20 years, few if any script versions are included and virtually no variations. This flaw was recently exposed by an official github bug report. So I am suggesting we allow users to create their own extra_languages.xml file inside their Sigil Preferences folder similar to the following example: Code:
<?xml version="1.0" encoding="utf-8"?> <extralanguages> <addlanguage code="zh-Hant" name="Chinese (Traditional)"/> <addlanguage code="zh-Hans" name="Chinese (Simplified)"/> </extralanguages> Note, the correctness of the xml file itself and of these added values is completely up to the user. If a user creates a language code incorrectly according to the BCP-47 spec, that is the user's problem, not Sigil's. Note, the list of supported language variations is already huge, for those that only use a small handful of language codes, there is already a Sigil environment variable to restrict it to only the values you specify (plus the list of user interface languages). status: accepted - I have already implemented this and pushed it to Sigil master. available in the latest Sigil 2.8.7 pre-release 3. Allow TOC QDockWidget to remember which entries are collapsed vs expanded across Refreshes. This will help those with large complex TOCs. (jd1004) status: accepted - This has been implemented and pushed to Sigil master. available in the latest Sigil 2.8.7 pre-release ----------------------- For access to pre-releases of Sigil 2.8.7 please see this post: https://www.mobileread.com/forums/sh...32&postcount=1 I know a few of you have made recent suggestions and I asked you to please wait. Please post them to this thread including the justification as to why this will help a large subset of Sigil users. As new suggestions come in I will update the list above with the status. Everyone should feel free to comment on if they would find a particular suggestion valuable or not. Just add your thoughts to this thread. And Finally: Only accepted suggestions will be implemented. And that decision is completely up to the Sigil developers: DiapDealer, and me (KevinH) Things that are too messy or too risky or just bloat or not useful for enough users will be rejected. Sigil is already reaching the point of being close to bloated. Suggestions must be valuable to many in order to accepted. Last edited by KevinH; Yesterday at 06:41 PM. Reason: updated accepted suggestions status |
|
|
|
|
|
#2 |
|
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 466
Karma: 100100
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
|
Suggestion for improvement of Reports
Time will tell if this is of interest to anyone else. Well, here goes....
When editing and/or replacing images, if the Reports tool shows that an image is used several times through the epub, we have to follow up with a search to find the xhtml files concerned. It would be very useful, and save time, if Reports could show the location of images especially when they appear multiple times in an epub. Maybe it could be possible to add a column showing xhtml file names (and even line numbers) in the images page of Reports? |
|
|
|
|
|
#3 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,315
Karma: 7640672
Join Date: Nov 2009
Device: many
|
The only issue I can think of might be the required width of the column if an image is repeated many times throughout the epub, such as scene break images, chapter start garnish images, whitespace filler images, etc.
Since the results of GetInfo in not tabular, maybe we list all files an image can be found in a book in the output of its GetInfo instead. Then maybe create a shortcut from Reports to launch GetInfo on its row? Last edited by KevinH; 11-26-2026 at 07:51 PM. |
|
|
|
|
|
#4 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,101
Karma: 4000789
Join Date: Jan 2017
Location: Poland
Device: Various
|
@philja. I'm not sure if a validation-type plugin wouldn't be better here.
It could simply flag single images as "info" and those posted multiple times as "warning." All of them would be clickable, so you could jump right to the relevant part of the code. While it’s at it, it could search for images that have never been used (which can be deleted) and identical images (so duplicates can be removed). Of course, that’s just my subjective opinion. Last edited by BeckyEbook; Yesterday at 01:51 PM. Reason: Jump version, screenshot |
|
|
|
|
|
#5 |
|
Member
![]() Posts: 19
Karma: 10
Join Date: Nov 2025
Device: none
|
Expansion in the ToC Window
When I open an Epub, all entries in the Table Of Contents window are expanded. When I collapse an entry and then save the Epub, all entries are expanded again. This can be annoying in Epubs with a large ToC.
Would it be possible not to change/reset the ToC window on file/save? As always, a big thanks to the developers for the stellar job they are doing! |
|
|
|
|
|
#6 |
|
Member
![]() Posts: 19
Karma: 10
Join Date: Nov 2025
Device: none
|
Very minor issue with the Book Browser window
When I open an epub with enough files for the Book Browser to have a scroll bar, the "Text" folder in Book Browser is expanded, the first file is selected, and the window is scrolled down a little, so that the "Text" folder does not show.
I think the scroll bar should be at the top position when an epub is opened. Prior to Sigil 2.8.6, this happened when running "Tools" - "Restructure Epub to Sigil Norm". I'm not sure that's an issue for anybody else, but maybe it's trivial to change/fix? |
|
|
|
|
|
#7 |
|
Member
![]() Posts: 19
Karma: 10
Join Date: Nov 2025
Device: none
|
Find & Replace in all searchable files
Plugin EpubCheck sometimes generates messages like
ERROR(RSC-005): Error while parsing file: value of attribute "id" is invalid; must be an XML name without colons How can I find/replace e.g. id="01234" with e.g. id="id01234" in all HTML files and also in toc.ncx? |
|
|
|
|
|
#8 | |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,315
Karma: 7640672
Join Date: Nov 2009
Device: many
|
Quote:
Last edited by KevinH; Yesterday at 11:00 AM. |
|
|
|
|
|
|
#9 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,315
Karma: 7640672
Join Date: Nov 2009
Device: many
|
This is a thread for suggestions for Sigil. Please use a different thread to ask for help using Sigil Find and Replace, not this one. Look at Search Groups in Saved Searches.
Last edited by KevinH; Yesterday at 11:42 AM. |
|
|
|
|
|
#10 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,315
Karma: 7640672
Join Date: Nov 2009
Device: many
|
If you read the first post in this thread, this thread is meant to suggest new features or improvements that will benefit a large number of Sigil users and not for things specific to a single user or to ask for help.
|
|
|
|
|
|
#11 | |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,315
Karma: 7640672
Join Date: Nov 2009
Device: many
|
Quote:
But given that scene breaks, chapter starter images, and old fashioned empty graphics for unusual spacing are common in epubs, why would reuse of an image be considered a problem or issue? How common is reuse outside of these cases? |
|
|
|
|
|
|
#12 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,101
Karma: 4000789
Join Date: Jan 2017
Location: Poland
Device: Various
|
Quote:
It's perfectly normal for any graphical separators to appear multiple times. This is more to show that the plugin can do this without modifying Sigil's code; besides, I don't quite understand WHY exactly @philja would need to check this. |
|
|
|
|
|
|
#13 | |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,315
Karma: 7640672
Join Date: Nov 2009
Device: many
|
Quote:
I still think GetInfo for an image giving bookpath and line numbers for each use of that image might be useful. And I also do not understand why listing all places used by an image is important or valuable for an ImagesReport? @philja, why is this capability of interest? What does it help detect? Would BeckyEbooks plugin be enough? |
|
|
|
|
|
|
#14 | |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,315
Karma: 7640672
Join Date: Nov 2009
Device: many
|
Quote:
So I will look into storing the expanded nodes and trying to remember them for a restore after a Refresh. Last edited by KevinH; Yesterday at 02:13 PM. |
|
|
|
|
|
|
#15 | |
|
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 466
Karma: 100100
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
|
Quote:
I'm sorry for the delay in getting back on this issue. I've had other problems today which kept me away from the desktop. First - I'm in the process of updating loads of tech images in instructional manuals. Some of these images are used more than once in different chapters under different Figure no's but with the same image name. Replacing one instance with a new image file using a different filename and then deleting the old file would leave a hole(s) in the epub where the other instance(s) were located. This hole would be identifed by EpubCheck but some awkward research might be required to understand exactly which deleted file was concerned. Reports correctly identifies that the image is used more than once, and it's not really an enormous burden to do a 'Find' to locate them. I thought it might be relatively trivial for Reports to note where they were located since the tool had already found them. I had forgotten, though, that some 'people' use images as scene breaks or even decorations at chapter headings. Those cases would produce a lengthy Report. I agree that GetInfo could be another option, but see below for my comment on the plugin. So maybe you'd just prefer to forget this idea. @Becky - I just tried your plugin. It works great - it identifes the locations and a click on the result line gets me straight there. So that's me fixed for the moment. Thanks. Last edited by philja; Yesterday at 02:55 PM. Reason: expanded reasons |
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| New Features or Improvements post Sigil 2.8.1 | KevinH | Sigil | 155 | 10-03-2026 07:16 PM |
| Improvements? New Features? post sigil 2.7.6 | KevinH | Sigil | 315 | 05-23-2026 11:40 AM |
| Suggestions for Sigil Improvements or New Features | KevinH | Sigil | 241 | 03-02-2026 02:09 PM |
| Suggestions for Sigil Improvements or New Features | KevinH | Sigil | 168 | 11-18-2025 01:23 PM |
| Hello. Where do I make suggestions for future improvements? | spelunker | Sigil | 19 | 02-28-2022 12:46 PM |