Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-14-2009, 12:34 PM   #541
frabjous
Wizard
frabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
frabjous's Avatar
 
Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
Thanks. Do you mean for the next version, or for 0.6.6 already?
frabjous is offline   Reply With Quote
Old 08-14-2009, 12:43 PM   #542
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,243
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
0.6.7
kovidgoyal is online now   Reply With Quote
Advert
Old 08-14-2009, 01:06 PM   #543
frabjous
Wizard
frabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
frabjous's Avatar
 
Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
Awesome. You're the man, Kovid.
frabjous is offline   Reply With Quote
Old 10-16-2009, 03:41 PM   #544
theonna
One
theonna knows how to choose the perfect melontheonna knows how to choose the perfect melontheonna knows how to choose the perfect melontheonna knows how to choose the perfect melontheonna knows how to choose the perfect melontheonna knows how to choose the perfect melontheonna knows how to choose the perfect melontheonna knows how to choose the perfect melontheonna knows how to choose the perfect melontheonna knows how to choose the perfect melontheonna knows how to choose the perfect melon
 
theonna's Avatar
 
Posts: 107
Karma: 137282
Join Date: Oct 2009
Device: Sony, Kindle,Pocketbook, Nook...
I have installed Python 3.1, latest Calibre 0.6.17
when trying to convert to .ebpub format from unicode rtf file I get a failure with errors:
line: 2 char: 9
'ascii' codec can't decode byte 0xd1 in position 0: ordinal not in range(128)
line: 2 char: 11
'ascii' codec can't decode byte 0xe3 in position 0: ordinal not in range(128)
line: 2 char: 12
'ascii' codec can't decode byte 0xe0 in position 0: ordinal not in range(128)
line: 2 char: 13
_________________
I would assume a line for each unicode character, anything I am doing wrong?
How can I fix it?
Thank you
theonna is offline   Reply With Quote
Old 10-16-2009, 05:43 PM   #545
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,243
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
calibre only supports ASCII encoded RTF files.
kovidgoyal is online now   Reply With Quote
Advert
Old 10-24-2009, 05:06 PM   #546
Comedy of Errors
Junior Member
Comedy of Errors began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2009
Device: Cool-er
Hi,

I am trying to convert my book to default ePub format but am having trouble with blank lines. I tried from both Word and HTML but get the same problem.

I don't want blank lines to show between my paragraphs so I am forced to tick the option to remove them, otherwise they seem to get inserted. The problem is that sometimes I do want blank lines. So how do I tell Calibre not to remove them? I tried these (in the HTML version) but they are all ignored:
<p></p><p></p>
</br></br>
In the end the only one that worked was to use a paragraph with a space in it:
<p> </p>

There must be a better way. Am I overlooking an option somewhere to tell it not to remove deliberate blank lines?
Comedy of Errors is offline   Reply With Quote
Old 10-24-2009, 08:26 PM   #547
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,243
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Unselect that option and use the following in extra css

p { margin: 0pt; border:0pt }
kovidgoyal is online now   Reply With Quote
Old 10-25-2009, 10:43 PM   #548
ElizabethN
reader, ebook junkie
ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.
 
ElizabethN's Avatar
 
Posts: 111
Karma: 436806
Join Date: Dec 2007
Location: western nebraska
Device: in use kindle oasis 2nd and 3rd gen, kobo forma, boox poke5
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
ElizabethN is offline   Reply With Quote
Old 10-25-2009, 11:03 PM   #549
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,243
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The calibre comments field does not have support for HTML markup.
kovidgoyal is online now   Reply With Quote
Old 10-25-2009, 11:31 PM   #550
ElizabethN
reader, ebook junkie
ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.
 
ElizabethN's Avatar
 
Posts: 111
Karma: 436806
Join Date: Dec 2007
Location: western nebraska
Device: in use kindle oasis 2nd and 3rd gen, kobo forma, boox poke5
so returns or blank lines in the comments field show only in meta information section but not in the book jacket.

what about indents or extra spaces? if I indent a paragraph in the comments field rather than putting a blank line between paragraphs will that transfer over to the book jacket?

no - I don't get the funky <br/><br/> anymore, I just get a large clump of text. I've spaced somewhat between paragraphs by using ......... it's not pharmaceutically elegant but it gets the job done.

Thanks for the answer.
ElizabethN is offline   Reply With Quote
Old 10-25-2009, 11:38 PM   #551
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,243
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
yeah basically, the comments field is just put verbatim into a <div> tag
kovidgoyal is online now   Reply With Quote
Old 10-31-2009, 01:07 PM   #552
Comedy of Errors
Junior Member
Comedy of Errors began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2009
Device: Cool-er
Quote:
Originally Posted by kovidgoyal View Post
Unselect that option and use the following in extra css

p { margin: 0pt; border:0pt }
Thanks for the suggestion but try as I might I can't get it to work. Doing as you suggested meant I lost the paragraph indenting which Calibre otherwise provided. As I did not want absolutely everything indented anyway I moved the instructions into the HTML instead like this:

P {margin: 0pt; border:0pt; text-indent: 1.5em;}
P.noindent {margin: 0pt; border:0pt;text-indent: 0em;}

In HTML it now displays perfectly. For the few paragraphs I don't want indenting I now just specify <p class=noindent>

Unfortunately Calibre seems to take no notice of the above. I tick no options and yet spaces apear betwen the paragraphs and all indenting is removed.

As you may have gathered I am a novice at both HTML and EPUB so it is probably me doing something daft. Any suggestions would be appeciated.
Comedy of Errors is offline   Reply With Quote
Old 10-31-2009, 02:13 PM   #553
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,243
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I suggest reading http://calibre.kovidgoyal.net/user_m...agraph-spacing
kovidgoyal is online now   Reply With Quote
Old 11-04-2009, 02:31 PM   #554
Comedy of Errors
Junior Member
Comedy of Errors began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2009
Device: Cool-er
Quote:
Originally Posted by kovidgoyal View Post
I'm embarrassed to keep asking but even doing exactly as described in the help file it does not work.

My source file looks like this:

<h1>Chapter 1</h1>
<p>There was something supernatural here,
something extraordinary.</p>

So I do the conversion, default reader, tick no options, copy/pasting the Extra CSS from the help page:

p, div { margin: 0pt; border: 0pt; text-indent: 1.5em }
.spacious { margin-bottom: 1em; text-indent: 0pt; }

But when I open the epub output and look at what it has done I see this:

<h1 id="calibre_toc_2" class="calibre7">Chapter 1</h1>
<p class="p.spacious">There was something supernatural here,
something extraordinary.</p>

And every paragraph where I have not explicitly chosen a class is set to spacious, which is not what it says is meant to happen.

Is Calibre getting it wrong or am I?
Comedy of Errors is offline   Reply With Quote
Old 11-11-2009, 10:11 PM   #555
reuben
Member
reuben began at the beginning.
 
reuben's Avatar
 
Posts: 21
Karma: 10
Join Date: Nov 2009
Location: Philippines
Device: Sony Reader, iPad
I'm having a problem converting PDF to EPUB. The book I converted was Alice's Adventures in Wonderland (just want to view the output). The EPUB output file has no TOC. I was expecting that calibre would get the PDF's bookmark to become EPUB's TOC. Here is the PDF and EPUB:
reuben 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 02:55 AM.


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