Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 03-11-2022, 11:40 AM   #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: 7,657
Karma: 5433388
Join Date: Nov 2009
Device: many
Sigil Requested Changes Under Consideration post Sigil-1.9.2

Here is the latest list (in no particular order, and NO PROMISES!!!!!)

Sigil To-Do List
--------------------

  • Some form of supported templating for HTML, TOC and Index generation (under consideration but doable by plugin) (@BeckyEbook)
  • Multiple paragraph justification setting via the CV alignment icon (although PageEdit does this now) (@Vanguard3000)
  • Add a regex to be used to build TOC when no headings tags exist (considering but this is against accessibility) (@patrik)
  • Try to update to lastest BS4 (but be careful of license change) (dev team)
  • Add GetInfo dialog to BookBrowser to add/change Semantics and Manifest Properties on a File (dev team)
  • Add CSSToolbox and GUI to help users create, manipulate, and merge multiple css stylesheets/selectors (@Tex2002ans)
    • merge selectors across separate css stylesheets
    • delete selectors from a stylesheet
    • strip out a set of properties across all selectors and stylesheets
    • compare two selector property lists to find matching selectors across stylesheets
  • Explore developing Spellcheck like advance editing features (@Tex2002ans)
  • Update to Mathjax 3.x when possible (dev team)

Last edited by KevinH; 05-26-2022 at 10:59 PM. Reason: Update list to post 1.9.10
KevinH is offline   Reply With Quote
Old 03-11-2022, 12:42 PM   #2
phillipgessert
Addict
phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.
 
phillipgessert's Avatar
 
Posts: 311
Karma: 3196258
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
Is it ok to make additional requests in this thread, or is there a better channel for that?

Edit: actually, I think the post-1.8 equivalent turned into a bunch of requests, so I may as well go for it. I'd find customizable reports handy for getting counts on e.g. tables and lists, though I realize this can already be done via search. Just a convenience thing. I'd also find it useful to use Launch XHTML Editor for CSS files. I'd also like it if Delete Unused Media Files could also pull out unused fonts.

And this is an odd one: I occasionally like to disable line wrapping in text editors that allow it, usually when I'm strictly examining block-level semantics and don't really care about the content within. I found an old thread where someone else mentioned it, and it seemed to be a fairly unpopular idea--just adding my voice to that (very small) chorus.

Totally get that none of the above may be useful to enough people to be worth considering, just putting em out there. And it seems like a lot of the time when I think "this would be a great addition!" someone helpfully points out Sigil can already do it. Apologies wherever that might be the case.

Last edited by phillipgessert; 03-11-2022 at 01:57 PM.
phillipgessert is offline   Reply With Quote
Advert
Old 03-11-2022, 02:02 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: 7,657
Karma: 5433388
Join Date: Nov 2009
Device: many
Here is fine. That is what this thread was meant to do.

