Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 07-09-2009, 01:26 PM   #436
zerospinboson
"Assume a can opener..."
zerospinboson ought to be getting tired of karma fortunes by now.zerospinboson ought to be getting tired of karma fortunes by now.zerospinboson ought to be getting tired of karma fortunes by now.zerospinboson ought to be getting tired of karma fortunes by now.zerospinboson ought to be getting tired of karma fortunes by now.zerospinboson ought to be getting tired of karma fortunes by now.zerospinboson ought to be getting tired of karma fortunes by now.zerospinboson ought to be getting tired of karma fortunes by now.zerospinboson ought to be getting tired of karma fortunes by now.zerospinboson ought to be getting tired of karma fortunes by now.zerospinboson ought to be getting tired of karma fortunes by now.
 
zerospinboson's Avatar
 
Posts: 755
Karma: 1942109
Join Date: Mar 2008
Location: Local Cluster
Device: iLiad v2, DR1000
Quote:
Originally Posted by kovidgoyal View Post
That's because as far as I know, Mobipocket doesn't support optional hyphens. I may be wrong about that though.
probably, but it would probably be better if they were then just stripped/ignored entirely before the mobi file was generated. (Duno if that can easily be done by you though)
zerospinboson is offline  
Old 07-09-2009, 01:30 PM   #437
Garfunkel
Member
Garfunkel began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jun 2009
Device: iTouch
Quote:
Originally Posted by kovidgoyal View Post
@Garfunkel: b11 has an option to disable inclusion of the TOC at the end of the file. It's under MOBI Output
How does that apply to epub files? I guess you misunderstood me - I'm interested in epub output. Please fix it. And btw, thank you for your patience and being so helpful!

Ah, just tried to convert to MOBI with the "disable the TOC" option on. And again the same thing - the book cover, the ToC (yep!) and then the text. I 'd like just the cover and the text and nothing in between. So I think the option is not working properly.

Last edited by Garfunkel; 07-09-2009 at 01:37 PM.
Garfunkel is offline  
Old 07-09-2009, 02:37 PM   #438
pars_andy
Connoisseur
pars_andy began at the beginning.
 
Posts: 65
Karma: 10
Join Date: Apr 2009
Device: Sony PRS505
Quote:
Originally Posted by kovidgoyal View Post
@pars_andy: Yes, it has been fixed
Wooohoooo!
pars_andy is offline  
Old 07-09-2009, 03:12 PM   #439
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,417
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@Garfunkel: calibre does not insert a generated TOC into EPUB. If you're seeing a TOC there, it was there in the source files. And in the MOBI format, the TOC is inserted at the end of the file, not at the beginning.
kovidgoyal is offline  
Old 07-09-2009, 03:14 PM   #440
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,417
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by pars_andy View Post
Wooohoooo!
I should note that while I have fixed the particular bug, font resizing in 0.6 does not work exactly the same as in 0.5. Indeed, LRF font resizing may still require some work.
kovidgoyal is offline  
Old 07-09-2009, 04:30 PM   #441
Garfunkel
Member
Garfunkel began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jun 2009
Device: iTouch
Quote:
Originally Posted by kovidgoyal View Post
@Garfunkel: calibre does not insert a generated TOC into EPUB. If you're seeing a TOC there, it was there in the source files. And in the MOBI format, the TOC is inserted at the end of the file, not at the beginning.
No, you're mistaken. There's no ToC in my FB2 source files. Here's the beginning of it...
Code:
<?xml version="1.0" encoding="UTF-8"?>
<FictionBook xmlns="http://www.gribuser.ru/xml/fictionbook/2.0" xmlns:l="http://www.w3.org/1999/xlink">
 <description>
  <title-info>
   <genre>prose_classic</genre>
   <author>
    <first-name>John</first-name>
    <middle-name>Robert</middle-name>
    <last-name>Fowles</last-name>
   </author>
   <book-title>The Magus</book-title>
   <annotation>
    <p>Nicholas Urfe, an evasive young Englishman, accepts a teaching position on a remote Greek island, where his friendship with a reclusive, demonic millionaire lures him into “the godgame”: an elaborate series of staged hallucinations, riddles, and psychological traps meant to test his concept of being and reality.</p>
   </annotation>
   <date>1965</date>
   <coverpage>
    <image l:href="#cover.jpg"/></coverpage>
   <lang>en</lang>
  </title-info>
  <document-info>
   <author>
    <nickname>Stranger</nickname>
    <email>[4pi@bk.ru]</email>
   </author>
   <program-used>doc2fb, FB Tools</program-used>
   <date>18.11.2005</date>
   <id>the_magus_475E116A-C286-4C78-BA34-3EFDA575FA98</id>
   <version>1.0</version>
  </document-info>
  <publish-info>
   <book-name>The Magus</book-name>
   <publisher>Laurel Press</publisher>
   <city>New York</city>
   <year>1985</year>
   <isbn>0440351626</isbn>
  </publish-info>
 </description>
 <body>
  <title>
   <p>John Fowles</p>
   <p>The Magus</p>
  </title>
  <epigraph>
   <p>To Astarte</p>
  </epigraph>
  <section>
   <title>
    <p>Part One</p>
   </title>
   <epigraph>
    <p>Un dГ©bauchГ© de profession est rarement un homme pitoyable.</p>
    <text-author>De Sade, Les Infortunes de la Vertu</text-author>
   </epigraph>
   <section>
    <title>
     <p>1</p>
    </title>
    <p>I was born in 1927, the only child of middle-class parents, both English, and themselves born in the grotesquely elongated shadow, which they never rose sufficiently above history to leave, of that monstrous dwarf Queen Victoria. I was sent to a public school,
