Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 10-14-2015, 07:10 PM   #1
Gregg Bell
Gregg Bell
Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.
 
Gregg Bell's Avatar
 
Posts: 2,266
Karma: 3917598
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
Is 0.8.4 buggy?

This is the first ebook I've made with 0.8.4. (I've made several others with earlier versions.) On this book the first file I did got corrupted/broken splitting chapters. So I started over on a different computer with a fresh html. Same thing happened at the same spot. Chapter Ten (out of twenty-some).

Then I was able to split the chapters using theduck's suggestion:

Quote:
I insert a sigil_split Marker at the places I want (ctrl-shift-enter (I made a clip)
(Using REGEX when possible)

then press F6 at the end
But when I did that it expanded the number of non-breaking spaces in my chapter breaks, which started as:

<p class="asterisks">*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</p>

and ended up as:

<p class="asterisks">*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</p>

And one was even slightly different than that.

I've made five or six ebooks with Sigil and never run into anything funky like this. Before I took theducks' suggestion I religiously followed the User's Manual. It's not like I did anything weird.

So it looks like I'm limping through this book with 0.8.4 but should I be switching to a later version for future ones? (And if so, what's the most reliable version?) And did anybody else encounter this funky stuff with 0.8.4?
Gregg Bell is offline   Reply With Quote
Old 10-14-2015, 07:39 PM   #2
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: 30,912
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Greg

many render engines ignore multiple white space
I space the letters using the CSS

My scene break CSS
Code:
.scenebreak {
border-bottom: 0; border-top: 0; display: block; font-size: 1.0em; font-weight: bold; word-spacing: 1.5em; margin: .5em 0; padding: 0; text-align: center;
}
theducks is offline   Reply With Quote
Advert
Old 10-14-2015, 07:42 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: 28,361
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
0.8.4 wasn't any buggier than any other version that I know of. It was always pretty solid for me. Though I freely admit that I believe splitting at the cursor in Book View is just asking for trouble eventually.

I refuse to make any sort of edits in Book View, quite frankly.

Actually, from the sound of things, it's likely your system's libxml2 that's buggy. There were other reports of doubling nbsp issues that were traced to flaky versions of libxml2. Any system updates recently?

Last edited by DiapDealer; 10-14-2015 at 07:56 PM.
DiapDealer is offline   Reply With Quote
Old 10-14-2015, 07:47 PM   #4
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: 30,912
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by DiapDealer View Post
0.8.4 wasn't any buggier than any other version that I know of. It was always pretty solid for me. Though I freely admit that I believe splitting at the cursor in Book View is just askng for trouble eventually.

I refuse to make any sort of edits in Book View, quite frankly.


When it was buggier (1.x), you could count on being bitten in BV

I now use Preview to Locate (click there), and do my stuff in CV.

Note: I run 2 Monitors (one is an old 768x1024= Portrait) which is where Preview lives
theducks is offline   Reply With Quote
Old 10-14-2015, 10:47 PM   #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: 8,487
Karma: 5703586
Join Date: Nov 2009
Device: many
Hi Greg,

If this is linux, you may have an old buggy libxml2 shared library on your system. The old buggy version used to double all entities that were nbsp.
You should probably check which version of libxml exists on your system and which is linked into Qt and make sure it is not buggy.

Kevin

Quote:
Originally Posted by Gregg Bell View Post
This is the first ebook I've made with 0.8.4. (I've made several others with earlier versions.) On this book the first file I did got corrupted/broken splitting chapters. So I started over on a different computer with a fresh html. Same thing happened at the same spot. Chapter Ten (out of twenty-some).

Then I was able to split the chapters using theduck's suggestion:



But when I did that it expanded the number of non-breaking spaces in my chapter breaks, which started as:

<p class="asterisks">*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</p>

and ended up as:

<p class="asterisks">*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</p>
KevinH is offline   Reply With Quote
Advert
Old 10-14-2015, 10:48 PM   #6
Gregg Bell
Gregg Bell
Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.
 
Gregg Bell's Avatar
 
Posts: 2,266
Karma: 3917598
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
Quote:
Originally Posted by theducks View Post
Greg

many render engines ignore multiple white space
I space the letters using the CSS

My scene break CSS
Code:
.scenebreak {
border-bottom: 0; border-top: 0; display: block; font-size: 1.0em; font-weight: bold; word-spacing: 1.5em; margin: .5em 0; padding: 0; text-align: center;
}

That's good to know ducks. Don't leave anything to chance. Thanks.
Gregg Bell is offline   Reply With Quote
Old 10-14-2015, 10:55 PM   #7
Gregg Bell
Gregg Bell
Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.
 
Gregg Bell's Avatar
 
Posts: 2,266
Karma: 3917598
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
Quote:
Originally Posted by DiapDealer View Post
0.8.4 wasn't any buggier than any other version that I know of. It was always pretty solid for me. Though I freely admit that I believe splitting at the cursor in Book View is just asking for trouble eventually.

