Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 01-26-2013, 01:42 AM   #31
topquark
Enthusiast
topquark began at the beginning.
 
Posts: 35
Karma: 10
Join Date: Oct 2011
Device: Kindle 3
I just checked my above conversions on my actual Kindle Keyboard and the dropcaps are perfect with the medium line spacing setting. I guess there is no way to get a smaller-sized dropcap in the same ebook. If there is a way to accomplish this, please do let me know.
topquark is offline   Reply With Quote
Old 01-26-2013, 07:30 AM   #32
jackie_w
Wizard
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 2,095
Karma: 3332928
Join Date: Sep 2009
Location: UK
Device: Sony PRS-350/650/T1, PB360, KoboGlo, KoboAuraHD
Quote:
Originally Posted by topquark View Post
I just checked my above conversions on my actual Kindle Keyboard and the dropcaps are perfect with the medium line spacing setting. I guess there is no way to get a smaller-sized dropcap in the same ebook. If there is a way to accomplish this, please do let me know.
I think you should be able to use calibre's standard Tweak Book feature to do any fine tuning on your smaller dropcap. This will explode the azw3 so you can manually edit the css file, then rebuild it again. As long as you don't convert it again the manual tweaks will stay put.
jackie_w is offline   Reply With Quote
 
Enthusiast
Old 01-27-2013, 12:07 AM   #33
topquark
Enthusiast
topquark began at the beginning.
 
Posts: 35
Karma: 10
Join Date: Oct 2011
Device: Kindle 3
Quote:
Originally Posted by jackie_w View Post
I think you should be able to use calibre's standard Tweak Book feature to do any fine tuning on your smaller dropcap. This will explode the azw3 so you can manually edit the css file, then rebuild it again. As long as you don't convert it again the manual tweaks will stay put.
All right. I'll try that!
topquark is offline   Reply With Quote
Old 01-27-2013, 02:51 AM   #34
topquark
Enthusiast
topquark began at the beginning.
 
Posts: 35
Karma: 10
Join Date: Oct 2011
Device: Kindle 3
Quote:
Originally Posted by jackie_w View Post
I think you should be able to use calibre's standard Tweak Book feature to do any fine tuning on your smaller dropcap. This will explode the azw3 so you can manually edit the css file, then rebuild it again. As long as you don't convert it again the manual tweaks will stay put.
Just FYI, this worked PERFECTLY! THANK YOU!!!

For the others, just make sure that when you explode the azw3 file in calibre and tweak it, that you use em values for the font-size of the second dropcap.

Here are some dropcap formulas for various sizes of fonts. These should work all right as long as you indicate in the eighth value of the font size key the same value as the font-size, in px.

span.dropcaps {
float: left;
font-size: 80px;
line-height: 0; -->> okay lang lagyan ng value, like 70px
padding-top: 1px;
margin-top:-.375em;
margin-bottom: -.5em;
margin-right:1.35px;
font-weight: bold;
}

.drop {
float: left;
font-size:3em;
margin-top: -.3em;
margin-bottom: -.5em;
margin-right: .05em;
}

