Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 11-26-2026, 12:44 PM   #1
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 10,317
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>
This file will be read only once at Sigil startup. These language codes will be added into the Language pull down menu's in the MetaEditor and all throughout Sigil.

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
KevinH is offline   Reply With Quote
Old 11-26-2026, 06:05 PM   #2
philja
Evangelist
philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!
 
Posts: 467
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?
philja is offline   Reply With Quote
Old 11-26-2026, 07:14 PM   #3
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 10,317
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.
KevinH is offline   Reply With Quote
Old 11-26-2026, 07:21 PM   #4
BeckyEbook
Wizard
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
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.
Attached Thumbnails
Click image for larger version

Name:	sigil-reusedimages-sample-results.png
Views:	5
Size:	44.7 KB
ID:	227692  
Attached Files
File Type: zip ReusedImages_v0.1.2.zip (26.9 KB, 2 views)

Last edited by BeckyEbook; Yesterday at 01:51 PM. Reason: Jump version, screenshot
BeckyEbook is online now   Reply With Quote
Old Yesterday, 10:27 AM   #5
jd1004
Member
jd1004 began at the beginning.
 
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!
jd1004 is offline   Reply With Quote
Old Yesterday, 10:34 AM   #6
jd1004
Member
jd1004 began at the beginning.
 
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?
jd1004 is offline   Reply With Quote
Old Yesterday, 10:42 AM   #7
jd1004
Member
jd1004 began at the beginning.
 
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?
jd1004 is offline   Reply With Quote
Old Yesterday, 10:51 AM   #8
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 10,317
Karma: 7640672
Join Date: Nov 2009
Device: many
Quote:
Originally Posted by jd1004 View Post
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?
No, the centring autoscrolling behaviour caused bugs ie. inadvertant drag and drop on double-click. So BookBrowser will now only autoscroll just to make a selected item just visible.

Last edited by KevinH; Yesterday at 11:00 AM.
KevinH is offline   Reply With Quote
Old Yesterday, 10:54 AM   #9
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 10,317
Karma: 7640672
Join Date: Nov 2009
Device: many
Quote:
Originally Posted by jd1004 View Post
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?
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.
KevinH is offline   Reply With Quote
Old Yesterday, 10:59 AM   #10
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 10,317
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.
KevinH is offline   Reply With Quote
Old Yesterday, 11:51 AM   #11
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 10,317
Karma: 7640672
Join Date: Nov 2009
Device: many
Quote:
Originally Posted by BeckyEbook View Post
@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.
That is a very interesting plugin. I had never seen code that wrappers the plugin bk object before. One thing ... html escaping and unescaping should never be used in an href. URLEncoding and URLDecodung is the correct (spec) way to handle uncommon chars in hrefs in the OPF manifest. Either way that is a novel use of the validation plugin. And the validation plugin filepaths are now url encoded and urldecoded.

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?
KevinH is offline   Reply With Quote
Old Yesterday, 12:23 PM   #12
BeckyEbook
Wizard
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 1,101
Karma: 4000789
Join Date: Jan 2017
Location: Poland
Device: Various
Quote:
why would reuse of an image be considered a problem or issue?
This is absolutely not a issue, but simply a way to distinguish these images from those that are used only once.

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.
BeckyEbook is online now   Reply With Quote
Old Yesterday, 12:56 PM   #13
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 10,317
Karma: 7640672
Join Date: Nov 2009
Device: many
Quote:
Originally Posted by BeckyEbook View Post
This is absolutely not a issue, but simply a way to distinguish these images from those that are used only once.

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.
Oh okay. Either way, nice plugin!

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?
KevinH is offline   Reply With Quote
Old Yesterday, 02:05 PM   #14
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 10,317
Karma: 7640672
Join Date: Nov 2009
Device: many
Quote:
Originally Posted by jd1004 View Post
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!
A Save involves a flush all to disk which automatically sets the Modified flag on the NCX or Nav which are reset to unmodified only after the save. Modifying either causes a TOC refresh / rebuild.

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.
KevinH is offline   Reply With Quote
Old Yesterday, 02:44 PM   #15
philja
Evangelist
philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!philja rocks like Gibraltar!
 
Posts: 467
Karma: 100100
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
Quote:
Originally Posted by KevinH View Post
Oh okay. Either way, nice plugin!

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?

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
philja is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 06:26 PM.


MobileRead.com is a privately owned, operated and funded community.