MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   Calibre (https://www.mobileread.com/forums/forumdisplay.php?f=166)
-   -   Adding indents / removing line spacing for news (https://www.mobileread.com/forums/showthread.php?t=77553)

jubcoo 03-17-2010 04:54 PM

Adding indents / removing line spacing for news
 
Hi,

I am new to calibre. I want my news articles that I downloaded through Calibre to be converted in such a manner that new paragraphs are indented and there is no line space between paragraphs. Under Preferences - Conversion, I checked 'remove spacing between paragraphs' but this doesn't seem to have an effect.

Please advise, than, you.

DoctorOhh 03-17-2010 06:50 PM

Quote:

Originally Posted by jubcoo (Post 834014)
Hi,

I am new to calibre. I want my news articles that I downloaded through Calibre to be converted in such a manner that new paragraphs are indented and there is no line space between paragraphs. Under Preferences - Conversion, I checked 'remove spacing between paragraphs' but this doesn't seem to have an effect.

Please advise, than, you.

Make sure you restart Calibre after you changed the setting to "remove spacing between paragraphs" and the time you tried to fetch the news again.

jubcoo 03-18-2010 06:14 PM

This did not fix the problem. Any other suggestions?

Thanks

DoctorOhh 03-18-2010 06:23 PM

Quote:

Originally Posted by jubcoo (Post 835433)
This did not fix the problem. Any other suggestions?

Thanks

I don't know if you can effect what you want inside the recipe but you may want to try posting in the Custom Recipe thread.

Update: You might want to look into default extra css. Putting this in your extra css (under look and feel) might help with the indent / spacing.

Code:

p {margin: 0; padding: 0; text-indent:1.1em;}
div {margin: 0; padding: 0; text-indent:1.1em;}

And you said you always have remove space between paragraphs checked. I don't know what know what else might help. There are css wise folks around here that might be able to help.

FlaSheridn 10-27-2010 05:39 PM

CSS override not working
 
I’m having the opposite problem; I’ve got some poetry where the lines are marked with style dd, and I need to remove the left margin to fit on the iPad in two-page mode. The following does override the font (necessary for some Old English characters) but not the indentation. (I got the idea from http://www.the-art-of-web.com/css/format-dl/, plus some old CSS (tweaked and reversed) I use with Safari to get real paragraphs in normal text.)



dd { font-family: "Times New Roman, Times"; text-indent: 0em ! important; margin: 0 ! important; padding: 0 0 0 0 ! important}


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

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