span.dropcaps ((((dropcap a bit high but all right)))
{
float: left;
font-size: 100px;
line-height: 80px;
padding-top: 1px;
margin-top: -0.5em;
margin-bottom: -.5em
}

span.dropcaps (((dropcaps just right)))
{
float: left;
font-size: 100px;
line-height: 80px;
padding-top: 1px;
margin-top: -0.475em;
margin-bottom: -.525em
}

span.dropcaps {
float: left;
font-size: 70px;
line-height: 70px;
padding-top: 1px;
margin-top: -.415em;
margin-bottom: -.475em
}

for one-line dropcaps, this one worked for me:
.dropcaps1 {
font-size: 2.5em;
float: left;
margin-bottom: -0.50em;
margin-top: -0.725em
}

to everyone who helped.
topquark is offline   Reply With Quote
Old 01-27-2013, 03:17 AM   #35
topquark
Enthusiast
topquark began at the beginning.
 
Posts: 35
Karma: 10
Join Date: Oct 2011
Device: Kindle 3
I guess I'm a total dunce because of that last one about the one-line dropcap. I should just have gone with a raised initial and used a span class code.
topquark is offline   Reply With Quote
Old 01-27-2013, 03:20 AM   #36
topquark
Enthusiast
topquark began at the beginning.
 
Posts: 35
Karma: 10
Join Date: Oct 2011
Device: Kindle 3
Which brings me to another issue not exactly azw3-related. Why do lines with raised initials have large line spacing? Is there a workaround to that?
topquark is offline   Reply With Quote
Old 01-27-2013, 11:09 AM   #37
theducks
Staff to 4 Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 10,707
Karma: 2485850
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
Quote:
Originally Posted by topquark View Post
Which brings me to another issue not exactly azw3-related. Why do lines with raised initials have large line spacing? Is there a workaround to that?
Because the line height required by the bigger font prevails for the rest of the block:
You may need to edit the CSS style for the normal part and add: line-height: 1.2; to force it back down
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
theducks is offline   Reply With Quote
Old 01-27-2013, 11:20 PM   #38
JSWolf
Mobile Reader Geek
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 34,209
Karma: 13801264
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad
Quote:
Originally Posted by theducks View Post
Because the line height required by the bigger font prevails for the rest of the block:
You may need to edit the CSS style for the normal part and add: line-height: 1.2; to force it back down
Not in KF8 (eInk Kindles). It doesn't respect line-height of that small. You have to make it a drop cap or a regular letter.
__________________
JSWolf is offline   Reply With Quote
Old 02-02-2013, 03:04 AM   #39
randomzombie
Enthusiast
randomzombie began at the beginning.
 
Posts: 26
Karma: 10
Join Date: Dec 2012
Device: kindle paperwhite
Quote:
Originally Posted by topquark View Post
@hermil, I think it is inherent to the AZW3 format. I think it's a take-it-or-leave-it kind of deal with AZW3. Me, I'll take it rather than going back to mobi, for purely aesthetic reasons.
I have this same problem. But I like the tightness of the minimal spacing of the MOBI file compared to the AZW3 that I usually just reconvert to MOBI. Alas!
randomzombie is offline   Reply With Quote
Old 02-02-2013, 03:53 AM   #40
randomzombie
Enthusiast
randomzombie began at the beginning.
 
Posts: 26
Karma: 10
Join Date: Dec 2012
Device: kindle paperwhite
Wanted to add. JSWolf, I really like your Compact SIL update! Perfect for night reading. Now, I kinda feel like an ungrateful jerk, but how hard would it be to slightly modify it removing a tiny bit of weight for a daytime version? The PW I settled on has good contrast, so it's almost a little too chunky-bold for daytime reading. Would I be able to do it myself? Are there any freeware font editing programs out there?

But yes, great font! My fave update so far...
randomzombie is offline   Reply With Quote
Old 02-02-2013, 07:01 PM   #41
JSWolf
Mobile Reader Geek
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 34,209
Karma: 13801264
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad
Quote:
Originally Posted by randomzombie View Post
Wanted to add. JSWolf, I really like your Compact SIL update! Perfect for night reading. Now, I kinda feel like an ungrateful jerk, but how hard would it be to slightly modify it removing a tiny bit of weight for a daytime version? The PW I settled on has good contrast, so it's almost a little too chunky-bold for daytime reading. Would I be able to do it myself? Are there any freeware font editing programs out there?

But yes, great font! My fave update so far...
Sure, I can remake the compact with a little less weight for you. That's not a problem. There doesn't seem to be a free solution that I've found to do it all.

PM me please and remind me. Then I'll PM you the link back when I have it done.
__________________
JSWolf is offline   Reply With Quote
Old 02-06-2013, 10:44 PM   #42
randomzombie
Enthusiast
randomzombie began at the beginning.
 
Posts: 26
Karma: 10
Join Date: Dec 2012
Device: kindle paperwhite
Quote:
Originally Posted by JSWolf View Post
Sure, I can remake the compact with a little less weight for you. That's not a problem. There doesn't seem to be a free solution that I've found to do it all.

PM me please and remind me. Then I'll PM you the link back when I have it done.
Cool! That'd be great!!
randomzombie is offline   Reply With Quote
Old 02-06-2013, 10:47 PM   #43
JSWolf
Mobile Reader Geek
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 34,209
Karma: 13801264
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad
Quote:
Originally Posted by randomzombie View Post
Cool! That'd be great!!
Before I do it fully, I'll take the regular version and make it with just a little more weight so you can try it and if you like it, I can make it into a compact version.
__________________

Last edited by JSWolf; 02-06-2013 at 10:49 PM.
JSWolf is offline   Reply With Quote
Old 02-08-2013, 07:56 PM   #44
randomzombie
Enthusiast
randomzombie began at the beginning.
 
Posts: 26
Karma: 10
Join Date: Dec 2012
Device: kindle paperwhite
Quote:
Originally Posted by JSWolf View Post
Before I do it fully, I'll take the regular version and make it with just a little more weight so you can try it and if you like it, I can make it into a compact version.
Okay, sounds good, thanks!
randomzombie 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
Conversion from epub to azw3 Joy736 Conversion 12 01-01-2013 11:00 AM
Conversion from epub to mobi or azw3 fails Jimbo724 Conversion 3 11-30-2012 02:32 AM
epub: formatting issues pvdbogaard Onyx Boox 0 07-09-2012 01:35 PM
Some formatting issues with ePub... CTgreen Conversion 10 05-08-2012 12:38 PM
Formatting issues when converting PDF to EPUB raptir Calibre 2 10-21-2009 10:32 PM


All times are GMT -4. The time now is 03:56 AM.


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