02-06-2009, 08:44 AM | #1 |
Guru
Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
|
How to specify options for epub in a recipe?
It is unclear to me how to specify more than one option since it is just string.
I tried this but it does not work: Code:
html2epub_options = 'comment="description" category="news, politics" publisher="test"' |
02-06-2009, 02:19 PM | #2 |
creator of calibre
Posts: 43,775
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The string is just python code. So put each option on a new line
|
Advert | |
|
02-06-2009, 03:00 PM | #3 |
Guru
Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
|
|
02-06-2009, 03:21 PM | #4 |
Guru
Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
|
Got it. It is like this:
Code:
html2epub_options = 'publisher="test"\ncomments="comment"\ntags="news, politics"' |
02-06-2009, 03:26 PM | #5 |
creator of calibre
Posts: 43,775
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
EPUB doesn't really have support for category.
|
Advert | |
|
02-06-2009, 03:41 PM | #6 |
Guru
Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
|
|
02-06-2009, 03:43 PM | #7 |
creator of calibre
Posts: 43,775
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Different save options | clockmaker | Calibre | 2 | 08-28-2010 06:12 AM |
Options to show programming source code in ePub | pedgarcia | ePub | 2 | 07-21-2010 10:41 AM |
Error with adding font to EPUB news recipe | megabadd | Calibre | 2 | 01-11-2010 10:16 AM |
Recipe to LRF - crashes, EPUB - no support for CP1250 | dtubin | Calibre | 0 | 10-21-2009 07:51 AM |
Charging Options?? | jerryleejr | Sony Reader | 15 | 12-01-2008 04:40 AM |