12-01-2009, 03:22 PM | #1 |
Junior Member
Posts: 1
Karma: 10
Join Date: Dec 2009
Device: 505
|
Indentations & Paragraph Spacing Loss
I've just taken purchase of a Sony 505, and loaded it up with several titles from the wonderful Feedbooks site. However I'm not particularly fond of the recommendations, author bio, other notes, and book cover included in their epub files.
Seeking to remove these I've used Sigil. Between the WYSIWYG pane and the code pane - I'm fairly versed in both XHTML and CSS - I've been able to edit the files to my desires. My problem lies in that whenever I any change at all to an epub file and transfer it over to the 505, I lose all paragraph spacing and all identation. Does anyone have any advice on overcoming this problem? I'm using Sigil 1.5 on Windows 7 Home Premium 64bit. I transfer the files directly to the 505's memory as a removeable disc. Thank you. Last edited by Dis; 12-01-2009 at 03:29 PM. |
12-01-2009, 03:43 PM | #2 |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
You should test how your files look in Adobe Digital Editions (it's free), since the mobile version of the same rendering engine is inside the Sony Readers. The ADE engine has more than a few quirks, and you're never quite sure how things will work out in it.
|
12-01-2009, 04:27 PM | #3 |
Addict
Posts: 305
Karma: 1010848
Join Date: Oct 2005
Device: Kobo Libra 2
|
I too have been having this problem since 0.14. I'm on a Mac.
Here's an example... 1. I download Cory Doctorow's "Down and Out in the Magic Kingdom" from Feedbooks. (I have this problem with any epub or html with indents) 2. Open in Adobe Digital Editions and indents are there (see Picture 1). 3. Open in Sigil 0.15 Mac and indents are gone (see Picture 2). 4. Make small edit (girlfriend to boyfriend) and resave as epub. 5. Open the new epub in Adobe Digital Editions and indents are gone (see Picture 3). Also attached are the original and resaved epubs. NOTE: In a few cases where I've opened html files in Sigil, the indents show but don't save. |
12-01-2009, 04:56 PM | #4 |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
|
12-01-2009, 05:12 PM | #5 |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Found it. The book you posted uses @import CSS rules to import external stylesheets. That doesn't currently work in Sigil. This will have to wait until v0.2.0 (I'm starting to sound like a broken record...).
An easy workaround is to just copy the CSS directly and not use the @import rule. Yes, I know this sucks. EDIT: Do create an issue for this on the tracker so I remember to get to it when 0.2.0 hits. |
12-03-2009, 12:40 PM | #6 |
.
Posts: 3,408
Karma: 5647231
Join Date: Oct 2008
Device: never enough
|
whoa, v0.2.0 is going to support external style sheets?
|
12-03-2009, 02:18 PM | #7 |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Paragraph spacing | jhempel24 | Calibre | 5 | 08-24-2010 12:14 AM |
Questions about <p> and <div> and paragraph spacing | droople | Sigil | 7 | 08-14-2010 12:03 PM |
Changing paragraph spacing in DRMed epub? | salty-horse | ePub | 4 | 09-15-2009 06:48 AM |
Sony PRS-505, text indents, paragraph spacing | pdurrant | Sigil | 7 | 08-03-2009 06:03 AM |
Paragraph spacing when creating eBooks? | gwynevans | Workshop | 21 | 04-24-2009 11:01 AM |