From a2ba5005c9a7f05a7407ab321374952c18d9e5be Mon Sep 17 00:00:00 2001 From: Apprentice Harper Date: Mon, 18 Apr 2016 16:54:46 +0100 Subject: [PATCH] Another Topaz missing token fix. --- DeDRM_calibre_plugin/DeDRM_plugin/convert2xml.py | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/DeDRM_calibre_plugin/DeDRM_plugin/convert2xml.py b/DeDRM_calibre_plugin/DeDRM_plugin/convert2xml.py index bbb7b04..443dd82 100644 --- a/DeDRM_calibre_plugin/DeDRM_plugin/convert2xml.py +++ b/DeDRM_calibre_plugin/DeDRM_plugin/convert2xml.py @@ -317,11 +317,16 @@ class PageParser(object): 'span.gridBeginCenter' : (1, 'scalar_number', 0, 0), 'span.gridEndCenter' : (1, 'scalar_number', 0, 0), - 'extratokens' : (1, 'snippets', 1, 0), - 'extratokens.class' : (1, 'scalar_text', 0, 0), - 'extratokens.type' : (1, 'scalar_text', 0, 0), - 'extratokens.firstGlyph' : (1, 'scalar_number', 0, 0), - 'extratokens.lastGlyph' : (1, 'scalar_number', 0, 0), + 'extratokens' : (1, 'snippets', 1, 0), + 'extratokens.class' : (1, 'scalar_text', 0, 0), + 'extratokens.type' : (1, 'scalar_text', 0, 0), + 'extratokens.firstGlyph' : (1, 'scalar_number', 0, 0), + 'extratokens.lastGlyph' : (1, 'scalar_number', 0, 0), + 'extratokens.gridSize' : (1, 'scalar_number', 0, 0), + 'extratokens.gridBottomCenter' : (1, 'scalar_number', 0, 0), + 'extratokens.gridTopCenter' : (1, 'scalar_number', 0, 0), + 'extratokens.gridBeginCenter' : (1, 'scalar_number', 0, 0), + 'extratokens.gridEndCenter' : (1, 'scalar_number', 0, 0), 'glyph.h' : (1, 'number', 0, 0), 'glyph.w' : (1, 'number', 0, 0),