07-15-2013, 03:09 PM | #1 |
Connoisseur
Posts: 63
Karma: 10
Join Date: Jul 2011
Device: Sony Touch, Nook Simple Touch, Kobo Aura, Android w/CoolReader
|
64-Bit: Universal Changes Require Saving Every Chapter
Hi!
Several months ago I got a new computer and went from Windows XP, 32 bit to Win7 64bit. I did a default installation of the 64 bit version if Sigil on to my Win7 system. The only significant difference I've experienced is that when I was using the 32bit software I could do universal changes that effected multiple html pages within the epub and, with HTML Tidy turned on it would ask upon save if I want Sigil to fix the problems. For example: I could start with headers that look like this: Code:
<p><br class="calibre1" /> <br class="calibre1" /></p> <p class="calibre2">Chapter One</p> And make a universal change that looks like this up to the word "Chapter": Code:
<p class="paracent"><br /></p> <h2 class="chhead">Chapter Now, with 64 bit, I have to save once for every page/ chapter that is effected. This is not a big deal with 10 or 20 chapter books, although it is pain. However, 60 chapter books are starting to bother me. Is there something I have neglected to turn on that will make the corrections universally, the way it used to with 32 bit? |
07-15-2013, 04:32 PM | #2 |
Well trained by Cats
Posts: 29,800
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
You were relying on Tidy to clean up after you deliberately made mess (if you insist on continuing this insanity, change your clean source preferences to use Tidy HTML)
IMHO a tiny bit more REGEX and you could have rebuilt with the proper H2 closing tag Code:
<p class="calibre2">Chapter (.+?)</p> Code:
<h2 class="chhead">Chapter \1</h2> |
07-15-2013, 04:37 PM | #3 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Also, the latest version of Sigil is not available in 64-bit.
|
07-15-2013, 05:27 PM | #4 |
Grand Sorcerer
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
|
07-15-2013, 09:27 PM | #5 | |
Connoisseur
Posts: 63
Karma: 10
Join Date: Jul 2011
Device: Sony Touch, Nook Simple Touch, Kobo Aura, Android w/CoolReader
|
Quote:
The truth is that I am hit or miss with the Regex and I don't like to come here and ask people to troubleshoot code for me all the time. I feel like I'm taking advantage. When I was using XP the making a mess and letting Tidy fix it was working for me, now not so much. |
|
07-15-2013, 09:31 PM | #6 |
Connoisseur
Posts: 63
Karma: 10
Join Date: Jul 2011
Device: Sony Touch, Nook Simple Touch, Kobo Aura, Android w/CoolReader
|
I'm using 0.7.2 version 5.0.2 Build time 4/14/13. Is that not the 64bit? I could have sworn that was what I intentionally downloaded.
I have HTML Tidy turned on, though. I miss being able to "save" and have it fix universally instead of requiring me to do a save for every html document in the epub that needs a fix. |
07-16-2013, 02:52 AM | #7 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Relying on Tidy will get you in deep water sooner than later. I only use the pretty print option, but that is it.
Most RegEx is not that complex and you will get the hang of it quickly. The more complex stuff requires more knowledge. The example you gave is not that complex. |
07-16-2013, 06:52 AM | #8 | |
Color me gone
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
Quote:
When Sigil is in total brainlock, the task manager shows cpu usage at 25%, no higher. |
|
07-16-2013, 07:14 AM | #9 | |
Grand Sorcerer
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
|
|
07-16-2013, 08:19 AM | #10 |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
multi-core support should surely be added to the 32 bit version, if it's not already there ?
that's not the same issue as 32 vs 64 bit. the only "delay" I ever notice is in loading sigil to begin with but that is down to windows prefetch not having the nous to keep it loaded |
07-16-2013, 08:58 AM | #11 | |
Connoisseur
Posts: 63
Karma: 10
Join Date: Jul 2011
Device: Sony Touch, Nook Simple Touch, Kobo Aura, Android w/CoolReader
|
Quote:
Will it make a difference? |
|
07-16-2013, 12:11 PM | #12 |
Connoisseur
Posts: 63
Karma: 10
Join Date: Jul 2011
Device: Sony Touch, Nook Simple Touch, Kobo Aura, Android w/CoolReader
|
I just looked at my installation file history (I keep them historically for a while in case I want to roll back after the legacy install file is no longer available). The last installation file I used that was specifically 64 bit was:
Sigil-0.6.2-Windows-x64-Setup.exe Since then they do not specify 64 bit. I suppose I assumed I was getting that because this was the first one I installed with this new, 64 bit computer. |
07-17-2013, 07:09 AM | #13 |
Color me gone
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
I am testing out that proposition here using a 64 bit version which DiapDealer graciously provided to me.
It seems to be a bit faster, but I am going to have to load a monster epub with basement full of footnotes, images, etc to really find out. Later...I tested it on a 45 meg epub. I can't really pin down any difference, as much as I would like to find one. A search/replace for 4500 items using regex took place almost immediately. I swapped out <dt> for <p> leaving the guts of paragraph in place. Last edited by mrmikel; 07-17-2013 at 07:30 AM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre 32-bit and 64-bit Installed; Uninstall 32-bit? | J-Mac | Calibre | 6 | 06-29-2013 06:40 AM |
Windows 7 64-bit + Calibre 0.9.14 64 bit BSD | rjh007 | Calibre | 6 | 01-27-2013 03:35 PM |
Losing files when saving saving to disk | theaccountant | Library Management | 4 | 03-10-2011 02:38 PM |
Does Calibre 64 bit Windows use 64 bit Python? | KevinH | Calibre | 1 | 01-16-2011 11:14 AM |
Journal Not Saving Writing When Moving to a New Page or Saving it | eberhardt333 | enTourage Archive | 5 | 11-24-2010 12:47 AM |