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 03-21-2010, 05:51 PM   #1
paulpeer
Zealot
paulpeer is on a distinguished road
 
paulpeer's Avatar
 
Posts: 147
Karma: 56
Join Date: Dec 2009
Location: Antwerpen
Device: iPhone, Sony PRS-505, EPUBreader
Removing soft hypens

Is there a way to remove all soft hyphens from an ePub using Sigil?

I'm not talking about the HTML soft hyphen "& shy ;" or "& #8209 ;" (see issue 186), but of the real unicode soft hyphen "0xad", which you cannot see in the book view nor in the code view.

The Sigil FAQ tells us "just remove the soft hyphens", but how to handle this?
paulpeer is offline   Reply With Quote
Old 03-21-2010, 10:12 PM   #2
st_albert
Fanatic
st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.
 
Posts: 544
Karma: 64420
Join Date: Feb 2010
Device: none
OK, dumb question: Is there not a search & replace option or syntax that will let you search for hex codes?
st_albert is offline   Reply With Quote
 
Enthusiast
Old 03-22-2010, 02:56 AM   #3
paulpeer
Zealot
paulpeer is on a distinguished road
 
paulpeer's Avatar
 
Posts: 147
Karma: 56
Join Date: Dec 2009
Location: Antwerpen
Device: iPhone, Sony PRS-505, EPUBreader
Quote:
Originally Posted by st_albert View Post
OK, dumb question
If I had found an hex search and replace, I hadn't asked my dumb question in the first place
paulpeer is offline   Reply With Quote
Old 03-22-2010, 06:47 AM   #4
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 6,051
Karma: 4347035
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Copy&paste the soft hyphen from the character map application?
Jellby is offline   Reply With Quote
Old 03-22-2010, 12:21 PM   #5
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,978
Karma: 350515
Join Date: Feb 2008
Device: Sony Reader PRS 505
What Jellby said.
Valloric is offline   Reply With Quote
Old 03-23-2010, 09:08 AM   #6
paulpeer
Zealot
paulpeer is on a distinguished road
 
paulpeer's Avatar
 
Posts: 147
Karma: 56
Join Date: Dec 2009
Location: Antwerpen
Device: iPhone, Sony PRS-505, EPUBreader
OK. This seems to work. But I feel pretty unsure when I have to search a thing I don't see (the soft hyphen) and replace it by another thing I don't see ... I've done the job now in my usual editor Unired, which does show the soft hyphens.
paulpeer is offline   Reply With Quote
Old 03-24-2010, 01:27 AM   #7
DrMoze
Booknut
DrMoze plays well with othersDrMoze plays well with othersDrMoze plays well with othersDrMoze plays well with othersDrMoze plays well with othersDrMoze plays well with othersDrMoze plays well with othersDrMoze plays well with othersDrMoze plays well with othersDrMoze plays well with othersDrMoze plays well with others
 
Posts: 848
Karma: 2852
Join Date: Jul 2007
Device: Sony Reader 500/505/300/350
OK, I have this same problem (soft hyphens in ePub showing up as '?'s on my Reader). I don't see them even in Code View.

So, what is this "character map application" that I can copy the soft hyphen from?I don't see it anywhere in Sigil. And do I just do a global replace of that character with nothing?

Thx!
DrMoze is offline   Reply With Quote
Old 03-24-2010, 05:32 AM   #8
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 6,051
Karma: 4347035
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by DrMoze View Post
So, what is this "character map application" that I can copy the soft hyphen from?I don't see it anywhere in Sigil. And do I just do a global replace of that character with nothing?
It should be in your OS. In Windows it's probably in the Accessories section of your Start menu. See here. The soft hyphen is, I believe, in position 173 (decimal) or AD (hexadecimal).
Jellby is offline   Reply With Quote
Old 03-24-2010, 05:54 AM   #9
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 6,051
Karma: 4347035
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
I've created issue 316.
Jellby is offline   Reply With Quote
Old 03-24-2010, 06:07 AM   #10
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 1,418
Karma: 846401
Join Date: Jan 2009
Device: KoboGlo
You can do that with OpenOffice on any platform, including the dark side:

You can copy/paste one of the soft hyphens into the Find & Replace "Search for" field, or you can set "Options/Regular expressions: ON" and enter \x00AD in place of the soft hyphen.

or

http://bugs.calibre-ebook.com/ticket/1137

Last edited by roger64; 03-24-2010 at 07:29 AM.
roger64 is offline   Reply With Quote
Old 03-28-2010, 02:42 PM   #11
DrMoze
Booknut
DrMoze plays well with othersDrMoze plays well with othersDrMoze plays well with othersDrMoze plays well with othersDrMoze plays well with othersDrMoze plays well with othersDrMoze plays well with othersDrMoze plays well with othersDrMoze plays well with othersDrMoze plays well with othersDrMoze plays well with others
 
Posts: 848
Karma: 2852
Join Date: Jul 2007
Device: Sony Reader 500/505/300/350
Quote:
Originally Posted by roger64 View Post
You can do that with OpenOffice on any platform, including the dark side:

You can copy/paste one of the soft hyphens into the Find & Replace "Search for" field, or you can set "Options/Regular expressions: ON" and enter \x00AD in place of the soft hyphen.

or

http://bugs.calibre-ebook.com/ticket/1137
The problem with the Calibre approach (converting ePub to ePub should remove the soft hyphens) is that I get weird line spacing problems when I do it. (Adjacent lines overlap; manually increasing line spacing doesn't help.)
DrMoze is offline   Reply With Quote
Reply

Tags
editing, epub, sigil, soft hyphens

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Soft Hyphens wallcraft Workshop 29 06-12-2012 04:21 AM
Question- Hypens (dashes) insterted between words? sn0fl8k3 Calibre 16 08-21-2010 04:47 AM
Classic Soft rooting and files Care Nook Developer's Corner 2 07-29-2010 01:25 AM
Are there tools or soft for 700? eyp Sony Reader 1 02-20-2009 03:20 PM
Removing the Stock Soft Cover Aybara Sony Reader 8 04-28-2007 02:17 PM


All times are GMT -4. The time now is 08:13 AM.


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