![]() |
#1 |
Enthusiast
![]() Posts: 34
Karma: 10
Join Date: Jan 2020
Device: Kindle Paperwhite 32 GB
|
Problem with  
I recently edited a text using the Calibre Editor 7.26, and I used   to generate thin non-breaking spaces, mostly to manage how punctuation behaves within a french text (i.e. thin space before ; : ! », etc.)
All went well in the editor, the displayed text on the right pane was OK. BUT when I open the ePub file with the Calibre Viewer 7.26, my non-breaking spaces break ! How can I fix this, please ? |
![]() |
![]() |
![]() |
#2 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,433
Karma: 142887248
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#3 |
Enthusiast
![]() Posts: 34
Karma: 10
Join Date: Jan 2020
Device: Kindle Paperwhite 32 GB
|
I usually use Georgia ; so I tried Times New Roman, Garamond Pro, Calibri, even Futura. Same problem occurs...
|
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,986
Karma: 27109258
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
what does they "break" mean? And the viewer and editor both render using Qt WebEngine. Attach a sample ebook showing the issue as there could be anymore of problems causing it.
|
![]() |
![]() |
![]() |
#5 | |
Enthusiast
![]() Posts: 34
Karma: 10
Join Date: Jan 2020
Device: Kindle Paperwhite 32 GB
|
“break” means that there's a line break in the wrong place, just where I'd inserted &thinsp ;.
Apparently, you can only insert a URL here, not a file, and my file isn't on the net. However, I've attached one of the xhtml files from the file, which shows the problem I encountered. Quote:
|
|
![]() |
![]() |
![]() |
#6 |
Enthusiast
![]() Posts: 34
Karma: 10
Join Date: Jan 2020
Device: Kindle Paperwhite 32 GB
|
The problem can be seen, for instance, in the sentence:
************** Elle a probablement été lue devant la société dite « <i class="calibre4">The Heretics</i> » ; *************** In the editor, there is no line break in the middle of : « <i class=“calibre4”>The Heretics</i> » ; But there is in the viewer. |
![]() |
![]() |
![]() |
#7 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,496
Karma: 29709834
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
If the file type you want to attach isn't in the list, put the file in a zip archive. BR |
|
![]() |
![]() |
![]() |
#8 |
Enthusiast
![]() Posts: 34
Karma: 10
Join Date: Jan 2020
Device: Kindle Paperwhite 32 GB
|
Thanks !
|
![]() |
![]() |
![]() |
#9 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 805
Karma: 6528026
Join Date: Sep 2012
Device: Kobo Elipsa
|
I thought   ( &#8201; ) allowed breaks but maybe I'm wrong. Have you tried a narrow non-breaking space ( &#8239; )?
|
![]() |
![]() |
![]() |
#10 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 43,418
Karma: 165170834
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Beaten to the answer by icallaci.
From what I remember... stopped to check Wikipedia and it does say the narrow non-breaking space is the correct choice. |
![]() |
![]() |
![]() |
#11 |
Enthusiast
![]() Posts: 34
Karma: 10
Join Date: Jan 2020
Device: Kindle Paperwhite 32 GB
|
It worked.
What I did in the editor was : - insert character (from the edit menu) - Go to general punctuation - Select [nnb sp] (NARROW NO-BREAK SPACE (U+202F) ) - Search and replace   with this character (appears as a grey character) So I was wrong from the beginning thinking   was a no-break thing ... I thought it was the "thin" version of ... my bad ! Thanks for your help ! |
![]() |
![]() |
![]() |
#12 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 805
Karma: 6528026
Join Date: Sep 2012
Device: Kobo Elipsa
|
Oh, good. Glad it worked.
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Old Thread] Problem reading converted EPUB & PDB on Barnes & Noble eReader | webfolk | Calibre | 3 | 01-09-2012 10:08 PM |
(Problem Resolved) AARGGGGHHHHH!!! Sony #&%@&^#(*%!*#& CS | DrMoze | Sony Reader | 11 | 09-06-2007 11:17 AM |