MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   Sigil (https://www.mobileread.com/forums/forumdisplay.php?f=203)
-   -   Sigil-0.9.7 Released (https://www.mobileread.com/forums/showthread.php?t=279870)

DiapDealer 10-30-2016 11:01 AM

Sigil-0.9.7 Released
 
**NOTE: Windows 7 users need to have Windows 7 SP1 installed to successfully install Sigil v0.9.7**

**Windows Vista users must be on SP2**

For the impatient, the installer files (and source) can be found as attachments at the bottom of the Github Release page.

This Sigil-0.9.7 release is a mix of bug fixes and new features for both epub2 and epub3 users.

Bug Fixes
  • Allow tags in the svg and mathml namespace to automtically self-close if empty to help work around a bug in Kindlegen that will not seem to accept a closing svg image tag even though image is non-void
  • Prevent TextTab from constantly recentering page when focus is lost
  • Fix bugs in plugin basename_to_id when used with xpgt files or any unrecognized extensions
  • Fix typos in pls mimetype in plugins
  • Fix code synchronization issues among 3 places where file extensions are mapped to mimetypes
  • Fix plugin readotherfile interface to rebuild the opf on the fly only if it has been modified
  • Fix plugin validation issues with integer vs string representations of line number and character offsets
  • Fix duplicate filename in multiple directories bug when updating CSS urls
  • Fix bug in page-map.xml mimetype when "Add Existing ..." is used
  • Fix undefined behaviour shifting signed negative values in 3rdparty libs and fix many warnings
  • Fix text vs binary file type recognition in the plugin interface (CSS and js files are text not binary)
  • Fix too small toolbar icons on high dpi displays
  • Fix bug that caused text highlighting to get lost on some systems when doing a CSS Find & Replace.
  • Fix bug in plugin interface basename_to_id to recognize .htm extensions
  • Fix bug in epub3 semantic popups to always refect the local name of epub:type setting
  • Fix bug where creation on an HTML TOC could overwrite an existing Nav under epub3
  • Fix manifest id not starting with alpha character bug

New Features
  • Extend validation plugin interface with add_extended_result() method to allow better cursor positioning
  • Extend TextTab and Tabs derived by it to position cursor based on offset
  • Allow editing of page-map.xml files, xpgt files and other misc xml based files inside Sigil
  • Update Windows builds use Python 3.5.2, VS2015
  • Update Mac OS X builds and build instructions to use Python-3.5.2
  • Remove support for python2.7 only plugins and simply Manage Plugins settings
  • Update to Qt 5.6.1-1 with QtWebKit added back for release builds for Windows (VS2015) and Mac OSX
  • Update Mac OS X and Linux build instruction documentation for recent changes
  • Allow Linux Dictionaries to look up default paths for dictionaries passed in by build cmake settings
  • Make the columns in the Manage Plugins table be sortable by the user
  • Better detect undefined and non-existing url fragments to prevent issues when splitting or merging files
  • Make tooltips for Run Plugin Icons show the name of the selected plugin on hover
  • Upgrade from jquery 1.6.2 to version 2.2.4
  • Upgrade from jquery.scrollTo 1.4.2 to version 2.1.2
  • Upgrade to double sized 48x48 pixel icons for High DPI displays, Special Thanks to PatNY for creating our icons

Be aware that Sigil-0.9.7 still enforces the need for epub3 to have and support an NCX so that it generates as backward a compatible epub as possible. This may be relaxed in future releases.

Sigil-0.9.7 like its predecessors passed all of the following tests for epub3 support: iframe, img, audio, video , mathml, svg (except for svg support in the spine), javascript, and of course recognizing and allowing html5 specific tags like section, and etc. Sigil-0.9.7 also supports javascript based local-storage and display of embedded pdfs.

Download Location
The official location for downloading this Sigil release (and all official releases) is:

https://github.com/Sigil-Ebook/Sigil/releases/tag/0.9.7 (downloads found at the bottom)

The latest version of the Sigil User Guide can be downloaded from: https://github.com/Sigil-Ebook/Sigil...ide_0_7_2.epub

Downloading binaries from anyplace else is simply NOT a good idea as they could inject anything into their own downloads. After downloading, please verify the downloaded binary exactly matches what was originally posted by running an SHA 256 checksum on the file before installing it. See the file Sigil-0.9.7-CHECKSUMS.sha256.txt for the correct checksums for each file and instructions for how to calculate a SHA 256 Checksum for your download. The Mac OS X Package has also been code signed with my Apple Developer signature.

Windows Users
If your current version of Sigil is 0.9.6 or earlier, it's recommended (but not required) that you uninstall that version before installing 0.9.7. Some compiled Python files have had their file extentions changed (as well as the change to Python 3.5). As a result, there will be a lot of extraneous files left lying around if you just install the new over the old. It won't cause any functionality problems, but if disk space is at a premium, you may want to clean things up a bit. You can do this by uninstalling Sigil at any time (even after 0.9.7 is installed) and reinstalling. Doing so won't affect your any of your preferences, plugins, keyboard shortcuts, clips, saved searches, etc.

Linux Users
There are currently no binary releases available for Linux on the Sigil Release page. Please check with your favorite distro's software repositories to see if they have Sigil for installation via your OS's package management system. If not, there are build instructions for compiling Sigil yourself in the source archive's docs directory: https://github.com/Sigil-Ebook/Sigil/tree/master/docs

Don't forget the FlightCrew plugin
Please note, the epub2 validator FlightCrew has been converted to a plugin for Sigil 0.8.900 and later.
This plugin has been updated for Sigil-0.9.3 (and later). It can be downloaded from the official Sigil-Ebook flightcrew repository if you have not already installed it.

https://github.com/Sigil-Ebook/fligh...ases/tag/0.9.1

Attention Mac OS X Users
Per the recommendation of www.python.org (see https://www.python.org/download/mac/tcltk/), due to bugs and the age of Apple's internal Tcl library, you should also download and install ActiveState's ActiveTcl Community Edition. To get the latest bug fixes, Sigil-0.9.7's embedded Python has been linked with the very latest version: Tcl 8.6.4.1

We may not redistribute this Package with Sigil due to ActiveState's binary non-redistribution policy.

So please, if you have not already done so download and install this version of ActiveState's Active Tcl Community Edition, until we get a chance to do our own build of Tcl 8.6.4.1 from source for future releases. ActiveState is a primary contributor to www.python.org and a respected and trusted source for python and tcl/tk related binaries on both Windows and Mac OS X.

See: http://www.activestate.com/activetcl/downloads
Version: 8.6.4.1

Some Additional things

When you fire up Sigil for the very first time:
  • navigate to the new General Preferences and select the default
    epub version you plan to work with (epub 2 or epub3) so that new
    empty ebooks start with the correct code.
  • if you plan to work with epub3 epubs, you should change your
    PreserveEntities setting to use ONLY NUMERIC entities.
    For example use   for non-breaking spaces and etc.
  • We strongly recommend enabling Mend On Open in your settings
    for best performance with Sigil

Capricorn 10-30-2016 01:50 PM

This is very, very nice indeed....A BIG THANK YOU for all the hard work.

Confucio 10-30-2016 03:33 PM

2 Attachment(s)
Windows user here and just updated from 0.9.6. I've noticed that the cover images from my ebooks are not shown. Never happened on the previous version. This is what I get:

Doitsu 10-30-2016 03:48 PM

Quote:

Originally Posted by Confucio (Post 3419496)
Windows user here and just updated from 0.9.6. I've noticed that the cover images from my ebooks are not shown. Never happened on the previous version. This is what I get:

I can't reproduce this issue on my machine (64 bit Windows 10.) Did you check the epub with FlightCrew and/or EpubCheck?

If so post the cover page HTML code.

DiapDealer 10-30-2016 03:51 PM

Quote:

Originally Posted by Confucio (Post 3419496)
Windows user here and just updated from 0.9.6. I've noticed that the cover images from my ebooks are not shown. Never happened on the previous version. This is what I get:

We'd definitely need more info. I'm not experiencing anything similar on multiple Windows systems (and versions). All my epubs' covers display fine (in both Book View and Preview).

None of the changes in 0.9.7 should have anything to do image rendering that I know of.

theducks 10-30-2016 04:29 PM

Just happened to me. W10 x64
Cure: Reboot your PC. It might be due to the C++ library being updated

Confucio 10-30-2016 04:43 PM

I've rebooted but Sigil still isn't displaying my covers on any of my books. :chinscratch:

Here's the epub cover code for the epub I posted above:

Code:

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <meta name="calibre:cover" content="true"/>
        <title>Cover</title>
        <style type="text/css" title="override_css">
            @page {padding: 0pt; margin:0pt}
            body { text-align: center; padding:0pt; margin: 0pt; }
        </style>
    </head>
    <body>
        <div>
            <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="100%" height="100%" viewBox="0 0 479 751" preserveAspectRatio="none">
                <image width="479" height="751" xlink:href="../Images/cover.jpeg"/>
            </svg>
        </div>
</body>
</html>

EDIT: Just downgraded to 0.9.6 and the covers display fine again. Updated again with 0.9.7 and no covers. Really weird.

DiapDealer 10-30-2016 05:22 PM

Well that sucks.

theducks 10-30-2016 05:24 PM

something is hinky with the Image display. (and why does it sometimes work)
Even clicking on cover.jpeg in the (sigil) file browser, failed to render

DiapDealer 10-30-2016 05:45 PM

To those having the trouble: did you remove 0.9.6 before installing 0.9.7, or did you install the new right over the old?

No need to remove preferences, plugins and the like, just try a normal uninstall and then reinstall 0.9.7.

theducks 10-30-2016 06:15 PM

Quote:

Originally Posted by DiapDealer (Post 3419538)
To those having the trouble: did you remove 0.9.6 before installing 0.9.7, or did you install the new right over the old?

No need to remove preferences, plugins and the like, just try a normal uninstall and then reinstall 0.9.7.

I had done a Overlay install
I just removed 0.9.6 and installed 0.9.7

No images will (standalone) display (double click on the jpg, jpeg filename)

Confucio 10-30-2016 06:19 PM

Quote:

Originally Posted by DiapDealer (Post 3419538)
To those having the trouble: did you remove 0.9.6 before installing 0.9.7, or did you install the new right over the old?

No need to remove preferences, plugins and the like, just try a normal uninstall and then reinstall 0.9.7.

I installed the new right over the old but after the image rendering problems I tried to remove and install again but the problem continues.

DiapDealer 10-30-2016 06:42 PM

Pretty sure I figured it out. Those who have the problem are opening epubs using the calibre "Open With" plugin, right? I see the same thing when I open epubs that way.

There's been an on-again/off-again issue with that plugin and Windows Environments/C-runtimes. Try opening an epub without using that plugin and see how it works (click the "Path" link in calibre and open the epub through the file browser).

Once we get that verified, we'll see what can be done about the calibre plugin.

Confucio 10-30-2016 06:53 PM

Yes, I was using the Open With plugin from Calibre. I did as you said and, sure enough, the cover images were rendered. I guess you nailed it DiapDealer. :thumbsup:

theducks 10-30-2016 07:12 PM

Yes! Open With (PI) all times except the second, where I had rebooted and opened the same file from Sigil History :o


All times are GMT -4. The time now is 10:13 PM.

Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.