X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/4e329824f40367945de11d3647396859092f5c2c..a0b7177b9e33d4d23dc7ba73040f4cb5f750b8f8:/scripts/book2html?ds=inline diff --git a/scripts/book2html b/scripts/book2html index f6d459d..66b8999 100755 --- a/scripts/book2html +++ b/scripts/book2html @@ -19,6 +19,13 @@ class Book2Html(Book2Anything): action='store_false', default=True, help='output raw text for use in templates') ] + transform_options = [ + Option('--css', dest='css'), + Option( + '-b', '--base-url', dest='base_url', metavar='URL', + help='specifies the base URL for relative image references' + ), + ] parser_options = [ Option('-i', '--ignore-dublin-core', dest='parse_dublincore', action='store_false', default=True,