View Single Post
Old 03-07-2017, 07:04 AM   #19
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,738
Karma: 24031403
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by ibu View Post
1 When I've started the plugin, the function "Edit > Undo" is not available.
Plugin changes aren't saved in the Undo buffer. What I meant is that you could load a book delete/add a tag and run epubcheck afterwards without having to save the book in between changes.

For example, you could create a new epub3 book, add a single <p> tag after the first paragraph

Code:
<p>&#160;</p><p>
and run epubcheck, which will display the following error:
'
Code:
FATAL(RSC-016): Fatal Error while parsing file 'The element type "p" must be terminated by the matching end-tag "</p>".'.
If you then remove the single <p> tag and re-run epubcheck the error message will go away, even though you did't save the book.

Quote:
Originally Posted by ibu View Post
2 How can I delete the file toc.ncx in Sigil permanently please?
You can't delete toc.ncx via the GUI, because Sigil tries to generate epub2 compatible epub3 books; you'll have to unzip the epub and remove toc.ncx and the corresponding .opf file entry and zip it up again.
(You might want to use the ePub Zip/Unzip AppleScript application for Mac OS X.)

Quote:
Originally Posted by ibu View Post
3 How can I remove
<meta name="Sigil version" content="0.9.7" />
You'll have to unzip the epub and manually delete it.

Quote:
Originally Posted by ibu View Post
3 How can I remove
<meta property="dcterms:modified">2017-03-07T12:14:04Z</meta>
permanently?
This entry is required for all valid epub3 books and shouldn't be removed.
Quote:
Originally Posted by ibu View Post
5 The code above validates almost.
See previous answer.

Quote:
Originally Posted by ibu View Post
4 Can I place the files in the main level or is it impossible in Sigil to delete the directories "Text", "Images" and "Styles"?
Sigil will automatically move all files to folders based on their mime types. AFAIK, Calibre Editor will maintain the original folder structure, but it only has minimal epub3 support.
Doitsu is offline   Reply With Quote