parser.add_option('--bookoteka', action='store_true', dest='bookoteka', default=False,
help='prepare files for Bookoteka')
parser.add_option('--gandalf', action='store_true', dest='gandalf', default=False,
parser.add_option('--bookoteka', action='store_true', dest='bookoteka', default=False,
help='prepare files for Bookoteka')
parser.add_option('--gandalf', action='store_true', dest='gandalf', default=False,
- help='prepare files for Gandalf')
+ help='prepare EPUB files for Gandalf')
+ parser.add_option('--gandalf-pdf', action='store_true', dest='gandalf_pdf', default=False,
+ help='prepare PDF files for Gandalf')
parser.add_option('--virtualo', action='store_true', dest='virtualo', default=False,
help='prepare files for Virtualo API')
parser.add_option('--prestigio', action='store_true', dest='prestigio', default=False,
parser.add_option('--virtualo', action='store_true', dest='virtualo', default=False,
help='prepare files for Virtualo API')
parser.add_option('--prestigio', action='store_true', dest='prestigio', default=False,
packagers.BookotekaEpubPackager.prepare(input_filenames, options.output_dir, options.verbose)
if options.gandalf:
packagers.GandalfEpubPackager.prepare(input_filenames, options.output_dir, options.verbose)
packagers.BookotekaEpubPackager.prepare(input_filenames, options.output_dir, options.verbose)
if options.gandalf:
packagers.GandalfEpubPackager.prepare(input_filenames, options.output_dir, options.verbose)