fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add resource path to TEXINPUTS so images are included without symlink hacks
[librarian.git]
/
scripts
/
book2epub
diff --git
a/scripts/book2epub
b/scripts/book2epub
index
ff2c668
..
f87bf05
100755
(executable)
--- a/
scripts/book2epub
+++ b/
scripts/book2epub
@@
-16,8
+16,14
@@
class Book2Epub(Book2Anything):
Option('-w', '--working-copy', dest='working-copy',
action='store_true', default=False,
help='mark the output as a working copy'),
Option('-w', '--working-copy', dest='working-copy',
action='store_true', default=False,
help='mark the output as a working copy'),
+ ]
+ transform_options = [
Option('-R', '--resources', dest='resources', metavar='DIR',
help='a directory with additional resources'),
Option('-R', '--resources', dest='resources', metavar='DIR',
help='a directory with additional resources'),
+ Option('-I', '--intro', dest='intro_file', metavar='FILE',
+ help='HTML file containing intro'),
+ Option('-e', '--cover-file', dest='cover_file', metavar='FILE',
+ help='Cover image file'),
]
]