07-18-2009, 11:05 PM | #1 |
Zealot
Posts: 125
Karma: 1031580
Join Date: Nov 2008
Device: Kindle Paperwhite, Sony PRS-505(LC) & Rocket eBook
|
Custom pre-processors?
In Calibre 0.5.14 there is a pre-processor option to massage your source files before final conversion.
I have not used them because many of my Baen-sourced files have already been processed for use with my Rocket eBook reader. Can new user-written pre-processors be written to be included in the selection drop-down box? And if so, how would I go about it? I'd like to write a script to replace some text that renders poorly on my Sony PRS-505 in LRF format, then feed the result into the Calibre converter. The worst offender so far is the horizontal rule tags that I almost universally inserted at scene breaks. While their width attributes are set at 200 pixels, the Sony renders them as full-width and it loses the blank line before the rule (but not after). -Joe |
07-19-2009, 02:09 PM | #2 |
creator of calibre
Posts: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You can use the calibre plugin system to write your own preprocessors. See the section of the User Manual on customizing calibre
|
Advert | |
|
07-20-2009, 09:30 AM | #3 |
Zealot
Posts: 125
Karma: 1031580
Join Date: Nov 2008
Device: Kindle Paperwhite, Sony PRS-505(LC) & Rocket eBook
|
|
07-25-2009, 08:56 AM | #4 |
Junior Member
Posts: 4
Karma: 182
Join Date: Jan 2009
Device: PRS-505
|
Hi, Sorry i am probably being a bit think but I can't find the page in the User Manual about plugins and specifically how to create one or the files needed etc.
|
07-25-2009, 11:18 AM | #5 |
creator of calibre
Posts: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
custom column i need a little help | shinken | Calibre | 3 | 09-15-2010 03:41 AM |
Custom Recipe | CABITSS | Introduce Yourself | 2 | 09-22-2009 10:30 AM |
Custom Recipe | CABITSS | Calibre | 3 | 09-22-2009 10:29 AM |
Linux and ARM processors | mobelby | Calibre | 3 | 06-15-2009 11:55 PM |
Custom charge? | daoshi | iRex | 3 | 10-06-2008 06:47 PM |