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-29-2020, 08:43 AM   #1
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: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
PageEdit-1.2.0 Released

PageEdit-1.2.0

PageEdit-1.2.0 is primarily a bug fix release.

Bug Fixes
  • fix issues when using PageEdit to edit epubs from outside of Sigil's environment
    • properly detect and handle non utf-8 encodings
    • properly convert html to xhtml syntax
    • properly add the xml header file where needed

The latest official PageEdit user guide can always be downloaded from its own repository. There's also a user-created guide that can be found here.

The binary downloads (and source) can be found as assets at the bottom of the PageEdit Github Release page.
DiapDealer is online now   Reply With Quote
Old 03-30-2020, 06:31 PM   #2
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: 20,567
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Would you anticipate any problems running PageEdit 1.2 from Sigil 1.0 via Brook Bowser->content.opf->Open With... ?

Take Care

BR
BetterRed is offline   Reply With Quote
Old 03-30-2020, 06:47 PM   #3
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: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I wouldn't expect any trouble, no. The programs don't really mingle in any dangerous or meaningful way. Just files watched for changes.
DiapDealer is online now   Reply With Quote
Old 03-31-2020, 01:49 AM   #4
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: 20,567
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Thanks, I didn't think it would.

For some reason PE has stopped working from calibre's opf->open with - probably my fault, but I figured I should install the new PE before investigating further.

I don't want to upgrade Sigil until I 'need' to.

BR
BetterRed is offline   Reply With Quote
Old 03-31-2020, 07:46 AM   #5
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,644
Karma: 5433388
Join Date: Nov 2009
Device: many
The only significant change to PageEdit for 1.2.0 was to fix issues PageEdit had when working with epub files when used without Sigil involved at all. PageEdit should now handle non-utf-8 encoded files (it is always given utf-8 files when used with Sigil).

So nothing to impact Calibre's open with usage should have happened. What errors or problems are you seeing?
KevinH is online now   Reply With Quote
Old 03-31-2020, 06:16 PM   #6
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: 20,567
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Hi Kevin,

I can't recall what the error was precisely, except it was a file not found. I need to find time to investigate. Pretty sure it's either the way I've hooked PE into calibre, or its a calibre issue because I could PE the same book from Sigil's open with on the opf in the same book.

I've been roped into supervising my neighbours kids learning from home, whilst their mother copes with working from home - so I'm a bit short of time.

Damn it: I took a peek, calibre editor isn't unpacking the epub to the same temp folder where it puts the opf that goes to PE via its Open With. It seems to create a separate temp folder for every file that's opened via it's Open With. I can't even find the unpacked book

Maybe using PE from calibre isn't as easy as I thought, but why did I think it worked before - for me its not important, I use both editors.

Aside : I hope nobody thinks your checkpoint feature is synonymous with the calibre editor's checkpoint feature.

Take care - BR
BetterRed is offline   Reply With Quote
Old 04-01-2020, 09:29 AM   #7
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: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by BetterRed View Post
Aside : I hope nobody thinks your checkpoint feature is synonymous with the calibre editor's checkpoint feature.
Not sure I follow.
If you mean you hope they don't think the features are identical, then sure, there's lots of differences. But the bottom line is that both provide a means to save an epub in various states, diff the changes between the current state and any saved checkpoint, and the ability to restore any of those previously saved states. That's fairly synonymous in my book. The Sigil feature is still in its infancy, as well.

Or did you mean something else?
DiapDealer is online now   Reply With Quote
Old 04-01-2020, 10:00 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: 7,644
Karma: 5433388
Join Date: Nov 2009
Device: many
Yes, I wondered the same thing.

Kovid has designed an interface for a "container" that creates hard links (two paths names to the exact same file) plus he can detect when changes are made and knows when to split that hard link into two separate links (a real copy on write/modification) approach. It is actually quite nice and similar to what we do in our plugin interface but at a greater scale. This allows him to make almost instantaneous file "copies" or "backups" and only incur the cost of a real file copy when absolutely needed.

