Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Barnes & Noble NOOK

Notices

Reply
 
Thread Tools Search this Thread
Old 01-08-2011, 08:55 PM   #16
coke_o
Member
coke_o began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jan 2011
Device: nook
Here is the pic of how the text looks on my nook.
Attached Thumbnails
Click image for larger version

Name:	photo.jpg
Views:	314
Size:	143.0 KB
ID:	64397  
coke_o is offline   Reply With Quote
Old 01-09-2011, 12:29 PM   #17
jswinden
Nameless Being
 
It would be better to look at the ePub before it is converted by calibre as calibre adds its own strange looking CSS styles. But from what you showed the only thing that I see is the white-space: pre statement. Try changing it to white-space: normal. Also, unless you like monospace text I would delete the font-family: monospace; statement.

Here's a link to a website that discusses the white-space CSS propeties: http://www.w3schools.com/css/pr_text_white-space.asp


Quote:
Originally Posted by coke_o View Post
Ok so here's what I got. The .css file has the following:

@namespace h "http://www.w3.org/1999/xhtml"; .calibre {

display: block;

font-size: 1em;

margin-bottom: 0;

margin-left: 5pt;

margin-right: 5pt;

margin-top: 0;

padding-left: 0;

padding-right: 0;

page-break-before: always

} .calibre1 {

display: block

} .calibre2 {

display: block;

font-family: monospace;

margin-bottom: 1em;

margin-left: 0;

margin-right: 0;

margin-top: 1em;

white-space: pre

}

Can any of this be causing the text not to wrap? If so, what can I edit? As soon as I figure out how, I will post a pic of how the book looks.

Last edited by jswinden; 01-09-2011 at 12:35 PM.
  Reply With Quote
Advert
Old 01-09-2011, 04:18 PM   #18
coke_o
Member
coke_o began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jan 2011
Device: nook
Quote:
Originally Posted by jswinden View Post
It would be better to look at the ePub before it is converted by calibre as calibre adds its own strange looking CSS styles. But from what you showed the only thing that I see is the white-space: pre statement. Try changing it to white-space: normal. Also, unless you like monospace text I would delete the font-family: monospace; statement.

Here's a link to a website that discusses the white-space CSS propeties: http://www.w3schools.com/css/pr_text_white-space.asp
Alright, so I tried removing the "font-family: monospace;" line and changing "white-space: pre" to "white-space: normal" and when I go to close the file, I get a window that says "Sigil currently cannot save files of type "css". Please choose a different format."

If I ignore this and go back to the "Tweak ePub" window on Calibre and click on "Rebuild ePub" nothing changes. Well, the text doesn't look monoblock, but it still doesn't wrap. If I choose "Tweak ePub" again, the "font-family" goes back to monospace and the "white-space" goes back to pre.

What am I doing wrong?

Attached Thumbnails
Click image for larger version

Name:	Window 1.jpg
Views:	180
Size:	18.0 KB
ID:	64451   Click image for larger version

Name:	Window 2.jpg
Views:	179
Size:	17.0 KB
ID:	64452  

Last edited by coke_o; 01-09-2011 at 04:19 PM. Reason: added screen shot of the windows.
coke_o is offline   Reply With Quote
Old 01-09-2011, 07:29 PM   #19
jswinden
Nameless Being
 
Don't use Sigil if it causes a problem. You can use Notepad in Windows or the equivalent simple editor in Mac.

I think Sigil is more of a project modifier rather than a simple editor, so it probably is not good to use in this particular case. Although standalone Sigil would be good.
  Reply With Quote
Old 01-10-2011, 08:44 PM   #20
coke_o
Member
coke_o began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jan 2011
Device: nook
Quote:
Originally Posted by jswinden View Post
Don't use Sigil if it causes a problem. You can use Notepad in Windows or the equivalent simple editor in Mac.

