![]() |
#31 | |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,764
Karma: 6000000
Join Date: Nov 2009
Device: many
|
Quote:
So the plan is to use 3 letter extensions when they exist and only use 4 letter extensions for much more recent filetype extensions that never had a 3 letter variant (ie. xpgt, webm, webp, etc.) That said, since you build your own you could easily change the table in Misc/MediaTypes.cpp to be what you want. Last edited by KevinH; 02-17-2025 at 07:04 PM. |
|
![]() |
![]() |
![]() |
#32 |
Connoisseur
![]() Posts: 71
Karma: 46
Join Date: Mar 2017
Device: None
|
|
![]() |
![]() |
![]() |
#33 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,764
Karma: 6000000
Join Date: Nov 2009
Device: many
|
Does Sigil need to recognize any Additional Media Types?
Sigil currently recognizes the following media types (each one followed by a list of preferred file extensions - with multiple entries if needed).
When there are multiple media-types for the exact same file type, the entries preceded by an "*" are the most recommended by both the epub 3.3 spec and/or the very latest iana (2025) list (https://www.iana.org/assignments/med...ia-types.xhtml). Spoiler:
Please give this list a once over and let me know if you have run into epubs that make use of additional media-types that you think Sigil should recognize. Also if you have run into older mime/media types not in this list that you think should also be recognized please let me know. Thanks Last edited by KevinH; 02-18-2025 at 05:49 PM. |
![]() |
![]() |
![]() |
#34 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 168
Karma: 474196
Join Date: Jan 2011
Location: Canada
Device: Kobo Libra 2
|
It'd be nice to see a sort of rename/refactor feature for css classes, maybe in the reports window by right-clicking a class.
|
![]() |
![]() |
![]() |
#35 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,764
Karma: 6000000
Join Date: Nov 2009
Device: many
|
You can already rename classes using Sigil.
When editing a css file in CV, highlight a class name (including the starting ".") and use the right mouse button to open a context menu and choose "Rename Selected Class". See attached image. As for "refactoring", you would have to be specific of what and how you want to change given css order is important. Last edited by KevinH; 02-19-2025 at 10:00 AM. |
![]() |
![]() |
![]() |
#36 |
Connoisseur
![]() Posts: 71
Karma: 46
Join Date: Mar 2017
Device: None
|
I would like to view file sizes in the Book Browser by combining shift with the tooltip. Is that something that is technically possible?
|
![]() |
![]() |
![]() |
#37 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 839
Karma: 2657572
Join Date: Jan 2017
Location: Poland
Device: Various
|
Quote:
Workaround: Assign a simple keyboard shortcut to Get Info, such as the letter "i" (like info). Then select any file in Bool Browser and press "i" on the keyboard, and a "Information" window will appear, where you can quickly find the file size. Then Esc (you close the window). |
|
![]() |
![]() |
![]() |
#38 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
File sizes are also shown in Tools->Reports
|
![]() |
![]() |
![]() |
#39 |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,353
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
RE: Function Replace plugin
In my testing so far I haven’t found any issues with the actual function replace… the default functions seem to work as expected. One detractor I found using a plugin was that I can’t interact with the rest of Sigil’s functionality the way you can if it is a built-in feature. eg. Using a clip to fill in the Find field, or copying the highlighted portion into the Find field like you can by selecting the magnifying glass in the ribbon. This is certainly usable, just not as nice/consistent as having it built-in to the find/replace window. I will keep working with it and see how it does when making my own functions. |
![]() |
![]() |
![]() |
#40 | |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,764
Karma: 6000000
Join Date: Nov 2009
Device: many
|
Quote:
If I do the latter on a Mac, the assigned short cut code does not show up in BookBrowser's context menu? How did you make it appear in the menu? |
|
![]() |
![]() |
![]() |
#41 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 839
Karma: 2657572
Join Date: Jan 2017
Location: Poland
Device: Various
|
Quote:
The shortcuts in BookBrowser's context menu automatically show up in Windows, I didn't change anything here. |
|
![]() |
![]() |
![]() |
#42 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,571
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
She's not making anything appear in the context menu (at least I don't think). She's selecting a file in Book Browser and then launching the GetInfo widget via the assigned shortcut.
Works for me on Linux. |
![]() |
![]() |
![]() |
#43 | |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,764
Karma: 6000000
Join Date: Nov 2009
Device: many
|
Quote:
Nice to hear. I am still exploring ways to interface it into Sigil itself but only for ReplaceAll operations where state can be controlled. The problem is guaranteeing spine file order if using the number argument, how to keep state, etc... Last edited by KevinH; 02-19-2025 at 03:09 PM. |
|
![]() |
![]() |
![]() |
#44 | |
Connoisseur
![]() Posts: 71
Karma: 46
Join Date: Mar 2017
Device: None
|
Quote:
What would be really useful for me is to see image and font filesizes without generating a report. |
|
![]() |
![]() |
![]() |
#45 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 168
Karma: 474196
Join Date: Jan 2011
Location: Canada
Device: Kobo Libra 2
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Improvements/bugs/features | dontcrash | KOReader | 10 | 10-23-2019 10:05 AM |
Touch HD, Future features or dead features? | ElWorm | PocketBook | 4 | 02-07-2018 11:36 AM |
[FREE]Innovative Ideas to Ignite Your Mind: Business Ideas to Start Entrepreneurship | amazon author | Self-Promotions by Authors and Publishers | 0 | 04-01-2015 04:09 AM |
How many 'improvements' do we really need? | Fozzybear | General Discussions | 61 | 04-15-2012 12:38 PM |
ideas for calibre features | smarties86 | Recipes | 3 | 07-01-2011 10:23 AM |