Creating and editing e-books with Sigil
|
Validator Code
One of Sigil's strength is in validating an e-book. The multi-step validation process ensures that a document meets current EPUB standards. Sigil takes both (X)HTML and CSS code into account, as well as the e-book structure and its metadata.
Sigil examines HTML code with Tidy [9] for syntactical errors. This tool is already integrated to quickly identify and resolve errors. Once an error is found, the program reports it in a dialog and identifies its approximate location in the source code (Figure 5).
Even metadata can be incomplete or have errors. Sigil uses the FlightCrew [10] integrated metadata validator to find unused files and the like.
In its reports, Sigil summarizes information from different sources. Through these reports, the program provides details on integrated HTML/CSS files, images, and much more (Figure 6).
Conclusion
Sigil presents itself as an easy-to-use EPUB document editor. Numerous keyboard shortcuts for often-used functions are available, and the different editing modes, from source code to complete WYSIWYG mode, prove useful for text input, editing, and more complicated tasks or troubleshooting.
Additionally, the various built-in validation tools for spelling, syntax, and metadata provide valuable assistance. Many special functions add hyperlinks, among other things, and can help in creating e-books. A useful enhancement for beginners would be a wizard to guide users through the various steps (see the "Building EPUBs" box).
Building EPUBs
Creating an e-book in EPUB format with Sigil takes essentially five steps:
- Load the prepared document (possibly with RTF tags or in HTML format).
- Add author(s) and titles.
- Add a cover.
- Add a table of contents.
- Validate the document.
After creating an e-book, you should ideally test it on different readers – the devil is often in the details.
Overall, the Sigil editor leaves a good impression – too bad it's designed only for e-books.
Infos
- Sigil: code.google.com/p/sigil/
- EPUB format: http://www.hxa.name/articles/content/epub-guide_hxa7241_2007.html
- Calibre: http://calibre-ebook.com/
- Project Gutenberg: http://www.gutenberg.org
- Sigil packages: http://code.google.com/p/sigil/wiki/LinuxDistroPackages
- Sigil PPAs: https://launchpad.net/~rgibert/+archive/ebook
- Writer2epub: http://extensions.openoffice.org/en/node/4615
- Sigil Regular Expressions: http://web.sigil.googlecode.com/git/files/OEBPS/Text/tutorial_regex_reference.html
- Tidy: tidy.sourceforge.net
- FlightCrew: http://code.google.com/p/flightcrew/
« Previous 1 2 3 Next »
Buy this article as PDF
Pages: 4
(incl. VAT)