05-16-2012, 04:22 AM | #331 |
Enthusiast
Posts: 46
Karma: 10
Join Date: Dec 2011
Device: Kindle 3
|
Kindle limitations for annotations
People having a Kindle well know what I'm talking about: Amazon has put a % limitation on the possibility of saving a part of the text in "My clippings.txt". Has anybody an idea of how getting a rid of this limitation through a new Calibre plugin or eventually a hack?
|
05-16-2012, 05:34 AM | #332 |
Calibre Plugins Developer
Posts: 4,661
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
@faber1971 - a search reveals some answers for this
Edit: I've added a feature to the Quality Check plugin which will allow you to find MOBI books in your library which have the clipping limit specified. You will then either do a calibre conversion or use a third party tool such as mentioned in that thread above to remove the limit. Last edited by kiwidude; 05-16-2012 at 03:02 PM. Reason: Update with info on Quality Check latest release |
05-17-2012, 04:01 PM | #333 |
Well trained by Cats
Posts: 30,107
Karma: 57259780
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Neither Sigil or Calibre will clean up unused styles, you know the ones in those bloated Kitchen sink stylesheets, even if it is only 1 stylesheet
I'd love a plugin that would generate a Report(.log) of all the USED styles and a count of the tag usage in a single book. (and make LOG a Calibre External-View file type) Or better yet, a list of the ones in the stylesheet that never were used. I can handle the stylesheet edit armed with that. |
05-17-2012, 04:03 PM | #334 |
Calibre Plugins Developer
Posts: 4,661
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
@theducks - yeah I know what you mean - though I think it really needs to be a function/plugin in Sigil to be real time enough to be useful. Giving you a count of how many times a style is used and the ability to jump to those places - that would be nice.
|
05-17-2012, 04:26 PM | #335 |
Well trained by Cats
Posts: 30,107
Karma: 57259780
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
If I know, I can Search for the Name.
I am a little leery of blindly deleting 'not used', there are oh so may legay ways to use them style="styleA styleZ" and define them div.styleA p.styleZ .styleA Then there is the Multi define like I find in the old Webscription stylesheet Code:
body { margin-top: 0; margin-bottom: 0; margin-left: 0; margin-right: 0 } body { margin-left: 5pt; margin-right: 5pt } a { color: inherit; text-decoration: inherit; cursor: default } a[href] { color: blue; text-decoration: underline; cursor: pointer } body { text-align: justify } |
05-17-2012, 05:47 PM | #336 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
I think a calibre conversion to epub cleans up unused styles from the css file, ... but perhaps you are trying to avoid doing that.
|
05-17-2012, 06:28 PM | #337 | |
Well trained by Cats
Posts: 30,107
Karma: 57259780
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
We are speaking of the GI part of GIGO |
|
05-19-2012, 04:19 AM | #338 |
Sigil developer
Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
@theducks - sounds like it would be useful to have in Sigil. But the trick as you mention is figuring out all the rules of how styles/classes can be defined and used in order to get an accurate report. Something to add to the wishlist
|
05-19-2012, 06:13 AM | #339 | |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
Original css: 2624 lines (416 rules) calibre-converted css: 318 lines (41 rules), all 41 rules were used at least once in the converted epub. 4 of the 41 were new calibre-created rules with the .calibrenn name. Now, whilst a sample of 1 is not enough to prove anything, surely you'd have to agree that calibre is doing something with style rationalisation |
|
05-19-2012, 06:47 AM | #340 |
creator of calibre
Posts: 44,145
Karma: 22670164
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibre does rationalize css. Basically all css is applied to the actual HTML, then processed/transformed and then written out. This process automatically discards all rules from the input document that do not apply to anything.
|
05-19-2012, 08:13 AM | #341 |
Well trained by Cats
Posts: 30,107
Karma: 57259780
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
is there some setting that I have made, that stops this (purging) from happening?
|
05-19-2012, 09:15 AM | #342 |
creator of calibre
Posts: 44,145
Karma: 22670164
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No there is no setting that can prevent rationalization from happening, rationalization is fundamental to the conversion process.
|
05-21-2012, 05:14 PM | #343 | |
Resident Curmudgeon
Posts: 75,047
Karma: 131375774
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
05-21-2012, 05:22 PM | #344 | |
Resident Curmudgeon
Posts: 75,047
Karma: 131375774
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
So when I have <p class="para">, leave it be. Just modify para in the CSS as needed based on the options. Don't then give me <p class="calibre8"> when para was perfectly OK. |
|
05-24-2012, 02:36 PM | #345 |
Junior Member
Posts: 6
Karma: 10
Join Date: May 2012
Device: nst
|
Cover-fetcher by ISBN
hi,
a customizable plugin for fetching the book's covers directly from the publishers official homepages (chosen by metadata) would be great, because many publisher save covers in high quality with the isbn as filename: e.g. dtv.de/_images/cover640/$ISBN.jpg & dtv.de/_cover/300dpi/$ISBN.zip fischerverlage.de/media/fs/15/$ISBN[/I].jpg reclam.de/data/cover/$ISBN[/I].jpg & reclam.de/data/cover_press/$ISBN[/I].tif <= no direct tiff-support in calibre, but Calibre extracts these covers if they are inside a zip-file (e.g. from dtv) suhrkamp.de/cover/640/$last2DigitsofPublisher&TitleinISBN.jpg rowohlt.de/fm/501/$ISBN.jpg kiwi-verlag.de/ifiles/cover/printbig/$ISBN.zip ullsteinbuchverlage.de/media/$ISBN_cover.jpg piper-verlag.de/media/$ISBN_cover.jpg klett-cotta.de/media/1/$ISBN.jpg droemer-knaur.de/fm/48/$ISBN.jpg oetinger.de/fileadmin/verlagsgruppe-oetinger.de/vsg_images/cover/download/$ISBN.jpg cms.thienemann.de/daten/cms/cover/gross/$ISBN.jpg tdb.carlsen.de/carl2_resources/uploads/cover/amazon/$ISBN.jpg husum-verlag.de/catalog/images/3-89876-/$ISBN.jpg aufbau-verlag.de/media/Upload/cover/$ISBN.jpg ? http://www.randomhouse.de/content/edition/covervoila_hires/$AuthorsSurname_$Title_id.jpg ? files.hanser.de/hanser/pics/$ISBN_id_#.jpg ? hoffmann-und-campe.de/getcover.cfm?pic=$last2DigitsofPublisher&TitleinIS BN_$AuthorsSurname1.jpg <= varies very small: diogenes.ch/media/covers/132_211/$ISBN.jpg Last edited by Ferencz; 05-24-2012 at 03:19 PM. |
Tags |
calibre, chatbot, cover, epub fix, epub-fix, google books, kindle, metadata calibre title, missing, pdf, pdf and calibre, plugin development, scribe |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PRS-505 Any ideas what this might be? | Neupy | Sony Reader | 4 | 07-03-2012 07:19 AM |
New Plugin Type Idea: Library Plugin | cgranade | Plugins | 3 | 09-15-2010 12:11 PM |
Ideas? | mike_bike_kite | Which one should I buy? | 10 | 06-13-2010 03:37 PM |
Ideas | F1Wild | Amazon Kindle | 4 | 07-10-2009 06:01 AM |