I refuse to make any sort of edits in Book View, quite frankly.

Actually, from the sound of things, it's likely your system's libxml2 that's buggy. There were other reports of doubling nbsp issues that were traced to flaky versions of libxml2. Any system updates recently?
Thanks Diap. It's weird. I had the problem on two different computers. The first was a billion nbsps in the middle of the html. And now this one is with the doubling in just the areas that already have nbsps to begin with. (the scene splits have some asterisks separated by nbsps)

No, no system updates recently.

Hate to be so needy but I Googled libxml2 and it is thoroughly over my head. Any suggestions on how to check out/remedy this flaky libxml2 thing?
Gregg Bell is offline   Reply With Quote
Old 10-14-2015, 10:59 PM   #8
Gregg Bell
Gregg Bell
Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.
 
Gregg Bell's Avatar
 
Posts: 2,266
Karma: 3917598
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
Quote:
Originally Posted by KevinH View Post
Hi Greg,

If this is linux, you may have an old buggy libxml2 shared library on your system. The old buggy version used to double all entities that were nbsp.
You should probably check which version of libxml exists on your system and which is linked into Qt and make sure it is not buggy.

Kevin
Thanks Kevin. Two questions: 1) Since I was able to complete the .epub today (I just Replaced all the too many nbsps with the right amount), is it a safe bet that that .epub is sound?

2) Got a link or anything on how to check my libxml as to determine its bugginess? (I am particularly low-tech.)
Gregg Bell is offline   Reply With Quote
Old 10-14-2015, 11:17 PM   #9
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,487
Karma: 5703586
Join Date: Nov 2009
Device: many
Hi Greg,

One easy way to see what version of libxml2 you have installed on your system is to do the following in a terminal.

cd /usr/lib
find ./ -name "libxml2*"


For me this shows:

libxml2.so.2.9.1 as the full versioned library name.

Hope this helps,

KevinH
KevinH is offline   Reply With Quote
Old 10-14-2015, 11:25 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: 8,487
Karma: 5703586
Join Date: Nov 2009
Device: many
Hi Greg,

Have you tried running it through FlightCrew and or epubcheck and have you flipped through the start of each chapter to make sure it looks correct?

KevinH


Quote:
Originally Posted by Gregg Bell View Post
Thanks Kevin. Two questions: 1) Since I was able to complete the .epub today (I just Replaced all the too many nbsps with the right amount), is it a safe bet that that .epub is sound?
KevinH is offline   Reply With Quote
Old 10-15-2015, 05:50 AM   #11
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 1,518
Karma: 987654
Join Date: Dec 2012
Device: Kindle
8.4 is what I'm using, and I haven't had any problem with it (beyond Preview Pane jumping around, which I never experienced before).

I haven't any ill effect from splitting the book in Book View (it's the only thing I use BV for, now that I have Preview Pane), but I'll try to mend my ways in the future.
Notjohn is offline   Reply With Quote
Old 10-15-2015, 06:56 AM   #12
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,185
Karma: 144286760
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Does word spacing work in ADE? I didn't think it did. I could be incorrect here though.
JSWolf is online now   Reply With Quote
Old 10-15-2015, 09:46 AM   #13
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: 30,912
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by JSWolf View Post
Does word spacing work in ADE? I didn't think it did. I could be incorrect here though.
Not really (I had not check it out enough, obviously. I sure wish Sigil had device behavior sheets that could be invoked to remind us of stuff that won't work )
theducks is offline   Reply With Quote
Old 10-15-2015, 10:09 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: 28,361
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by theducks View Post
Not really (I had not check it out enough, obviously. I sure wish Sigil had device behavior sheets that could be invoked to remind us of stuff that won't work )
Hmmm. If only there was some way for someone to create specialty validation routines that could check for known (and/or configurable) issues with specific devices/apps/platforms. And could be distributed as addons. Wouldn't that be cool?
DiapDealer is offline   Reply With Quote
Old 10-15-2015, 10:12 AM   #15
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
@KevinH -- any word on which libxml2 versions are actually buggy?
Is the latest libxml2 2.9.2+dfsg1-3 in Ubuntu 15.04 Vivid Vervet (IIRC @Gregg you are on Kubuntu 15.04) a known good version?
eschwartz is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PW 2 a little buggy? Strether Amazon Kindle 14 11-01-2013 11:49 AM
PRS-T1 Is the PRS-T1 supposed to be this buggy? martinrebas Sony Reader 18 02-17-2013 04:32 PM
Is OSX Lion buggy? unboggling Apple Devices 99 09-14-2011 12:27 PM
MyLibrary 0.14 = buggy jhempel24 Barnes & Noble NOOK 2 01-30-2011 07:47 AM
New Cybook - Buggy as hell AndyCapon Bookeen 40 05-27-2008 01:40 AM


All times are GMT -4. The time now is 01:31 PM.


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