Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 04-28-2010, 10:35 PM   #661
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by kovidgoyal View Post
calibre now uses SVG to place covers in epub e-books. Stanza doesn't support SVG, hence the problem.
That explains why my kids don't see the covers on their jetBook Lites. I love the way the new covers look on my Sony 505.

I am curious how much would be entailed in making the cover format an option, if checked use SVG if unchecked JPG. I would always leave mine checked to use SVG (my kids don't need covers).

Now I just have to schedule time to reconvert all of my books.
DoctorOhh is offline   Reply With Quote
Old 04-28-2010, 10:41 PM   #662
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,411
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I suppose I could add an option to the EPUB output to use the old method, open a ticket so I dont forget.
kovidgoyal is offline   Reply With Quote
Old 04-28-2010, 10:54 PM   #663
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by kovidgoyal View Post
I suppose I could add an option to the EPUB output to use the old method, open a ticket so I dont forget.
Done

Ticket #5409 (new enhancement)

Covers in ePub don't show on device

Description:
Using Calibre converted ePubs, Stanza and the jetBook Lite do not show the new SVG covers.

This is a request to add an option inside the ePub output to use the old format JPG covers.

Last edited by DoctorOhh; 04-28-2010 at 10:57 PM.
DoctorOhh is offline   Reply With Quote
Old 04-28-2010, 11:45 PM   #664
starrigger
Jeffrey A. Carver
starrigger ought to be getting tired of karma fortunes by now.starrigger ought to be getting tired of karma fortunes by now.starrigger ought to be getting tired of karma fortunes by now.starrigger ought to be getting tired of karma fortunes by now.starrigger ought to be getting tired of karma fortunes by now.starrigger ought to be getting tired of karma fortunes by now.starrigger ought to be getting tired of karma fortunes by now.starrigger ought to be getting tired of karma fortunes by now.starrigger ought to be getting tired of karma fortunes by now.starrigger ought to be getting tired of karma fortunes by now.starrigger ought to be getting tired of karma fortunes by now.
 
starrigger's Avatar
 
Posts: 1,355
Karma: 1107383
Join Date: Aug 2008
Location: Massachusetts, USA
Device: Lenovo Yoga Tab Plus, Droid phone, Nook HD+
Question about margins. Most of my epub books have a bit of margin, enough to feel comfortable on the screen. Typically, if I increase the font size, the margin stays pretty much the same. But once in a while, I find one that, when I increase the font size, also winds up with wider margins. I'm testing a newly purchased book for someone with senior eyes, and I found when I popped it up to XL font, the margins became ridiculous.

Why does this occur in only some books? What's the best way to massage the file through Calibre to prevent it from happening? I'm experimenting with reducing the number of points in the margin size in the epub config, and that helps--but the margin still grows with the font size. Do I need to set the margin all the way to zero?
starrigger is offline   Reply With Quote
Old 04-29-2010, 12:01 AM   #665
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,411
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That would depend on the CSS in the book in question. Some books set their margins in a font size dependent way, using em units. These margins are typically set at paragraph level not at body level (which is what calibre controls).

The only way to fix this is open the book and remove the margin declarations from the CSS.
kovidgoyal is offline   Reply With Quote
Old 04-29-2010, 12:23 AM   #666
starrigger
Jeffrey A. Carver
starrigger ought to be getting tired of karma fortunes by now.starrigger ought to be getting tired of karma fortunes by now.starrigger ought to be getting tired of karma fortunes by now.starrigger ought to be getting tired of karma fortunes by now.starrigger ought to be getting tired of karma fortunes by now.starrigger ought to be getting tired of karma fortunes by now.starrigger ought to be getting tired of karma fortunes by now.starrigger ought to be getting tired of karma fortunes by now.starrigger ought to be getting tired of karma fortunes by now.starrigger ought to be getting tired of karma fortunes by now.starrigger ought to be getting tired of karma fortunes by now.
 
starrigger's Avatar
 
Posts: 1,355
Karma: 1107383
Join Date: Aug 2008
Location: Massachusetts, USA
Device: Lenovo Yoga Tab Plus, Droid phone, Nook HD+
Quote:
Originally Posted by kovidgoyal View Post
That would depend on the CSS in the book in question. Some books set their margins in a font size dependent way, using em units. These margins are typically set at paragraph level not at body level (which is what calibre controls).

The only way to fix this is open the book and remove the margin declarations from the CSS.
Ugh. But that would be just in the CSS table, yes? Not through the body of the book?

I'm grateful I haven't encountered this more often.
starrigger is offline   Reply With Quote
Old 04-29-2010, 12:25 AM   #667
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,411
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
yup should only be in the CSS file
kovidgoyal is offline   Reply With Quote
Old 04-29-2010, 03:22 PM   #668
sav.here
Junior Member
sav.here began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Apr 2010
Location: Kolkata, India
Device: HTC Legend, IPod Touch
Thanks kovidgoyal and dwanthny for acknowledging my issue, I really miss my ebook covers...
sav.here is offline   Reply With Quote
Old 05-01-2010, 02:44 AM   #669
Sabardeyn
Guru
Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.
 
Sabardeyn's Avatar
 
Posts: 644
Karma: 1242364
Join Date: May 2009
Location: The Right Coast
Device: PC (Calibre), Nexus 7 2013 (Moon+ Pro), HTC HD2/Leo (Freda)
Mis-posted - apologies.
Sabardeyn is offline   Reply With Quote
Old 05-01-2010, 05:32 AM   #670
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by sav.here View Post
Thanks kovidgoyal and dwanthny for acknowledging my issue, I really miss my ebook covers...
The option for "No SVG cover" is implemented under ePub Output in the latest release.
DoctorOhh is offline   Reply With Quote
Old 05-03-2010, 05:38 AM   #671
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by ElizabethN View Post
My question is probably very basic but I don't yet seem to have the knowledge to fix the error I keep getting.



When I use calibre (0.6.19 currently) to convert to an epub or lrf file, I also create a "book jacket" from the metadata. In the book jacket comment section, my end of paragraph returns and blank line are turned into code. i.e.

Little Women is the story of the four March sisters--Meg, Jo, Beth, and Amy--in a family that has been loved by readers young and old for generations. <br/><br/>Whether they are putting on plays, forming the Pickwick Club, or entertaining Laurie, the lonely boy next door, the sisters and their mother play and work together to maintain an interesting and fun household while their father is away at war.

instead of what is in the metadata comments

Little Women is the story of the four March sisters--Meg, Jo, Beth, and Amy--in a family that has been loved by readers young and old for generations.

Whether they are putting on plays, forming the Pickwick Club, or entertaining Laurie, the lonely boy next door, the sisters and their mother play and work together to maintain an interesting and fun household while their father is away at war.



I have not noticed any problems with returns & blank lines in the converted book file, only the book jacket. I have probably checked too many choices in my conversions, but the book file end result is usually fine with the only problem being the book jacket. When I convert, I have checked - remove spacing, insert blank line, no text just, linearize tables, insert metadata as page. I am usually converting from mobi/prc or odt to epub/lrf.

How do I fix?
thanks
The above problem is now fixed.

Kovid for adding support for HTML markup in the Book Jacket (metadata insert page).
DoctorOhh is offline   Reply With Quote
Old 05-03-2010, 09:22 AM   #672
davotibarna
Member
davotibarna began at the beginning.
 
davotibarna's Avatar
 
Posts: 17
Karma: 10
Join Date: Dec 2009
Location: Oslo, Norway
Device: Nook
Extra CSS

I'm trying to use the "Extra CSS" field under Preferences/Conversion to link external fonts on my Nook. It works - sometimes.

The content of the "Extra CSS" field:
****
@font-face {
font-style: italic;
font-family: 'LiberationSerif', serif, sans-serif;
font-weight: normal;
src: url(res:///system/media/sdcard/myfonts/LiberationSerif-Italic.ttf);
}
@font-face {
font-style: normal;
font-family: 'LiberationSerif', serif, sans-serif;
font-weight: normal;
src: url(res:///system/media/sdcard/myfonts/LiberationSerif-Regular.ttf);
}
@font-face {
font-style: italic;
font-family: 'LiberationSerif', serif, sans-serif;
font-weight: bold;
src: url(res:///system/media/sdcard/myfonts/LiberationSerif-BoldItalic.ttf);
}
@font-face {
font-style: normal;
font-family: 'LiberationSerif', serif, sans-serif;
font-weight: bold;
src: url(res:///system/media/sdcard/myfonts/LiberationSerif-Bold.ttf);
}
body {
margin-right: 8pt;
font-family: 'LiberationSerif', serif;
}
p.p {
margin: 0px;
text-indent: 1.5em;
text-align: justify;
}
p.subtitle {
font-style: italic;
page-break-after: avoid;
page-break-inside: avoid;
font-weight: bold;
text-indent: 0px;
margin: 0.5em 2em;
text-align: center;
}
strong {
}
em {
}
a {
vertical-align: super;
line-height: 0.1;
font-size: 0.7em;
}
****

I've attached a zip containing 3 examples.

1. example (TechNet):
It works fine, it's the only example where the
src: url(res:///system/media/sdcard/myfonts/LiberationSerif-Italic.ttf)
line appears in the content xhtml files.

2. example (SG.hu)
It has @font-face CSS in the content xhtml. but no src to the font resource.

2. example (Bela...)
It does not even have @font-face CSS in the xhtml.

I'm confused. I run all of these 3 conversions with the same Extra CSS config, the input and output formats are the same also, but still the extra CSS appears / partly appears or does not appear in the epub xhtml file.


I'd appreciate to get help.
Attached Files
File Type: zip examples.zip (4.28 MB, 197 views)
davotibarna is offline   Reply With Quote
Old 05-03-2010, 07:19 PM   #673
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by davotibarna View Post
I'm confused. I run all of these 3 conversions with the same Extra CSS config, the input and output formats are the same also, but still the extra CSS appears / partly appears or does not appear in the epub xhtml file.
I have minimal experience with this but if the input format was exactly the same the output would be consistent. Try running each conversion with debug on. Specify a directory in debug then run the conversion. Run it once with each input and specify a different directory each time.

The results will show you the html at each step of the process and may give you some insight into what is different between the three.
DoctorOhh is offline   Reply With Quote
Old 05-03-2010, 09:25 PM   #674
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,411
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
If your input files define their own font families your CSS wont override them, so it wont be used and so calibre will remove it.
kovidgoyal is offline   Reply With Quote
Old 05-04-2010, 01:57 PM   #675
davotibarna
Member
davotibarna began at the beginning.
 
davotibarna's Avatar
 
Posts: 17
Karma: 10
Join Date: Dec 2009
Location: Oslo, Norway
Device: Nook
Quote:
Originally Posted by kovidgoyal View Post
If your input files define their own font families your CSS wont override them, so it wont be used and so calibre will remove it.
... but the Calibre documentation states this regarding to Extra CSS:
"This CSS is applied with very high priority and so should override most CSS present in the input document itself. "
davotibarna is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Old Thread] Epub Output: Line Height greenapple Conversion 20 01-27-2013 09:27 AM
EPUB output justification toki08 Calibre 10 01-08-2011 04:14 PM
Calibre epub output details and Nook squidward Calibre 6 11-24-2010 03:21 PM
epub output metadata troymc Calibre 5 05-22-2010 12:23 AM
Problem with epub output in Cybook Gen3 fjf Calibre 3 02-03-2010 02:23 AM


All times are GMT -4. The time now is 11:20 AM.


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