Freebsd Laptop Support

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

Friday, 31 May 2013

Correcting EPUBs exported from Calligra Words using Sigil Part 1

Posted on 05:41 by Unknown
Category: Techwriter

Calligra Words exports directly to EPUB and does a good job of retaining text formatting. As a distraction-free word processor, it's a good alternative to applications like LibreOffice Writer. However, the resulting EPUB isn't perfect, particularly when it comes to retaining links, table of contents and images. Using popular ebook editor, Sigil, writers can easily correct image issues and fix EPUB issues.

EPUB images not displayed

Once an .ODT is exported to EPUB in Calligra Words, one of the first issues that users may notice with the resulting EPUB is the lack of images. Calligra Words packages the images on the .ODT document with the EPUB but doesn't define the location of the image properly. This can easily be corrected by correcting the src address for the images using any text or markup editor. Obviously, most writers probably wouldn't want to have to extract the EPUB contents just to correct a line or two of code. This is where Sigil comes in - Sigil lets you edit an EPUB's contents without having to extract the individual XHTML files.



Calligra Word's EPUB on Okular - image issues

Users familiar with Sigil can click the Validate EPUB with FlightCrew and use the Validation Results pane to correct the EPUB issues.

To use Sigil to correct image position and display:

  1. Click File then Open and navigate to the EPUB exported from Calligra Words.
  2. Select the .xhtml file with the problematic images on the Book Browser on the left pane. Expand the Images folder on the Book Browser to check if all the images you had inserted in the original document are listed. They are named using a generic naming convention (image1, image2, and so forth). Double-click the image directly from the Book Browser to preview the image within Sigil.
  3. Click View then Code View to display the markup.
  4. Calligra Words actually moved all the images to the top of document in the sample screenshot. Cut and paste the text with the div tags containing the images and move them to the correct location in the document.
  5. Edit the src attribute by correcting the path and filename. Use the Book Browser and the image filenames as a guide. For example, if the src attribute has the text "chapterimage1.png", the correct attribute should be "../Images/image1.png" which points to the Images folder where the file is named image1.png.




  6. Correct all the src attributes and position the images correctly on your document. Use Sigil's Preview View if needed. Save your EPUB. You may need to reload the EPUB file in Sigil to preview your markup changes.
  7. Click the Validate EPUB with FlightCrew to check if all image errors have been resolved. Test your EPUB using an EPUB viewer such as Okular or Mozilla Firefox's EPUBReader plugin.
  8. Although your image will now be displayed when viewing the EPUB, Sigil may warn you about image name conflicts.



9. To correct this error, double click the content.opf file in the Book Browser pane.
10. Locate the manifest tag and correct the image id names and the href attribute. Make sure that none of them have the same image name.
11. Save your EPUB.



Correcting EPUBs exported from Calligra Words using Sigil Part 2: Correcting TOC and Version Element
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

  • Drawing a Rounded Triangle in CorelDraw
    Category: Tech Writer If you need to draw a safety icon such as those found in user manuals or any icon which requires a rounde...
  • Linux on Film: The Amazing Spider-Man (2012) Part 1
    Ok, for dedicated fans of the latest Spider-Man movie (me included), Sony made use of this brilliant flick to advertise their Sony ...
  • Tech Flashback: The Lethal Weapon series 1987 - 1998 Part 3
    Category: Tech Today Continued from Tech Flashback: The Lethal Weapon series 1987 - 1998 Part 2 In this series of articles, we continue our ...
  • CorelDRAW X5: Adding Barcodes and QR Codes to Business cards Part 2
    QR Codes and QR Code Services Due to the popularity of QR Apps that can be installed on smartphones and iOS devices, QR codes are also becom...
  • Linux on Film: Antitrust (2001)
    *All screencaps from Antitrust (2001 ) Long-time Linux users are familiar with Antitrust (2001), which was strongly adverti...
  • CorelDraw Basics: Exporting to SVG for HTML5 web pages
    Category: Techwriter There are advantages to using SVG over the more popular PNG or JPEG when working with technical ...
  • Sony RAW (.ARW) support on openSUSE KDE
    Category: Linux Some advanced digital cameras and ILCs supports the RAW format, which many serious photographers prefer over JP...
  • Knoppix LiveUSB Basics: Bluetooth and Blueman Part 1
    Although Bluetooth has never been as reliable as a wired or RF connection, adding Bluetooth to an old machine is a simple way ...
  • Linux on Film: The Amazing Spider-Man (2012) Part 2
    Piezoelectric technology and microcontroller From a plot perspective, Peter probably made use of existing equipment like th...
  • Microsoft Product Placement in Arrow Season One Part 1
    Note: Unsolicited But Offered normally features Linux on film but in celebration of the ongoing season 2 of Arrow (w...

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)
    • ▼  May (24)
      • Correcting EPUBs exported from Calligra Words usin...
      • Calligra Words and EPUB Part 2
      • Calligra Words and EPUB Part 1
      • InDesign basics: Adding XML tags using Find/Change
      • Linux (or Unix) on Film: Pretty Little Liars Seaso...
      • App Review: WD TV Live Remote
      • Quickfix: "Segmentation Fault (11)" for KDE Applic...
      • A few words on Mageia 3 KDE
      • Practical Shortcut keys and Configuring Paging in KDE
      • Before Mageia 3: Mageia 2 in Perspective Redux
      • Hate, Racism, the Internet, and Harrison Ford
      • Access an iOS device using Fedora and openSUSE Part 2
      • Access an iOS device using Fedora and openSUSE Part 1
      • The Apple iOS ecosystem from a Linux user's perspe...
      • Yum Extender on Fedora 18 Xfce
      • Adventures with PC-BSD 9.1 LXDE Part 2: End Game
      • Extracting Vector Objects from a PDF using CorelDraw
      • Practical Tech Stuff for the Expatriate
      • Imaging Software: Lenovo OneKey and Clonezilla
      • Setting up an Access point with a China Telecom mo...
      • Adventures with PC-BSD 9.1 LXDE Part 1
      • openSUSE KDE basics: Launch Applications on Startup
      • Quickfix: Cannot open InDesign file on a Mac or Er...
      • The Digital Man: Sherlock (2010) Part 2
    • ►  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