MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   Sigil (https://www.mobileread.com/forums/forumdisplay.php?f=203)
-   -   Indentations & Paragraph Spacing Loss (https://www.mobileread.com/forums/showthread.php?t=63908)

Dis 12-01-2009 04:22 PM

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.

Valloric 12-01-2009 04:43 PM

Quote:

Originally Posted by Dis (Post 676120)
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.

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.

just_jeepin 12-01-2009 05:27 PM

5 Attachment(s)
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.

Valloric 12-01-2009 05:56 PM

Quote:

Originally Posted by just_jeepin (Post 676220)
I too have been having this problem since 0.14. I'm on a Mac.

Here's an example...

That could then be a bug. I'll take a look at it.

Valloric 12-01-2009 06:12 PM

Quote:

Originally Posted by Valloric (Post 676250)
That could then be a bug. I'll take a look at it.

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.

kjk 12-03-2009 01:40 PM

whoa, v0.2.0 is going to support external style sheets?

Valloric 12-03-2009 03:18 PM

Quote:

Originally Posted by kjk (Post 679058)
whoa, v0.2.0 is going to support external style sheets?

After 0.2.0 it should be possible to implement support for the @import rule, yes. As long as the referenced CSS file is in the epub file, this should work.


All times are GMT -4. The time now is 06:45 PM.

Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.