As you can see no ToC but after converting it to epub with calibre I get this (after the cover) -
The same thing is when I read the book on my iPod touch - first cover then I have to scroll several pages to go to the text. I have a FB2 reader and it does not create the ToC.
Garfunkel is offline  
Old 07-09-2009, 07:28 PM   #442
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,417
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Ah perhaps the FB2 input plugin is auto inserting a TOC, I'll have to check. Open a ticket and attach the FB2 file.
kovidgoyal is offline  
Old 07-09-2009, 08:11 PM   #443
JSWolf
Resident Curmudgeon
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: 79,863
Karma: 146918083
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
I just found an oddity. Something I've converted to ePub using beta 10 & 11 locks up my reader. But using 0.5.14, it's fine.

I'll open a ticket and attach the relevant files.
JSWolf is online now  
Old 07-09-2009, 08:13 PM   #444
Stingo
Fanatic
Stingo ought to be getting tired of karma fortunes by now.Stingo ought to be getting tired of karma fortunes by now.Stingo ought to be getting tired of karma fortunes by now.Stingo ought to be getting tired of karma fortunes by now.Stingo ought to be getting tired of karma fortunes by now.Stingo ought to be getting tired of karma fortunes by now.Stingo ought to be getting tired of karma fortunes by now.Stingo ought to be getting tired of karma fortunes by now.Stingo ought to be getting tired of karma fortunes by now.Stingo ought to be getting tired of karma fortunes by now.Stingo ought to be getting tired of karma fortunes by now.
 
Stingo's Avatar
 
Posts: 582
Karma: 1334691
Join Date: Nov 2006
Location: Miami
Device: KH2O, KPW2, KDXG, KPW1, K3, S505
The fetch book information function is busted. It finds the books but when you select the description it gives an error.

Here is the error:
Traceback (most recent call last):
File "calibre/gui2/dialogs/metadata_single.pyo", line 452, in fetch_metadata
AttributeError: 'EnComboBox' object has no attribute 'setText'

Last edited by Stingo; 07-09-2009 at 09:04 PM.
Stingo is offline  
Old 07-09-2009, 09:01 PM   #445
notsure
Zealot
notsure has learned how to buy an e-book online
 
