Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-24-2013, 04:06 AM   #1
gadf2
Junior Member
gadf2 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Aug 2013
Device: Nook Simple Touch
Prevent words splitting at end of line when making epub

I have a Nook Simple Touch.

I want to take a txt file and convert it to an epub with Calibre.

But when reading it on the my nook simple touch, the words at the end of the line are split.

For example this happens.
Now is the ti-
me for all go-
od men to co-
me to the aid
of their party.


Its splitting the word at the end of a line and adding a "-"

How do I prevent words from being split and hyphenated I am using Calibre?

Is there a CSS I can add.

PLEASE help. I've been trying for three days to make this work.

Its only a 34 page txt file.

PLEASE someone help me from wasting more of my time.
gadf2 is offline   Reply With Quote
Old 08-24-2013, 06:02 AM   #2
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,708
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
I would fix the text file
  1. replace all double new lines (end of paragraph) with say '###',
  2. replace all single new lines with space
  3. replace all double space with space
  4. replace the '###' with new line
  5. convert the file

I'd use Notepad++ on Windows, TextWrangler on Mac and SciTE on Linux. And I'd save as macro so I have it next time.

BR

Last edited by BetterRed; 08-24-2013 at 09:06 AM.
BetterRed is offline   Reply With Quote
Advert
Old 08-24-2013, 10:29 AM   #3
Ravensknight
Serpent Rider
Ravensknight ought to be getting tired of karma fortunes by now.Ravensknight ought to be getting tired of karma fortunes by now.Ravensknight ought to be getting tired of karma fortunes by now.Ravensknight ought to be getting tired of karma fortunes by now.Ravensknight ought to be getting tired of karma fortunes by now.Ravensknight ought to be getting tired of karma fortunes by now.Ravensknight ought to be getting tired of karma fortunes by now.Ravensknight ought to be getting tired of karma fortunes by now.Ravensknight ought to be getting tired of karma fortunes by now.Ravensknight ought to be getting tired of karma fortunes by now.Ravensknight ought to be getting tired of karma fortunes by now.
 
Ravensknight's Avatar
 
Posts: 1,123
Karma: 10219804
Join Date: Jun 2009
Device: Sony 350; Nook STR; Oasis
I thought this issue was a nook issue, not a calibre issue. I've noticed hyphenated words when using my nook but never see them when using, say, my sony 350.

Looks like you might need Sigil [there's another sub-forum here just for that program] to manually edit the created epub.
Ravensknight is offline   Reply With Quote
Old 08-24-2013, 11:04 AM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,023
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
does the split (Hyphenation) points move with font size changes on your Nook? Yes= Nook caused. No~= hardcoded in source

Some devices offer hyphenation setting control.
another way might be to set the alignment to other than justify
theducks is offline   Reply With Quote
Old 08-24-2013, 08:17 PM   #5
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by gadf2 View Post
I have a Nook Simple Touch.

I want to take a txt file and convert it to an epub with Calibre.

But when reading it on the my nook simple touch, the words at the end of the line are split.

For example this happens.
Now is the ti-
me for all go-
od men to co-
me to the aid
of their party.


Its splitting the word at the end of a line and adding a "-"

How do I prevent words from being split and hyphenated I am using Calibre?
If you view this ePub using calibre's viewer do you still see the hyphens? If not then poke around the Nook's settings and see if you can turn off using hyphens.
DoctorOhh is offline   Reply With Quote
Advert
Old 08-27-2013, 03:14 PM   #6
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,955
Karma: 4604435
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
FYI, this is what I've found that forces Nook to not hyphenate. Include adobe-hyphenate: none in the CSS:
Code:
 body {
	adobe-hyphenate: none; }
That's for nook update 1.2.1 and on. Older versions required different adobe magic parameters as I recall.
JimmXinu is offline   Reply With Quote
Old 09-13-2013, 04:26 PM   #7
vugtitan
Addict
vugtitan ought to be getting tired of karma fortunes by now.vugtitan ought to be getting tired of karma fortunes by now.vugtitan ought to be getting tired of karma fortunes by now.vugtitan ought to be getting tired of karma fortunes by now.vugtitan ought to be getting tired of karma fortunes by now.vugtitan ought to be getting tired of karma fortunes by now.vugtitan ought to be getting tired of karma fortunes by now.vugtitan ought to be getting tired of karma fortunes by now.vugtitan ought to be getting tired of karma fortunes by now.vugtitan ought to be getting tired of karma fortunes by now.vugtitan ought to be getting tired of karma fortunes by now.
 
Posts: 299
Karma: 1042776
Join Date: Aug 2010
Device: none
Quote:
Originally Posted by gadf2 View Post
I have a Nook Simple Touch.

I want to take a txt file and convert it to an epub with Calibre.

But when reading it on the my nook simple touch, the words at the end of the line are split.

For example this happens.
Now is the ti-
me for all go-
od men to co-
me to the aid
of their party.


Its splitting the word at the end of a line and adding a "-"

How do I prevent words from being split and hyphenated I am using Calibre?

Is there a CSS I can add.

PLEASE help. I've been trying for three days to make this work.

Its only a 34 page txt file.

PLEASE someone help me from wasting more of my time.

i have the same problem but it LINE SPLITTING like this

Now is the time for all good men
to come to the aid of their
party and the line of the paragraph
end like this with just one or
two words in it.

adjusting font,line spacing or width or margins has no effect on it.

it is a nook glo.
vugtitan is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Keep words from splitting between lines CGidari ePub 4 03-12-2013 09:01 AM
Glo Not Splitting words at end of sentence sunny1z Kobo Reader 8 02-21-2013 07:39 PM
split words at end of line Smknox Introduce Yourself 4 08-26-2012 04:03 AM
pdf with split words at end of line - how best to convert cybmole Calibre 8 10-19-2010 08:27 AM


All times are GMT -4. The time now is 07:57 AM.


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