02-27-2014, 09:31 PM | #1 |
Enthusiast
Posts: 30
Karma: 1000
Join Date: Nov 2012
Device: none
|
Elipsis character displays in code view but not in book view
I'm trying to fix a book that contains many sentences that have no closing punctuation -- in this case an elipsis. These sentences all end a paragraph, and in book view there is no elipsis visible. When I look at the sentences in code view, though, there is a three-dot character that looks like an elipsis, but it's not the exact same elipsis you get when you click special characters. There's more space between the special character elipsis.
I thought it would be a simple fix to have Sigil search for the rouge elipses and replace them with the special character elipses. But when I copy the rogue elipsis out of code view and do a search for them, Sigil doesn't find them. Of course when I try to paste the code into this forum post, the rouge character also doesn't appear, which I guess is why the character doesn't appear in Sigil's book view. The code looks like this: <p class="calibre6">"But I would not be able to get another job, with no academic record, no past work history"</p> In code view, there are three little dots after the word history. The sentences in question aren't broken paragraphs, though. They're supposed to end with an elipsis because the speaker has been interrupted by another person in the book, and his quote follows. If anyone knows what the elipsis-looking characters are and how to replace them, I'd be most grateful. Thanks! |
02-27-2014, 09:46 PM | #2 | |
Well trained by Cats
Posts: 30,442
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
& hellip; or & #8230; (no space in either) Last edited by theducks; 02-28-2014 at 12:19 AM. Reason: mising semicolon |
|
Advert | |
|
02-27-2014, 10:58 PM | #3 | |
Enthusiast
Posts: 30
Karma: 1000
Join Date: Nov 2012
Device: none
|
Quote:
& hellip; and & #8230 are html codes for an ellipsis, correct? |
|
02-28-2014, 12:18 AM | #4 | |
Well trained by Cats
Posts: 30,442
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
(and they usually show) No fonts in the font folder just means the fonts are not EMBEDED The line in the stylesheet font-family: "Times New Roman", serif; Anything other than serif or sans-serif indicates a specific font face call When the font is not embeded, it is supplied by the system. If the system does not have it, the generic alternate is used (serif or sans-serif part) |
|
02-28-2014, 03:14 AM | #5 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
I would be amazed if there is a standard font on a reader that does not have the ellips on board. What you can do is extract the XTHML and open it in a hex editor to check the actual (hex)code of the ellips. That should help in solving this.
|
Advert | |
|
02-28-2014, 08:34 AM | #6 | |
Enthusiast
Posts: 30
Karma: 1000
Join Date: Nov 2012
Device: none
|
Quote:
What now? Thanks! |
|
02-28-2014, 08:38 AM | #7 |
Enthusiast
Posts: 30
Karma: 1000
Join Date: Nov 2012
Device: none
|
Sorry for not being very familiar with this stuff, but how do I extract the XTHML, and where do I find a hex editor? Thanks for your patience.
|
02-28-2014, 08:56 AM | #8 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Right click on the document in the Book Browser on the left. Select 'Save as'. There are various free hex editors out there. I used XVI32 in the past.
|
02-28-2014, 10:25 AM | #9 | |
Enthusiast
Posts: 30
Karma: 1000
Join Date: Nov 2012
Device: none
|
Quote:
tell me—" And the corresponding hex numbers: 74 65 6C 6C 20 6D 65 C2 97 22 What now? Thanks! |
|
02-28-2014, 12:35 PM | #10 | |
Well trained by Cats
Posts: 30,442
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
that & Agrave; should have been a & rdquo; |
|
02-28-2014, 07:57 PM | #11 |
Bookmaker & Cat Slave
Posts: 11,494
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
|
02-28-2014, 07:58 PM | #12 |
Well trained by Cats
Posts: 30,442
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
02-28-2014, 08:53 PM | #13 |
Enthusiast
Posts: 30
Karma: 1000
Join Date: Nov 2012
Device: none
|
Thanks for the information. I'm afraid, though, you're talking above my lowly pay grade. I think à and &rdquo are unicode, but I'm still not sure what I need to do to fix my document. Is there a way to get Sigil to do a search and replace to find and fix the bad code? Sorry for the dumb questions and thanks for your patience.
|
02-28-2014, 08:55 PM | #14 |
Enthusiast
Posts: 30
Karma: 1000
Join Date: Nov 2012
Device: none
|
Oops! I posted the above reply before I saw the latest from Hitch and theducks. I'm still lost, though.
|
02-28-2014, 09:53 PM | #15 | |
Well trained by Cats
Posts: 30,442
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
But Hitch may be closer (She does do this for a living), with the idea that this is a Wordperfect artifact. Did she get that correct? (WP had it's own way of encoding some characters) |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Enter text in Book View or Code View | ronaldl | Sigil | 5 | 10-29-2012 04:12 PM |
replace in book view changes view to code view | cybmole | Sigil | 4 | 10-28-2012 02:20 PM |
Sigil highlight Book View No Longer Shows in Code View | Themus | Sigil | 4 | 10-04-2012 08:54 PM |
quotes differences book view & code view | cybmole | Sigil | 13 | 03-29-2011 02:53 AM |
lock book view & code view windows into synch | cybmole | Sigil | 5 | 01-19-2011 11:30 PM |