We can not use that approach in Sigil in general as there are too many ways to change individual files and Sigil was not designed for that approach in mind. Plus Qt QHash did not support keeping attribute order unlike Python. So we had to create a simple Qt QHash variant to keep attribute order and then decided to use a git repository and actual checkins and things to store versions of the file and to produce diffs. They should be basically the same thing but his approach will be faster, whereas our approach can be used with external git tools/reports/etc. So each has its pluses and minuses but both should functionally do the same things. Allow reasonably fast versioned saves and restores if needed.
KevinH is online now   Reply With Quote
Old 04-01-2020, 10:04 AM   #9
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 BetterRed View Post
Aside : I hope nobody thinks your checkpoint feature is synonymous with the calibre editor's checkpoint feature.
IMHO, one major advantage of the Sigil implementation is that checkpoints are permanently stored and don't get lost once a book is closed.
Doitsu is offline   Reply With Quote
Old 04-01-2020, 04:19 PM   #10
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: 20,567
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
I knew they're not the same. My concern was that others who uses both editors might think a checkpoint taken in one of them would be accessible in the other one.

One the maxims that my English teachers drummed into me was: 'Use not the same word with different meanings nor yet the different words with the same meaning.' The value of that became very apparent when I started teaching ESL classes.

To avoid potential confusion I probably would have opted for a different label - 'versioning' perhaps.

And my 'synonymous' probably should have been 'equivalent'

BR

Last edited by BetterRed; 04-01-2020 at 04:24 PM.
BetterRed is offline   Reply With Quote
Old 04-01-2020, 04:58 PM   #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: 7,644
Karma: 5433388
Join Date: Nov 2009
Device: many
Actually if Calibre's checkpoints go away when you close the book, there is little Sigil could do to actually use one in any way. That said, writing a calibre plugin to extract a epub from a git archive would be quite easy to do.
KevinH is online now   Reply With Quote
Old 04-01-2020, 05:19 PM   #12
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: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by BetterRed View Post
I knew they're not the same. My concern was that others who uses both editors might think a checkpoint taken in one of them would be accessible in the other one.

One the maxims that my English teachers drummed into me was: 'Use not the same word with different meanings nor yet the different words with the same meaning.' The value of that became very apparent when I started teaching ESL classes.

To avoid potential confusion I probably would have opted for a different label - 'versioning' perhaps.

And my 'synonymous' probably should have been 'equivalent'

BR
Checkpoints is what they are, so checkpoints is what they're called. The notion of checkpoints in software existed long before Sigil or Calibre, so I fail to see any need whatsoever to reinvent the wheel by calling it something else. You're waaaay overthinking this.

I don't think anyone will be at all confused over it. And for the few who might be, there's two communities to help set them straight.

Last edited by DiapDealer; 04-01-2020 at 05:21 PM.
DiapDealer is online now   Reply With Quote
Old 04-02-2020, 02:08 AM   #13
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: 20,567
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Gee - you guys sure do know how to make a mountain out of molehill. It was an 'aside', a casual remark - end of.

Wash your hands

BR
BetterRed is offline   Reply With Quote
Old 04-02-2020, 04:16 AM   #14
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: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Yeah right. We're the ones making mountains out of molehills. Nice try.
DiapDealer is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PageEdit-1.1.0 Released DiapDealer Sigil 6 02-09-2020 07:29 PM
PageEdit-0.9.6 Released DiapDealer Sigil 22 01-30-2020 09:00 PM
PageEdit-1.0.0 Released DiapDealer Sigil 0 12-17-2019 08:47 PM
PageEdit-0.9.5 Released DiapDealer Sigil 46 10-26-2019 06:55 PM
PageEdit-0.8.0 Released DiapDealer Sigil 37 08-25-2019 04:14 PM


All times are GMT -4. The time now is 02:44 PM.


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