2 # -*- coding: utf-8 -*-
4 # This file is part of Librarian, licensed under GNU Affero GPLv3 or later.
5 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
7 from __future__ import unicode_literals
9 from librarian.book2anything import Book2Anything, Option
12 class Book2Html(Book2Anything):
18 Option('-r', '--raw', dest='full-page',
19 action='store_false', default=True,
20 help='output raw text for use in templates')
23 Option('--css', dest='css'),
25 '-b', '--base-url', dest='base_url', metavar='URL',
26 help='specifies the base URL for relative image references'
30 Option('-i', '--ignore-dublin-core', dest='parse_dublincore',
31 action='store_false', default=True,
32 help='don\'t try to parse dublin core metadata')
36 if __name__ == '__main__':