Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 07-08-2021, 11:42 AM   #1
abraum
Enthusiast
abraum began at the beginning.
 
Posts: 32
Karma: 10
Join Date: Aug 2020
Device: Tablet
Features that i miss in Sigil

Hi,

so far i used calibre editor to edit my ebooks (epub; most from scanned books converted with abbyy fine reader). Sigil has some very nice features that calibre hasn't but i miss some features:

automatically add closing tag:
finereader is doing a good job but sometimes i need to change some tags and here calibre can automatically add the </tag> when there is a <tag>. when i have this "<p>sdfvbjhdfsbdjhdbdfjhdf". when i now enter "</" calibre completes this to "</p>. The same with all other tags.

When i have headlines or bold text the text is "highlighted" also in the editor and the preview. This can be very helpful in big files.

The images sorting is strange. finereader creates this image names: "main-1.jpg", "main-11.jpg". sigil is sorting the images like this:

Quote:
main-1.jpg
main-10.jpg
main-2.jpg
correct is

Quote:
main-1.jpg
main-2.jpg
main-10.jpg
When i save a file calibre is much faster then sigil. is this normal behaviour or a problem with my system?
abraum is offline   Reply With Quote
Old 07-08-2021, 12:47 PM   #2
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: 8,758
Karma: 5706256
Join Date: Nov 2009
Device: many
Sigil has the ability to insert the proper ending tag at any text position. Just use that menu.

Sorting is not done numerically. Simply group rename your images in Sigil is you want to inject leading 0s to force a particular sort. This is very easy to do in Sigil.

Saving a file is never slow on my system. Not sure why that would be for you.
KevinH is online now   Reply With Quote
Advert
Old 07-08-2021, 12:51 PM   #3
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,046
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Many file systems ALPHA sort. This means, it uses the ASCII value to sort, left to right.
Padding digits with a Leading 0 is the common way to keep the character position, thus sorting, in lineup
theducks is offline   Reply With Quote
Old 07-08-2021, 03:09 PM   #4
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: 8,758
Karma: 5706256
Join Date: Nov 2009
Device: many
Also, the order of images and other non-spine resources is not relevant. And here is no order inside the zip archive that comprises the epub. The only order important in BookBrowser is the xhtml files order which represents the spine.

As theducks, explained, most file systems use alphanumeric sorting when presenting unordered sets of files. This is exactly what Sigil's BookBrowser does as well.

If saving an epub is "slow" my guess is your anti-virus protection or auto back-up software is interfering somehow. Or you are using a slower network addressable storage (or are trying to write files back into calibre?)
KevinH is online now   Reply With Quote
Old 07-08-2021, 07:30 PM   #5
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,716
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by KevinH View Post
If saving an epub is "slow" my guess [ . . . ] or [you] are trying to write files back into calibre?
Dell i7-7700 16GB RAM - Windows 10 64 bit Pro, Defender AV, Sigil 1.6, Calibre 5.22

I start Sigil via the calibre library manager's built-in Open With feature, I also use the calibre Editor. I cannot discern any difference in the time they take to save an EPUB back into the library book directory it came from - both pretty damn quick.

I start editors for other file types in the same way, the fact that the files are stored in a calibre library makes no difference to save times.

The calibre library manager doesn't monitor the library for file content changes, nor even for file/directory adds, renames or deletes. Calibre libraries are 'black-boxes' in name only, factually they are a hierarchy of regular directories and files whose names are determined by the library manager software.

My calibre libraries are not subject to Windows Controlled folder access (ransomware protection).

BR
BetterRed is online now   Reply With Quote
Advert
Old 07-09-2021, 12:59 AM   #6
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,120
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by BetterRed View Post
The calibre library manager doesn't monitor the library for file content changes, nor even for file/directory adds, renames or deletes. Calibre libraries are 'black-boxes' in name only, factually they are a hierarchy of regular directories and files whose names are determined by the library manager software.
Personally, I treat my calibre libraries as black boxes since I've read too many messages from people who have mucked around with their calibre libraries with operating system and/or third party file tools and are now pleading for help with issues. Or the person a while back who was complaining about not being able to save a file from Sigil when they also had it open in e-book viewer so they could see what changes they needed to make. I really don't need to add PEBKAC errors to the problems I already deal with.

Last edited by DNSB; 07-09-2021 at 01:01 AM.
DNSB is online now   Reply With Quote
Old 07-09-2021, 03:15 AM   #7
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,716
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@DNSB - Your "Personally, I treat my calibre libraries as black boxes since. . . " is entirely consistent with my "Calibre libraries are 'black-boxes' in name only, factually. . ."

BR

Last edited by BetterRed; 07-09-2021 at 03:18 AM.
BetterRed is online now   Reply With Quote
Old 07-09-2021, 12:07 PM   #8
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,347
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
Black Boxes for ransomware protection....interesting.

