Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 01-29-2013, 12:50 AM   #1
sunny1z
Enthusiast
sunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura about
 
Posts: 33
Karma: 4350
Join Date: Jan 2013
Device: Kobo Glo
<pan> issue on Kobo

I was reading a dutch translated book..and it shows up wierd because words got broken off in a unlogical way sometimes. In another post someone told me it was because of the <span> and <\SPAN> in the code when I showed him how it showed up in Sigil


<p class="Pplat">‘Hij was er een tijdje bij, j<span>a</span>, d<span>a</span>cht ik,’ zei St<span>a</span>n Reeves. ‘Hij heeft geholpen het een en ander voor de delegatie te regelen.’</p>


the kobo can break of the word "dacht" in englisch="thought"at the end of the sentence like

.....d
acht ik,

it would be like hyphenating T-H-OUGHT
The Kobo thinks he can cut of the words there. I can delete every <span> and <\SPAN> in Sigil by checking ever page and that clears the screen... but I was wondering if there is an easier way in Calibre/Sigil to bulk convert.
Don't know how to solve it in an easy way for all my books
sunny1z is offline   Reply With Quote
Old 01-29-2013, 01:40 AM   #2
PeterT
Taking a break; Fed up
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 6,522
Karma: 42666590
Join Date: Nov 2007
Location: Toronto
Device: Wife: Touch, Arc, Vox Me: Nexus 7, Glo
Please.. There is no need to post the same in three of the forums here (Kobo, calibre and sigil)
PeterT is online now   Reply With Quote
Old 01-29-2013, 02:17 AM   #3
sunny1z
Enthusiast
sunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura about
 
Posts: 33
Karma: 4350
Join Date: Jan 2013
Device: Kobo Glo
sorry... did not know if some Calibre experts would dive into the kobo forum. therefore I posted it in different parts
sunny1z is offline   Reply With Quote
Old 01-29-2013, 06:59 AM   #4
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 2,866
Karma: 2714881
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
Since it is an issue with an ePUB, the correct forum would be the ePUB forum. Not any of the others...

Anyway, it is easy to remove the empty spans via Sigil. Do the following search/replace:

<span>(.*?)<span> and replace it with \1.
Toxaris is offline   Reply With Quote
Old 01-29-2013, 07:48 AM   #5
Turtle91
Guru
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: 669
Karma: 3807234
Join Date: Dec 2012
Location: Shannon, Ireland today
Device: iPhone 5/iPad 1&2/Surface Pro/Kindle PW
Don't forget the closing slash on the second span:


<span>(.*?)</span> and replace it with \1.
Turtle91 is offline   Reply With Quote
Old 01-29-2013, 08:18 AM   #6
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 2,866
Karma: 2714881
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
Typed too fast.
Toxaris is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre and Kobo desktop issue Martina223 Kobo Reader 4 11-19-2012 07:38 AM
Kobo cannot fix my issue, can you? misticaleclipse Kobo Reader 12 10-09-2011 04:45 PM
Kobo sync issue shantorn Kobo Reader 2 06-07-2011 08:22 AM
Kobo Cover Issue Wasgo Devices 2 03-16-2011 11:36 AM


All times are GMT -4. The time now is 06:40 PM.


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