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 12-18-2012, 12:27 PM   #31
boatat72
Member
boatat72 began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Apr 2011
Location: Cambridge UK
Device: Kindle, Sony Reader, iPad, Kobo, Nook
@crutledge

Wonderful. Your code works as mobi and epub for me now.
I don't know why but I do know how.
Each line of my poem was a separate <div> it is now one div with line breaks.
Two things then needed to change, one or the other is not enough.
1. Put the whole <div> inside another <div>
2. Style each line with text-indent using a <span>

Many thanks.
boatat72 is offline   Reply With Quote
Old 12-18-2012, 01:07 PM   #32
crutledge
eBook FANatic
crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.
 
crutledge's Avatar
 
Posts: 15,116
Karma: 13495770
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
Quote:
Originally Posted by boatat72 View Post
@crutledge

Wonderful. Your code works as mobi and epub for me now.
I don't know why but I do know how.
Each line of my poem was a separate <div> it is now one div with line breaks.
Two things then needed to change, one or the other is not enough.
1. Put the whole <div> inside another <div>
2. Style each line with text-indent using a <span>

Many thanks.
Wonderful. MOBI is sometimes strange.
crutledge is online now   Reply With Quote
Old 12-28-2012, 03:13 PM   #33
Agama
Guru
Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.
 
Agama's Avatar
 
Posts: 646
Karma: 436517
Join Date: Jul 2010
Location: UK
Device: PRS-300, PW2
Quote:
Originally Posted by boatat72 View Post
I'm still looking for a robust replacement to create spacing.The en, em, and thin space entities are all safe in Sigil and Calibre, but some eReaders, especially Sony ones, cannot display them and you get "?" (question mark) or "¤" (undefined currency).
I never have any problems with em, en etc. with my PRS-300 with the standard firmware and no extra fonts. I just make sure that my files are encoded as utf8. Non-breaking spaces can then be entered from the keyboard as <alt>255, en as <alt>0150 and em as <alt>0151. Smart quotes can also be used and many other special characters.

I also use calibre for all my conversions and have no problems with these characters. I don't use Sigil so can't comment on whether it supports utf8 files.

Last edited by Agama; 12-28-2012 at 03:16 PM.
Agama is offline   Reply With Quote
Old 12-28-2012, 05:06 PM   #34
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 8,919
Karma: 40404050
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by Agama View Post
I never have any problems with em, en etc. with my PRS-300 with the standard firmware and no extra fonts. I just make sure that my files are encoded as utf8. Non-breaking spaces can then be entered from the keyboard as <alt>255, en as <alt>0150 and em as <alt>0151. Smart quotes can also be used and many other special characters.
I believe boatat72 was referring to en-space and em-space, whereas you're referring to en-dash and em-dash. Very few readers have trouble with the dashes... it's the special space characters that are hit or miss (without embedded fonts).
DiapDealer is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Use of nonbreaking space (&nbsp;) Ti-Ron ePub 10 04-14-2013 10:57 PM
Use of &nbsp; for spacing Ripplinger Sigil 11 11-25-2012 04:36 AM
iBooks does NOT LIKE &nbsp; Erin Apple Devices 0 09-13-2011 11:17 AM
Specify indent in css, not with &nbsp James_Wilde Calibre 7 09-13-2010 09:48 PM
Mobiperl &nbsp; lost when converting to mobi Jellby Kindle Formats 19 08-26-2008 03:10 PM


All times are GMT -4. The time now is 06:51 AM.


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