![]() |
#31 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,748
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
I don't use the plugin. BR |
|
![]() |
![]() |
![]() |
#32 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,805
Karma: 6000000
Join Date: Nov 2009
Device: many
|
Yes but unfortunately it is a tree based list with parent and child nodes separated by /.
It has fields is_group, fullname, name, find, replace. So if we were to use the filename as the fullname of the group, and assume all entries are part of that group, we would still need to derive a name for each entry, before adding the find and replace strings. Also order matters here as each entry is performed in the order they are found (so no sorting). Seems like overkill but I guess we could name them by something like fix0001 through fixXXXX but that isn't very meaningful. So it won't be as simple as reading in a delimited list. But it should be doable. |
![]() |
![]() |
![]() |
#33 |
Zealot
![]() Posts: 100
Karma: 10
Join Date: Aug 2019
Device: none
|
1. Regular expression with function replacement (can be developed as a plug-in)
2. Search save function add save search mode 3. Setting options for turning off html checking for files larger than a specified size |
![]() |
![]() |
![]() |
#34 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,805
Karma: 6000000
Join Date: Nov 2009
Device: many
|
1. Writing and using Sigil's plugins is much more flexible than writing replacement functions in python itself. So I do not think that feature is needed. If you can write a replacement function in python you should have no trouble creating a plugin. The interface is very simple.
2. What do you mean by "save search mode"? Do You mean regular expression control flags should be saved along with the search or something else? 3. There is no regular checking of html files once loaded. Turn off Preview on very very large files. But note, single large html files are generally a very poor design choice. |
![]() |
![]() |
![]() |
#35 | |
Zealot
![]() Posts: 100
Karma: 10
Join Date: Aug 2019
Device: none
|
Quote:
2. Yes. Normal/Regex/Case sensitive/Do not change, current/all/selected/do not change. 3. single large html files is used before divided, and I need to do saved search/replace before divided. Anyawy , I will try. |
|
![]() |
![]() |
![]() |
#36 | |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,805
Karma: 6000000
Join Date: Nov 2009
Device: many
|
Quote:
When faced with one huge large html file I do the following after initial load. 1. Temporarily turn off Preview using View menu 2. Run Mend and Prettify to clean code and make structure more clear. 3. Use find and replace to insert all sigil split markers at chapter start points all in one go. 4. Use Split At Markers 5. Turn back on Preview. |
|
![]() |
![]() |
![]() |
#37 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,731
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
Find & Replace: new Validate Regex option
I have one more Find & Replace enhancement suggestion: how about adding a simple regex validator?
Apparently, you can actually use a regular expression for this. But I'm sure that there must be some Open Source C++ libraries for validating regular expressions. (Since Auto-Tokenize automatically escapes some characters, users shouldn't be able to select both Auto-Tokenize and Validate Regex.) When Validate Regex is checked and the Find/Replace boxes contain invalid regular expressions, Sigil should display a warning, when the user clicks the Find button. Maybe you could also format invalid regular expressions in red to indicate that they're invalid. |
![]() |
![]() |
![]() |
#38 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 500
Karma: 3498633
Join Date: May 2011
Location: Surrey, UK
Device: Kobo Aura One, Sony PRS 600/650
|
I borrow a lot of the books I read from my County Library.
Unfortunately they do not have many copies of each book (probably to keep the publishers happy) so it's a bit hit-and-miss as to when they are available. Because of this I tend to grab them when I can. The problem is they have a limited time to read, and if I have just started to read another book by the time I get around to them they have expired. To get around this I use the Aprentice Alf tools in Calibre to remove the time limit (I will probably get shot down in flames for admitting that) so that I don't have to worry about them expiring. If Sigil were to have something that could do the same I would no reason to use Calibre - which I despise for its enforced file management regime. So my suggestion is either something built-in or a plug-in to remove DRM from epubs. |
![]() |
![]() |
![]() |
#39 |
Banned
![]() Posts: 20
Karma: 10
Join Date: Feb 2020
Device: tolino epos
|
I would prefer if the filename scheme is the same regardless if you split by position or split by markers,
|
![]() |
![]() |
![]() |
#40 | |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,805
Karma: 6000000
Join Date: Nov 2009
Device: many
|
Sorry. That is never going to happen. Sigil is not an e-reader. FWIW, at least in the old days, calibre only ever provided the gui for Alf's tool. The old version of the tool had its own standalone gui and calibre was never needed. My guess is they dropped out the gui code. But taking the old gui code and converting it to epub3 would not be hard to do.
As for using Alf's tool on library books, something that you have not paid for, is a big bad in my opinion. Hope you are at least deleting *all* of your copies when the book has been read. Quote:
Last edited by KevinH; 12-17-2020 at 08:06 AM. |
|
![]() |
![]() |
![]() |
#41 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,805
Karma: 6000000
Join Date: Nov 2009
Device: many
|
No, that is your preference and not a feature request. They split in different ways. Simply Use Rename or RegularExpression Rename after spliting either way to get what you want.
|
![]() |
![]() |
![]() |
#42 | |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 500
Karma: 3498633
Join Date: May 2011
Location: Surrey, UK
Device: Kobo Aura One, Sony PRS 600/650
|
Quote:
And yes, I do delete my library books after reading. I have never been a fan of reading books more than once so there is not a lot of point keeping them. |
|
![]() |
![]() |
![]() |
#43 |
Banned
![]() Posts: 20
Karma: 10
Join Date: Feb 2020
Device: tolino epos
|
No, its not my preference. I neither choosed the one nor the other, its hardcoded by you or maybe already by valloric.
And by the way i'm sick off your arrogante answers. Last time by telling me that the bug i reported has been already (!) mentionend (where? it wasnt in the thread so i reported it. If it wasn't in the thread how was I supposed to know it was already reported and make me feel like I was too stupid to read the thread. Now your telling me that the filename schema is my preference which it isnt. I cant change it. But just leave it alone. You change sigil to suit YOU. Ok. But then don't ask for other opinions/ideas. |
![]() |
![]() |
![]() |
#44 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,611
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
![]() We're looking for "Feature Requests" here, not personal preference tweaks. As for the rest of your post: don't let the door hit you. I'm the resident arrogant butthead around here, not Kevin. He's the reasonable polite one. Last edited by DiapDealer; 12-17-2020 at 08:55 AM. |
|
![]() |
![]() |
![]() |
#45 | |||
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,805
Karma: 6000000
Join Date: Nov 2009
Device: many
|
So you are upset because this earlier response?
Quote:
If you really are that touchy then this forum is probably not the right place for you, as I really could not be more polite in my answer. I really do try not to offend anyone in my replies (until they attack me first). The way you choose to split files is of course your personal preference. As DiapDealer said, this thread is about feature requests not personal preference choices or tweaks (as in just your likes and dislikes). If English is not your first language, then perhaps not all of this was clear at first read. That said, attributing my replies to "malice" is probably not fair in the least. Quote:
If you do not like this opensource approach then you are probably best served by looking elsewhere for your software needs. KevinH Quote:
Last edited by KevinH; 12-17-2020 at 09:52 AM. |
|||
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Touch HD, Future features or dead features? | ElWorm | PocketBook | 4 | 02-07-2018 11:36 AM |
New Plugin Features in the upcoming Sigil 0.8.900 | KevinH | Plugins | 6 | 09-14-2015 02:48 PM |
FAQ>How do I use ... features of the conversion tools? | chaot | Library Management | 2 | 08-28-2012 07:28 AM |
Writer2ePub, Sigil, and mjBookMaker Features | Ransom | Writer2ePub | 1 | 09-21-2011 09:20 AM |
ePub Creation Tools: Sigil vs Oxygen | twedigteam | ePub | 6 | 12-10-2010 03:41 AM |