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-22-2009, 10:47 AM   #631
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,418
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The TOC is generated by the calibre FB2 input plugin. It can't be turned off short of modifying the plugin.
kovidgoyal is offline  
Old 07-22-2009, 10:58 AM   #632
Garfunkel
Member
Garfunkel began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jun 2009
Device: iTouch
Quote:
Originally Posted by kovidgoyal View Post
The TOC is generated by the calibre FB2 input plugin. It can't be turned off short of modifying the plugin.
OK. How do I modify that plugin? Where is it located?
Garfunkel is offline  
Advert
Old 07-22-2009, 11:01 AM   #633
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,418
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
In the calibre source code in the module calibre.ebooks.fb2.input
kovidgoyal is offline  
Old 07-22-2009, 01:16 PM   #634
Garfunkel
Member
Garfunkel began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jun 2009
Device: iTouch
Quote:
Originally Posted by kovidgoyal View Post
In the calibre source code in the module calibre.ebooks.fb2.input
Please, where can I find the source code? I thought you meant Library.zip but there's only .pyo files not .py.
Garfunkel is offline  
Old 07-22-2009, 01:49 PM   #635
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,418
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The source code is not included in the calibre distribution. To get the source code, you have to go to

http://calibre.kovidgoyal.net/wiki/Development
kovidgoyal is offline  
Advert
Old 07-22-2009, 02:19 PM   #636
Garfunkel
Member
Garfunkel began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jun 2009
Device: iTouch
Quote:
Originally Posted by kovidgoyal View Post
The source code is not included in the calibre distribution. To get the source code, you have to go to

http://calibre.kovidgoyal.net/wiki/Development
maybe something's wrong with this section...

Code:
recommendations = set([
       ('level1_toc', '//h:h1', OptionRecommendation.MED),
       ('level2_toc', '//h:h2', OptionRecommendation.MED),
       ('level3_toc', '//h:h3', OptionRecommendation.MED),  ])
Anyway it seems kinda too hard for me to understand it Just thought it would be more Delphi-like language.
Garfunkel is offline  
Old 07-22-2009, 02:21 PM   #637
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,418
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No that's not it, you have to modify the fb2.xsl file, no need to know python, just XSL
kovidgoyal is offline  
Old 07-22-2009, 02:57 PM   #638
spikebrennan
Junior Member
spikebrennan began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jun 2009
Device: Kindle DX
The news feed manager still lists "Portugese" and "Portuguese" as two different languages.
spikebrennan is offline  
Old 07-22-2009, 03:17 PM   #639
Garfunkel
Member
Garfunkel began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jun 2009
Device: iTouch
Quote:
Originally Posted by kovidgoyal View Post
No that's not it, you have to modify the fb2.xsl file, no need to know python, just XSL
OK. Just delete

Code:
<xsl:otherwise>
   <li>
      <a href="#TOC_{generate-id()}"><xsl:value-of select="normalize-space(fb:title/fb:p[1] | @name)"/></a>
      <xsl:if test="fb:section">
         <ul><xsl:apply-templates select="fb:section" mode="toc"/></ul>
      </xsl:if>
   </li>
</xsl:otherwise>
That should work.
Garfunkel is offline  
Old 07-22-2009, 03:42 PM   #640
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,418
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@spikebrennan: Will be fixed in next release
kovidgoyal is offline  
Old 07-22-2009, 03:46 PM   #641
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,418
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@Garfunkel: Open a ticket for this so I don't forget
kovidgoyal is offline  
Old 07-22-2009, 04:56 PM   #642
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,418
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Released b17. This will be the final beta before 0.6, so please give it one last bashing. In particular conversion to MOBI and the handling of covers during conversion to/from EPUB. Please test the option to use cover form source book as well.
kovidgoyal is offline  
Old 07-22-2009, 11:08 PM   #643
Ralob
Connoisseur
Ralob began at the beginning.
 
Posts: 53
Karma: 10
Join Date: Feb 2008
Device: iPad Pro, Kobo Libra 2, PW4
Two things- the issue with the calibre-parallel.exe not closing after completeing a job is critical. Each .exe is 22mb of ram, and they quickly build up in the task manager (slowing the system tremendously if not restarted).

Also, the SD card is not being detected by Calibre on its own. It is shown when coupled with my Cybook, but not independently. I am wondering if this is purposeful or a bug.
Ralob is offline  
Old 07-22-2009, 11:10 PM   #644
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,418
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I can't replicate the zombie calibre-parallel bug so it's kinda impossible for me to debug. And calibre doesn't detect SD cards on their own.
kovidgoyal is offline  
Old 07-22-2009, 11:19 PM   #645
Ralob
Connoisseur
Ralob began at the beginning.
 
Posts: 53
Karma: 10
Join Date: Feb 2008
Device: iPad Pro, Kobo Libra 2, PW4
Quote:
Originally Posted by kovidgoyal View Post
I can't replicate the zombie calibre-parallel bug so it's kinda impossible for me to debug. And calibre doesn't detect SD cards on their own.
Ah, no wondering I was getting frustrated with my computer for not seeing it, lol.

And is there any way for me to help you in replicating or debugging the issue?
Ralob 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 03:10 AM.


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