I think Sigil is more of a project modifier rather than a simple editor, so it probably is not good to use in this particular case. Although standalone Sigil would be good.
Ok, so I made the changes on notepad and saved them. However, now the file looks like it lost it's paragraph structure. It's like there aren't any paragraphs, just continuous text. Any ideas on how to remedy this?
coke_o is offline   Reply With Quote
Advert
Old 01-11-2011, 11:43 AM   #21
jswinden
Nameless Being
 
Quote:
Originally Posted by coke_o View Post
Ok, so I made the changes on notepad and saved them. However, now the file looks like it lost it's paragraph structure. It's like there aren't any paragraphs, just continuous text. Any ideas on how to remedy this?
Are all the words now on the page or is it still running words off the right side of the page? If possible post another screenshot.
  Reply With Quote
Old 01-13-2011, 07:42 PM   #22
coke_o
Member
coke_o began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jan 2011
Device: nook
Quote:
Originally Posted by jswinden View Post
Are all the words now on the page or is it still running words off the right side of the page? If possible post another screenshot.
All of the words are on the page now but the paragraphs are no longer separated. Its as if all of the text was one long paragraph. Any ideas on how to fix it?
Attached Thumbnails
Click image for larger version

Name:	photo.JPG
Views:	230
Size:	555.5 KB
ID:	64736  
coke_o is offline   Reply With Quote
Old 01-14-2011, 11:48 AM   #23
jswinden
Nameless Being
 
Quote:
Originally Posted by coke_o View Post
All of the words are on the page now but the paragraphs are no longer separated. Its as if all of the text was one long paragraph. Any ideas on how to fix it?
Sorry, but it looks like that book is so terribly formatted you would have to spend days making it look presentable. The publisher apparently hard-coded line breaks, hence the words going off the right side of the page. If the publisher cannot use simple HTML then they really shouldn't publish. i would try to get a refund if I was you.
  Reply With Quote
Old 01-14-2011, 04:26 PM   #24
coke_o
Member
coke_o began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jan 2011
Device: nook
Quote:
Originally Posted by jswinden View Post
Sorry, but it looks like that book is so terribly formatted you would have to spend days making it look presentable. The publisher apparently hard-coded line breaks, hence the words going off the right side of the page. If the publisher cannot use simple HTML then they really shouldn't publish. i would try to get a refund if I was you.
Ok, thanks for the help.
coke_o is offline   Reply With Quote
Old 01-10-2012, 07:01 AM   #25
hwp314
Junior Member
hwp314 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jan 2012
Device: ipad
EPUB too wide?

If you are converting from word and your pages are too wide, make your margins narrower. It is the quickest and easiest fix!!!
hwp314 is offline   Reply With Quote
Old 01-13-2012, 08:31 PM   #26
tym
Connoisseur
tym can name that ebook in five wordstym can name that ebook in five wordstym can name that ebook in five wordstym can name that ebook in five wordstym can name that ebook in five wordstym can name that ebook in five wordstym can name that ebook in five wordstym can name that ebook in five wordstym can name that ebook in five wordstym can name that ebook in five wordstym can name that ebook in five words
 
Posts: 66
Karma: 37732
Join Date: Jan 2012
Device: nook touch
IMHO it looks like a format issue to me. This is what I would try if it was me.

Convert the epub, to a txt file using calibre. Once converted I use Edit Pad Lite to open it, its free.

http://www.editpadlite.com/

Go to the top of program, Click on extra, select remove blank spaces. Close and save. Then convert the repaired txt file back to epub.

Had a epub that look just like that. Thats how I fixed mine. Hope that helps.
tym is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Old Thread] Convert epub to mobi with wide left margin on Kindle victoria0217 Conversion 91 11-15-2011 05:25 PM
Problems Transferring Converted Epub File to Nook Flyweight Calibre 0 08-10-2010 08:44 PM
Images too wide for Nook Screen js4c Calibre 7 07-29-2010 04:46 PM
Calibre > ePUB Output > View Same on Nook Themus Calibre 1 04-20-2010 09:10 PM
Wide left margins in epub to kindle conversion jchrist Calibre 0 02-02-2010 09:13 PM


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


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