But please make sure any additional requests are not better done as plugins, can not already be done in other ways, and are meant to help multiple users (just not one person's specific workflow). The more people it helps the better.

And no promises anything suggested makes it onto our To-Do list.

Other than that fire away ...

Last edited by KevinH; 03-11-2022 at 02:04 PM.
KevinH is offline   Reply With Quote
Old 03-11-2022, 02:19 PM   #4
phillipgessert
Addict
phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.
 
phillipgessert's Avatar
 
Posts: 311
Karma: 3196258
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
Yep, fired away above but wouldn’t be surprised if they’re either too specific to me or are better suited to plugins. Least they’re out of my brain now!
phillipgessert is offline   Reply With Quote
Old 03-11-2022, 02:20 PM   #5
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by phillipgessert View Post
I'd find customizable reports handy for getting counts on e.g. tables and lists[...]
If all you need is the total number of <table>, <ol> and <ul> tags per file/book, this could easily be done as a plugin.
Doitsu is offline   Reply With Quote
Advert
Old 03-11-2022, 02:29 PM   #6
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: 7,657
Karma: 5433388
Join Date: Nov 2009
Device: many
As for deleting unused fonts - exactly how would you define unused fonts?

if a font is referenced in the css but its selector is never applied, and the files are present, is it unused?

That might be something for a plugin

And as for creating "custom reports", I was thinking of adding a Count Report button to Saved Searches that can be applied to any Saved Search group to produce a table of Counts for each search as a way to implement this existing To-Do request:

Quote:
Find some way to report sub-counts when counting using saved search groups (@Tex2002ans)
You could then create your own saved search group with searches for whatever you wanted to count for the report.

Would that work?
KevinH is offline   Reply With Quote
Old 03-11-2022, 02:32 PM   #7
phillipgessert
Addict
phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.
 
phillipgessert's Avatar
 
Posts: 311
Karma: 3196258
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
Quote:
Originally Posted by Doitsu View Post
If all you need is the total number of <table>, <ol> and <ul> tags per file/book, this could easily be done as a plugin.

Well there we go. Since that one’s better as a plugin AND can already be done via search, probably not a great one. Need to learn me some python one of these days.

Edit: actually, the below does sound just about perfect for what I’d be trying to do.

Quote:
Originally Posted by KevinH View Post
You could then create your own saved search group with searches for whatever you wanted to count for the report.

Would that work?

Last edited by phillipgessert; 03-11-2022 at 02:37 PM.
phillipgessert is offline   Reply With Quote
Old 03-11-2022, 02:39 PM   #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: 7,657
Karma: 5433388
Join Date: Nov 2009
Device: many
Also if you want to launch an external CSS editor, why can't you just use Open With. For epubs with only few stylesheets that should work just fine.

For editing lots of CSS stylesheets at the same time, you could use the Launch External XHTML and pass the entire opf to your application, but whatever is launched would need to be smart enough to parse the opf and extract and open each css stylesheet.

FWIW, I am still thinking about how to identify and merge common selectors across stylesheets but I am leaning toward doing this in a plugin as most epubs have less than a handfull of stylesheets.

Last edited by KevinH; 03-11-2022 at 02:42 PM.
KevinH is offline   Reply With Quote
Old 03-11-2022, 02:45 PM   #9
phillipgessert
Addict
phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.
 
phillipgessert's Avatar
 
Posts: 311
Karma: 3196258
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
It honestly never occurred to be to use Open With on CSS files. I certainly will now!
phillipgessert is offline   Reply With Quote
Old 03-11-2022, 03:17 PM   #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: 7,657
Karma: 5433388
Join Date: Nov 2009
Device: many
As for toggling line wrap mode in CodeView, I will experiment with adding a context sensitive menu item to do that to see how it reacts. If it doesn't hurt anything and if others would find that useful, then maybe.

It may be quite easy to do but CV would always load as wrapped at first (as it is now) and the user would have to toggle it on and off via the pop-up menu in each CV.

It would not be a Sigil Prefs setting thing.

It would be there just to give people a chance to quickly view structure, as editing while horizontally scrolling is a real pain.
KevinH is offline   Reply With Quote
Old 03-11-2022, 03:24 PM   #11
phillipgessert
Addict
phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.
 
phillipgessert's Avatar
 
Posts: 311
Karma: 3196258
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
That's pretty much exactly how I'd use it, just as a temporary toggle to whip through a file checking opening tags. I'd just about bet that other folks that'd use it would use it that way too.
phillipgessert is offline   Reply With Quote
Old 03-11-2022, 03:38 PM   #12
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,101
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
I’m just curious. What good does an html editor do for CSS files?? They are just text….

I can see something like notepad++ making pretty colors, but it doesn’t fill in details for you
Turtle91 is offline   Reply With Quote
Old 03-11-2022, 03:39 PM   #13
BeckyEbook
Guru
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: 692
Karma: 2180740
Join Date: Jan 2017
Location: Poland
Device: Misc
Quote:
Originally Posted by phillipgessert View Post
That's pretty much exactly how I'd use it, just as a temporary toggle to whip through a file checking opening tags. I'd just about bet that other folks that'd use it would use it that way too.
I admit that I use this feature several times a year (which I mentioned in this thread). I can't do an on/off checkbox on the context menu, but just close the xhtml file and reopen it to get the view back to the standard (ie with wrapping) text.
I usually combine NoWrap with the additional replace of /n/n to single /n to make code checking run faster.

I just decided that I wanted to have such an option, even if it was useful to me relatively rarely. And I couldn't reach NoWrap through the plugin.
Attached Thumbnails
Click image for larger version

Name:	sigil-nowrap.png
Views:	110
Size:	84.1 KB
ID:	192686  
BeckyEbook is offline   Reply With Quote
Old 03-11-2022, 03:56 PM   #14
phillipgessert
Addict
phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.
 
phillipgessert's Avatar
 
Posts: 311
Karma: 3196258
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
Quote:
Originally Posted by Turtle91 View Post
I’m just curious. What good does an html editor do for CSS files?? They are just text….

I can see something like notepad++ making pretty colors, but it doesn’t fill in details for you
It's far less useful than it is for HTML files, for sure; but the most common reasons I launch an external editor is for multi-cursor or little text editor niceties I don't think it'd be reasonable to expect Code View to replicate. And for a long time I didn't write any CSS in Sigil, only VS Code or Sublime, so sometimes it's just a muscle memory/comfort thing when I'm in a hurry. Though I do find that I don't leave Sigil nearly as often as I used to.

Quote:
Originally Posted by BeckyEbook View Post
I admit that I use this feature several times a year (which I mentioned in this thread). I can't do an on/off checkbox on the context menu, but just close the xhtml file and reopen it to get the view back to the standard (ie with wrapping) text.
I usually combine NoWrap with the additional replace of /n/n to single /n to make code checking run faster.

I just decided that I wanted to have such an option, even if it was useful to me relatively rarely. And I couldn't reach NoWrap through the plugin.
Yep, that's the thread I found when I first searched for this, and learned that for some it seems like kind of an odd thing to want. Definitely not something I would use every day, but it'd be a handy feature!

Last edited by phillipgessert; 03-11-2022 at 04:01 PM.
phillipgessert is offline   Reply With Quote
Old 03-11-2022, 04:19 PM   #15
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: 7,657
Karma: 5433388
Join Date: Nov 2009
Device: many
Seems like there is some interest from others ...

So @BeckyEbook,
If you change the menu item to something like "Toggle Line Wrap Mode", and implement it in the CodeViewEditors (its ContextMenu), I would be happy to merge a PR right after Sigil-1.9.2 is released.

Thanks!

KevinH

Quote:
Originally Posted by BeckyEbook View Post
I admit that I use this feature several times a year (which I mentioned in this thread). I can't do an on/off checkbox on the context menu, but just close the xhtml file and reopen it to get the view back to the standard (ie with wrapping) text.
I usually combine NoWrap with the additional replace of /n/n to single /n to make code checking run faster.

I just decided that I wanted to have such an option, even if it was useful to me relatively rarely. And I couldn't reach NoWrap through the plugin.

Last edited by KevinH; 03-11-2022 at 04:46 PM.
KevinH is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Possible To-Do List for Future Sigil Releases Post Sigil 1.8 KevinH Sigil 143 02-05-2022 12:08 PM
Icon Redesign for future 1.0 Release of Sigil shorshe Sigil 38 06-06-2016 11:29 PM
Sigil on Nook vs Sigil on Kobo vs Sigil on iBook rosshalde Sigil 12 11-13-2014 09:34 AM
Sigil’s Future Direction (Post 0.4.x) user_none Sigil 90 10-11-2011 03:28 PM
Sigil's Future crutledge Sigil 36 07-26-2011 06:02 PM


All times are GMT -4. The time now is 02:33 AM.


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