![]() |
#706 |
Connoisseur
![]() Posts: 98
Karma: 40
Join Date: May 2010
Device: Kobo (currently out of commission), Kindle 3
|
I'm having a little bit of trouble with my Kobo and Calibre too. Using Calibre I've converted from PDB and PDF files to EPUB but the font sizes are stuck at really small and nothing I can do will fix that (using the base font size didn't do anything). I think I'll try the KoboBulkFixer mentioned and hope that the firmware fix helps. I would like to see this capability in Calibre so that I can use one program to do everything
![]() In addition, I downloaded the correct covers for the books when they'd been converted to EPUB (I downloaded the covers and converted them again) but they're while they're showing up on Calibre, they're not doing so on the Kobo. |
![]() |
![]() |
![]() |
#707 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,168
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You have to delete the files from the Kobo and then resend them for the updated covers to show up (The kobo caches covers and doesn't regenrate the cache).
|
![]() |
![]() |
![]() |
#708 |
Connoisseur
![]() Posts: 98
Karma: 40
Join Date: May 2010
Device: Kobo (currently out of commission), Kindle 3
|
Thanks kovidgoyal,
I'm pretty sure I tried that, but I'll do it again. First I have to get that KoboBulkFixer working - it's giving me evil errors. Edit: Woohoo! It's working - and my font sizes are nice and malleable. Now to hide my Kobo from myself until I finish my uni assignments ![]() Last edited by Katdragon; 06-23-2010 at 10:22 PM. |
![]() |
![]() |
![]() |
#709 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 108
Karma: 6066
Join Date: Apr 2010
Location: Singapore
Device: iPad Air, Kindle DXG, Kindle Paperwhite
|
@Kovid,
This is related to Bug Ticket #5982 on Calibre generated chinese news EPUB. I am not sure how hard it is to fix, but I tested again and confirmed that the garbled Chinese display of the article description line on the Feed page ( UTF-8 encoded feed) can be fixed by simply removing the line "Font-Family: SANS" under ".articledescription" of the stylesheet.css. ![]() Can you please take a look? ![]() |
![]() |
![]() |
![]() |
#710 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,168
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@rty: I have to get to the ticket, be patient
![]() |
![]() |
![]() |
![]() |
#711 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Jul 2010
Device: Cybook Opus
|
Help! NO Epub margins on Cybook Opus using Calibre
Can someone help me? I am totally lost. I have a Cybook Opus and want to use ePub rather than Mobipocket format. But whenever I use Calibre to generate news or to convert books, the output has no margins at all. That means the edges of the text are in shadow. I have tried fixing this through Calibre but I am obviously doing something wrong because it won't change. I would like to have a couple of mm of margin all round. How do I do this? If someone does know, if they could explain it very simply - I am not a techie! Thank you in advance.
|
![]() |
![]() |
![]() |
#712 |
Connoisseur
![]() Posts: 98
Karma: 40
Join Date: May 2010
Device: Kobo (currently out of commission), Kindle 3
|
Converting from .pdb to EPUB - extra lines
Hi everyone,
I converted a PDB file to EPUB using Calibre. As I do with all of my EPUB files, before I put them on my Kobo I pop them into Sigil to see if there are any problems. I found that with this particular file, Calibre has inserted line breaks that take off the first letter of a word at the start of the paragraph and puts another line under it. Here is the code: <p class="calibre1"></p> <div class="calibre10"> M </div> <p>y jailers merely tightened their hold and frog-marched me when I wobbled. Suckers are very strong; they may not have noticed that they were now bearing nearly all my weight as my knees gave and my feet lost their purchase on the ragged ground.</p> Does anyone know how to fix this without having to go through every single paragraph of the story? I'd like to do it with a find/replace thing if possible (using Sigil??). Your help would be very much appreciated as I want to get to read my book ASAP! Thanks ![]() |
![]() |
![]() |
![]() |
#713 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,889
Karma: 59840450
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
![]() Except you said: every single paragraph ![]() What did the original visually look like? Something special with the first letter of every Paragraph? The other thing I noticed is there were no styles in the regular paragraphs. Maybe a Guru will be by to help? |
|
![]() |
![]() |
![]() |
#714 | |
Connoisseur
![]() Posts: 98
Karma: 40
Join Date: May 2010
Device: Kobo (currently out of commission), Kindle 3
|
Quote:
The lack of styles in the paragraphs is probably due to the fact that I ran the EPUB through KoboBulkFix in order to sort out the font problem. Given that, is there some sort of html editor that will let me do a search for those elements and delete everything except the letter inside it? Or another solution? Thanks ![]() |
|
![]() |
![]() |
![]() |
#715 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,889
Karma: 59840450
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Very be vewwey caweful Backup your book S&R for the (whatever is between the letter and the rest) Code:
</span><span class="stuff"> Last edited by theducks; 07-14-2010 at 08:30 PM. |
|
![]() |
![]() |
![]() |
#716 | |
Connoisseur
![]() Posts: 98
Karma: 40
Join Date: May 2010
Device: Kobo (currently out of commission), Kindle 3
|
Quote:
Thanks for that - would you mind clarifying something though? I can't see any <span> codes in the htm files. I'm a bit of a literal person so if you wouldn't mind using an example from the code that I posted to show how to do it properly? Edit: I can post/pastebin you more code if need be. Thanks so much ![]() Last edited by Katdragon; 07-14-2010 at 09:11 PM. |
|
![]() |
![]() |
![]() |
#717 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,889
Karma: 59840450
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
What you are trying to do is 1) keep the tags in balance (Every open has a close in the right place2) remove the trash between) Without seeing a whole chapter (code), I would have a hard time guessing ![]() I have whole books that look clean and NO, Zero, Nada DIV tags. K.I.S.S. no fancy stuff, just indented paragraphs. A chapter header Code:
<p class...> stuff </p> ![]() Do Frequent saves, every GOOD change ![]() |
|
![]() |
![]() |
![]() |
#718 | ||
Connoisseur
![]() Posts: 98
Karma: 40
Join Date: May 2010
Device: Kobo (currently out of commission), Kindle 3
|
<p> </p> tags around every paragraph. Unfortunately the <p> tags are between that first letter and the rest of the first word in the paragraph.
Quote:
I haven't included the whole text of the chapter, but enough to show the code at the start, end and in two paragraphs in the middle. Quote:
Thanks for the info about the Sigil colouring, and your really nice efforts to help me out! |
||
![]() |
![]() |
![]() |
#719 | |
GuteBook/Mobi2IMP Creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
Quote:
Code:
<div> ...initial letter... </div> Code:
<span> ...initial letter... </span> But before I got satisfactory results (when previewing the .html in Firefox), I had to eliminate any white space AFTER the initial letter. ![]() ![]() Below is my revised sample code to make it work as expected. Try this on your copy of the (.epub) ebook. I also provide a simple diffs comparison between your sample code and my revised code. Code:
<?xml version="1.0"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>McKinley_Sunshine</title> <link rel="stylesheet" href="stylesheet.css" type="text/css" /> <style type="text/css"> @page { margin-bottom: 5.000000pt; margin-top: 5.000000pt; } .calibre10 { font-weight: bold } </style> </head> <body class="calibre"> <p class="calibre1"></p> <p><span class="calibre10"> I</span>t was a dumb thing to do but it wasn't that dumb. There hadn't been any trouble out at the lake in years. And it was so exquisitely far from the rest of my life.</p> <p class="calibre1"></p> <p><span class="calibre10"> M</span>onday evening is our movie evening because we are celebrating having lived through another week. Sunday night we lock up at eleven or midnight and crawl home to die, and Monday (barring a few national holidays) is our day off. Ruby comes in on Mondays with her warrior cohort and attacks the coffeehouse with an assortment of high-tech blasting gear that would whack Godzilla into submission: those single-track military minds never think to ask their cleaning staff for help in giant lethal marauding creature matters. Thanks to Ruby, Charlie's Coffeehouse is probably the only place in Old Town where you are safe from the local cockroaches, which are approximately the size of chipmunks. You can hear them clicking when they canter across the cobblestones outside.</p> <p class="calibre1"></p> <p><span class="calibre10"> W</span>e'd begun the tradition of Monday evening movies seven years ago when I started slouching out of bed at four A.M. to get the bread going. Our first customers arrive at six-thirty and they want our Cinnamon Rolls as Big as Your Head and I am the one who makes them. I put the dough on to rise overnight and it is huge and puffy and waiting when I get there at four-thirty. By the time Charlie arrives at six to brew coffee and open the till (and, most of the year, start dragging the outdoor tables down the alley and out to the front), you can smell them baking. One of Ruby's lesser minions arrives at about five for the daily sweep- and mop-up. Except on Tuesdays, when the coffeehouse is gleaming and I am giving myself tendonitis trying to persuade stiff, surly, thirty-hour refrigerated dough that it's time to loosen up.</p> <p class="calibre1"></p> <p><span class="calibre10"> C</span>harlie is one of the big good guys in my universe. He gave me enough of a raise when I finished school (high school diploma by the skin of my teeth and the intercession of my subversive English teacher) and began working for him full time that I could afford my own place, and, even more important, he talked Mom into letting me have it.</p> <p class="calibre1"></p> <div class="calibre2"> <hr width="80%" class="calibre4" /> </div> <p class="calibre1"></p> <div class="calibre2"> <hr width="50%" class="calibre4" /> </div> <p class="calibre1"></p> <div class="calibre2"> <span class="calibre3" id="pml_toc-1"></span> <div class="calibre7" id="calibre_pb_4"></div> </div> </body> </html> |
|
![]() |
![]() |
![]() |
#720 |
Connoisseur
![]() Posts: 98
Karma: 40
Join Date: May 2010
Device: Kobo (currently out of commission), Kindle 3
|
Thanks so much
![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
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 |