![]() |
#1 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,264
Karma: 78869092
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Please.. There is no need to post the same in three of the forums here (Kobo, calibre and sigil)
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
|
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
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. |
![]() |
![]() |
![]() |
#5 |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,292
Karma: 20171067
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
|
Don't forget the closing slash on the second span:
<span>(.*?)</span> and replace it with \1. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
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 |