mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
Edit Book: Add a tool to upgrade EPUB 2 books to EPUB 3. Accessed via Tools->Upgrade book internals
This commit is contained in:
parent
7167103401
commit
4a9f5d2a18
@ -482,6 +482,14 @@ attributes. After removing the style information, a summary of all the changes
|
|||||||
made is displayed so you can see exactly what was changed. The tool can be
|
made is displayed so you can see exactly what was changed. The tool can be
|
||||||
accessed via :guilabel:`Tools->Filter style information`.
|
accessed via :guilabel:`Tools->Filter style information`.
|
||||||
|
|
||||||
|
|
||||||
|
Upgrading the book's internals
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
This tool can be used to upgrade the book's internals, if possible. For
|
||||||
|
instance it will upgrade EPUB 2 books to EPUB 3 books. The tool can be
|
||||||
|
accessed via :guilabel:`Upgrade book internals`.
|
||||||
|
|
||||||
.. _checkpoints:
|
.. _checkpoints:
|
||||||
|
|
||||||
Checkpoints
|
Checkpoints
|
||||||
|
@ -424,6 +424,9 @@ class Main(MainWindow):
|
|||||||
self.action_remove_unused_css = treg(
|
self.action_remove_unused_css = treg(
|
||||||
'edit-clear.png', _('Remove &unused CSS rules'), partial(
|
'edit-clear.png', _('Remove &unused CSS rules'), partial(
|
||||||
self.boss.polish, 'remove_unused_css', _('Remove unused CSS rules')), 'remove-unused-css', (), _('Remove unused CSS rules'))
|
self.boss.polish, 'remove_unused_css', _('Remove unused CSS rules')), 'remove-unused-css', (), _('Remove unused CSS rules'))
|
||||||
|
self.action_remove_unused_css = treg(
|
||||||
|
'arrow-up.png', _('&Upgrade book internals'), partial(
|
||||||
|
self.boss.polish, 'upgrade_book', _('Upgrade book internals')), 'upgrade-book', (), _('Upgrade book internals'))
|
||||||
|
|
||||||
# Preview actions
|
# Preview actions
|
||||||
group = _('Preview')
|
group = _('Preview')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user