Posts: 123
Karma: 76
Join Date: Feb 2009
Device: Sony PRS-505, PRS-350
Quote:
Originally Posted by user_none View Post
Qt 4.5.0 works fine. However the version of PyQt is too old. You will need to install PyQt 4.5.x (I have 4.5.2 installed and it's fine). You can build and install PyQt 4.5 from source.
I too have encountered the error. It's too bad we need PyQT version 4.5.x since the only (K)Ubuntu distro with that version available in a package at the moment is Karmic.

I guess I'll have to try and build the latest version from source when time permits.

Thanks for the info user_none. And thanks for all the hardwork on calibre Kovid.
notsure is offline  
Old 07-09-2009, 09:08 PM   #446
Stingo
Fanatic
Stingo ought to be getting tired of karma fortunes by now.Stingo ought to be getting tired of karma fortunes by now.Stingo ought to be getting tired of karma fortunes by now.Stingo ought to be getting tired of karma fortunes by now.Stingo ought to be getting tired of karma fortunes by now.Stingo ought to be getting tired of karma fortunes by now.Stingo ought to be getting tired of karma fortunes by now.Stingo ought to be getting tired of karma fortunes by now.Stingo ought to be getting tired of karma fortunes by now.Stingo ought to be getting tired of karma fortunes by now.Stingo ought to be getting tired of karma fortunes by now.
 
Stingo's Avatar
 
Posts: 582
Karma: 1334691
Join Date: Nov 2006
Location: Miami
Device: KH2O, KPW2, KDXG, KPW1, K3, S505
In Beta 11 Epub will not convert to mobi.

Convert book 1 of 1 (u'London Review of Books [Thu, 09 Jul 2009]')
InputFormatPlugin: EPUB Input running on /Volumes/Media 1/E-Books/Calibre/calibre/London Review of Books _Thu, 09 Jul 2009_ (1088)/London Review of Books _Thu, 09 Jul 2009_ - calibre.epub
Parsing all content...
Parsing feed_0/article_4/index.html ...
Parsing feed_0/article_7/index.html ...
Parsing feed_0/article_8/index.html ...
Parsing feed_0/article_9/index.html ...
Parsing stylesheet.css ...
Parsing feed_0/article_3/index.html ...
Parsing titlepage.xhtml ...
Parsing index.html ...
Parsing feed_0/article_5/index.html ...
Parsing feed_0/index.html ...
Parsing feed_0/article_6/index.html ...
Parsing feed_0/article_0/index.html ...
Parsing feed_0/article_1/index.html ...
Parsing feed_0/article_10/index.html ...
Parsing feed_0/article_11/index.html ...
Parsing feed_0/article_2/index.html ...
Referenced file '/contributors/sinc01' not found
Referenced file u'/assets/images/footer_b.gif' not found
Referenced file '/contributors/soar01' not found
Referenced file '/contributors/raba01' not found
Referenced file '/contributors/mart02' not found
Referenced file '/v31/n12/letters.html' not found
Referenced file '/copyright' not found
Referenced file '/v30/n18/mack01_.html' not found
Referenced file '/contributors/cald02' not found
Referenced file 'feed_0/article_12/index.html' not found
Referenced file '/contributors/mull02' not found
Referenced file '/contributors/ackr01' not found
Referenced file '/contributors/ohag01' not found
Referenced file '/v31/n13/letters.html' not found
Referenced file '/contributors/wood01' not found
Referenced file '/contributors/mack01' not found
Referenced file '/contributors/stew01' not found
Referenced file '/contributors/finn01' not found
Referenced file '/v30/n09/mack01_.html' not found
Referenced file '/contributors/camp01' not found
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Parsing titlepage.xhtml ...
Parsing file 'titlepage.xhtml' as HTML
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Applications/E-Book-tools/calibre.app/Contents/console.app/Contents/Resources/lib/python2.6/site-packages.zip/calibre/utils/ipc/worker.py", line 90, in main
File "calibre/gui2/convert/gui_conversion.pyo", line 17, in gui_convert
File "calibre/ebooks/conversion/plumber.pyo", line 664, in run
File "calibre/ebooks/oeb/transforms/structure.pyo", line 32, in __call__
File "calibre/ebooks/oeb/transforms/structure.pyo", line 73, in detect_chapters
File "calibre/ebooks/oeb/base.pyo", line 934, in fget
File "calibre/ebooks/oeb/base.pyo", line 793, in _parse_xhtml
AttributeError: 'Item' object has no attribute 'log'
Stingo is offline  
Old 07-09-2009, 10:06 PM   #447
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
Clicking on Preferences icon in beta 11 gives me:
Code:
Traceback (most recent call last):
  File "main.py", line 1434, in do_config
  File "calibre\gui2\dialogs\config.pyo", line 460, in __init__
  File "calibre\gui2\dialogs\config.pyo", line 463, in setup_conversion_options
  File "calibre\gui2\dialogs\config.pyo", line 74, in __init__
  File "calibre\gui2\dialogs\config.pyo", line 47, in widget_factory
  File "calibre\gui2\convert\lrf_output.pyo", line 39, in __init__
  File "calibre\gui2\convert\__init__.pyo", line 52, in initialize_options
  File "calibre\gui2\convert\__init__.pyo", line 73, in apply_recommendations
  File "calibre\gui2\convert\__init__.pyo", line 103, in set_value
  File "calibre\gui2\convert\lrf_output.pyo", line 48, in set_value_handler
TypeError: argument 1 of QComboBox.findText() has an invalid type
OS: Win XP Pro SP3
ilovejedd is offline  
Old 07-09-2009, 11:39 PM   #448
Stingo
Fanatic
Stingo ought to be getting tired of karma fortunes by now.Stingo ought to be getting tired of karma fortunes by now.Stingo ought to be getting tired of karma fortunes by now.Stingo ought to be getting tired of karma fortunes by now.Stingo ought to be getting tired of karma fortunes by now.Stingo ought to be getting tired of karma fortunes by now.Stingo ought to be getting tired of karma fortunes by now.Stingo ought to be getting tired of karma fortunes by now.Stingo ought to be getting tired of karma fortunes by now.Stingo ought to be getting tired of karma fortunes by now.Stingo ought to be getting tired of karma fortunes by now.
 
Stingo's Avatar
 
Posts: 582
Karma: 1334691
Join Date: Nov 2006
Location: Miami
Device: KH2O, KPW2, KDXG, KPW1, K3, S505
Waiting for beta 12 with baited breath. ;-)
Stingo is offline  
Old 07-10-2009, 12:06 AM   #449
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,417
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Hmm lots of little typos, I must be overworked b12 will be out in another 24 hours
kovidgoyal is offline  
Old 07-10-2009, 04:27 AM   #450
emellaich
Wizard
emellaich ought to be getting tired of karma fortunes by now.emellaich ought to be getting tired of karma fortunes by now.emellaich ought to be getting tired of karma fortunes by now.emellaich ought to be getting tired of karma fortunes by now.emellaich ought to be getting tired of karma fortunes by now.emellaich ought to be getting tired of karma fortunes by now.emellaich ought to be getting tired of karma fortunes by now.emellaich ought to be getting tired of karma fortunes by now.emellaich ought to be getting tired of karma fortunes by now.emellaich ought to be getting tired of karma fortunes by now.emellaich ought to be getting tired of karma fortunes by now.
 
Posts: 1,101
Karma: 4388403
Join Date: Oct 2007
Device: Palm>Ebookman>IPaq>Axim>Cybook>Kndl2>IPAD>Kndl3SO>Voyager>Oasis
Quote:
Originally Posted by Stingo View Post
Waiting for beta 12 with baited breath. ;-)
Perhaps you can answer something I've always wanted to know. Can you tell me if your breath smells like worms or is it minnows?
emellaich is offline  
Closed Thread


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre metadata.calibre not allowing updates Chuckels550 Calibre 10 08-09-2010 05:12 PM
Using Calibre as a client for another Calibre instance? toddos Calibre 27 06-30-2010 04:57 AM
Sigil 0.2.0 betas available Valloric Sigil 98 05-03-2010 04:07 PM
cannot open calibre on osx 10.6-- "Calibre is already running" message jlip Calibre 4 01-02-2010 11:05 PM
calibre command line utilities and calibre defaults astrodad Calibre 2 08-07-2008 03:27 PM


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


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