Do you have a link or something to point to more info??
Turtle91 is offline   Reply With Quote
Old 07-09-2021, 12:25 PM   #9
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,564
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Windows is much more secure now than it used to be. It has achieved this by making it difficult for programs to do any of the things they might need to do in order to function correctly.
DiapDealer is online now   Reply With Quote
Old 07-09-2021, 03:24 PM   #10
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,347
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
Quote:
Originally Posted by DiapDealer View Post
Windows is much more secure now than it used to be. It has achieved this by making it difficult for programs to do any of the things they might need to do in order to function correctly.
lol.... that is truth!

I thought BR had some special something saying "not subject to Windows Controlled folder access".
Turtle91 is offline   Reply With Quote
Old 07-09-2021, 03:59 PM   #11
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,564
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
You can exclude folders from Windows Controlled folder access (or at the very least, turn it off entirely). I think that's what BR was saying. His calibre library is either located somewhere not under the control of the built-in controlled folder access, or he's disabled it.

EDIT: it seems you either turn the protection off, or you exclude applications from it. I always turn it off, since I don't install software with questionable pedigrees.

Last edited by DiapDealer; 07-09-2021 at 04:06 PM.
DiapDealer is online now   Reply With Quote
Old 07-09-2021, 07:44 PM   #12
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,716
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by DiapDealer View Post
I think that's what BR was saying. His calibre library is either located somewhere not under the control of the built-in controlled folder access [. . .]
↑ ↑ ↑ ✔

Been ever thus.

The default location used by calibre is the user Documents folder, which is one of the Standard folders that Windows designates as being "Controlled". I've never kept anything I value in Windows so-called Standard folders.

I was trying to imagine what could make saving an EPUB file after editing it in Sigil significantly slower than saving the same EPUB file after editing it in the Calibre Editor on @abraum's system, but not on mine.

Since yesterday this crossed my mind:

I have the calibre Environment variable CALIBRE_CACHE_DIRECTORY set to C:\_AppData\Calibre\Cache and I can see that's where the Calibre Editor unpacks the EPUB its working on. I can't recall the calibre's default location for this, but I don't think it's C:\Users\<user>\AppData\Local\Temp

I have set Sigil->Edit->Preferences->General Settings->Advanced->Set folder where temporary files should be created: to C:/_AppData/Sigil/Temp and I can see that's where Sigil unpacks the EPUB its working on. I'm guessing the default location is C:\Users\<user>\AppData\Local\Temp

So, I'm wondering if @abraum has some 3rd party always-on clean-up utility that maintains a watch and acts on changes to C:\Users\<user>\AppData\Local\Temp.

BR
BetterRed is online now   Reply With Quote
Old 07-09-2021, 08:54 PM   #13
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,564
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by BetterRed View Post
So, I'm wondering if @abraum has some 3rd party always-on clean-up utility that maintains a watch and acts on changes to C:\Users\<user>\AppData\Local\Temp.

BR
Anything's possible. I've never really understood the attraction of such "cleanup" utilities, myself. I'd much rather stick to using well-behaved programs that properly cleanup after themselves.

The OP never really mentioned what version of Sigil they are using, or what kind of epub (huge, monolithic with tons of images?), so there's not much point in me hazarding a guess at this point.
DiapDealer is online now   Reply With Quote
Old 07-09-2021, 10:30 PM   #14
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,716
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
IIRC one of the popular system image backup utilities. or maybe an AV tool, added a clean-up feature in the recent past - and turned it on by default.
BetterRed is online now   Reply With Quote
Old 07-10-2021, 05:30 AM   #15
abraum
Enthusiast
abraum began at the beginning.
 
Posts: 32
Karma: 10
Join Date: Aug 2020
Device: Tablet
Quote:
Originally Posted by KevinH View Post
Just use that menu.
what menu? what i mean is when i have this code

Code:
</h1>text
and i enter '</' at the end of the line calibre completes this to '</h1> automatically. i like this very much.

Quote:
Originally Posted by KevinH View Post
If saving an epub is "slow" my guess is your anti-virus protection or auto back-up software is interfering somehow. Or you are using a slower network addressable storage (or are trying to write files back into calibre?)
i don't use windows, i use linux. there is no anti-virus or firewall or backup software running in background. i only use calibre editor and not calibre library. i open all books with the "open with" menu of the file manager in sigil or calibre editor.

i will test this on an other system using ubuntu.
abraum is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What Features or Tools does Sigil Still Need Yet? KevinH Sigil 175 03-06-2021 09:11 PM
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
Writer2ePub, Sigil, and mjBookMaker Features Ransom Writer2ePub 1 09-21-2011 09:20 AM


All times are GMT -4. The time now is 07:17 PM.


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