Freebsd Laptop Support

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Saturday, 1 June 2013

Correcting EPUBs exported from Calligra Words using Sigil Part 2

Posted on 06:37 by Unknown
Continued from Correcting EPUBs exported from Calligra Words using Sigil Part 1

Changing the Version package element

Sigil's FlightCrew validator may also provide an error regarding the version attribute: The package element's "version" attribute value needs to be "2.0" but is "1.0". The error itself doesn't prevent your EPUB from being read using EPUB viewers. However, you can easily change the version using Sigil so your book is validated without any errors.




To change version value in Sigil:

  1. In the Book Browser pane, double-click the content.opf file.
  2. Locate the package tag and change the version attribute to 2.0.
  3. Save your ebook and run Sigil's validator to check if the error is still displayed.


Correcting the TOC

Another message Sigil will display when validating an EPUB exported from Calligra Words is element 'NavMap' is not allowed for content model '(navinfo*,navLabel*,navPoint+)'. This is due to an incomplete toc.ncx file. A compliant EPUB file requires a valid TOC file so removing the toc.ncx will actually break the ebook. The best way to resolve this even if you don't need a table of contents for your EPUB is to use Sigil to create at least one entry for the TOC.



To create a single TOC entry:

  1. Using the Book Browser, double-click any .xhtml file under the Text folder.
  2. Select a title, section or main heading from the document.
  3. On the Heading toolbar, select a heading level. If the Heading toolbar is not displayed, click View, then Toolbars. Select Heading. Select text, such as a title and chapter, and click h1 on the toolbar. The text will be formatted using the heading style. If you don't prefer the formatting due to the font size, use any of the lower heading levels.
  4. Click Tools then Table Of Contents. Click Generate Table Of Contents...
  5. In the Generate Table Of Contents window, select the Heading title. Click OK.
  6. Save the EPUB and click the validation button again to check if the toc error is still displayed.
  
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in Techwriter | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

Categories

  • Linux
  • Linux - Mandriva
  • Linux - openSUSE
  • Tech Today
  • Techwriter
  • Travel Logs

Blog Archive

  • ▼  2013 (229)
    • ►  November (19)
    • ►  October (21)
    • ►  September (20)
    • ►  August (23)
    • ►  July (23)
    • ▼  June (21)
      • Using Tellico Citations/BibTex in LyX Part 1
      • Working with WMF in CorelDraw
      • Tails of Tor: Linux Access to the Dark Side of the...
      • Tails of Tor: Linux Access to the Dark Side of the...
      • The Dubious Art of the Username
      • Tails of Tor: Linux Access to the Dark Side Part 1
      • Linux on Film: Dredd (2012)
      • Apps for Hong Kong Part 3
      • Thoughts on "Booth Babes" Part 2
      • Apps for Hong Kong Part 2
      • Thoughts on "Booth Babes" Part 1
      • Apps for Hong Kong Part 1
      • Docbook and EPUB Part 2
      • Docbook and EPUB Part 1
      • Dragonair Airlines - Tech and Impressions
      • Docbook and LyX Part 2
      • Quick Fix: Can't play AC3 audio on a movie
      • Docbook and LyX Part 1
      • Quick Fix: Repair an MP3 file using VLC
      • A Short Chat and a Windows 8 Anecdote
      • Correcting EPUBs exported from Calligra Words usin...
    • ►  May (24)
    • ►  April (22)
    • ►  March (19)
    • ►  February (16)
    • ►  January (21)
  • ►  2012 (261)
    • ►  December (28)
    • ►  November (22)
    • ►  October (28)
    • ►  September (20)
    • ►  August (28)
    • ►  July (23)
    • ►  June (21)
    • ►  May (15)
    • ►  April (26)
    • ►  March (9)
    • ►  February (11)
    • ►  January (30)
  • ►  2011 (10)
    • ►  December (10)
Powered by Blogger.

About Me

Unknown
View my complete profile