Extending an Application with Lua Plugins

Introduction A very common use of the Lua language (which is a very versatile) is using Lua to extend an application via plugins. Many popular games use Lua for this very purpose. Adding a plugin framework to an existing application is trivial with Lua. Also, Lua provides a very capable and easy to use language for writing plugins. To demonstrate using Lua for plugins I’m going to make very basic text editor and allow features to be added via Lua scripts (user installable plugins)....

August 16, 2014 · John

Sigil BookView Changes Preview

The next release of Sigil is shaping up nicely. There is so much going into it that the next release will be 0.6.0. Unfortunately, EPUB 3 will not be one of the features making it into 0.6.0. One major change coming will be a new BookView (BV) editor. Here is an unfinished preview of what it might look like. This is only a concept preview of the new editor. One issue that needs to be resolved is the double tool bar....

March 10, 2012 · John

Sigil Keyboard Shotcuts

Thanks to Grzegorz Wolszczak Sigil now (will be part of the 0.5 release) allows users to change keyboard shortcuts for many actions. Grzegorz has been helping out a lot and helped to introduce a preferences dialog and provided user configurable keyboard shortcuts.

October 1, 2011 · John

Calibre Weeks in Review

It has been a few weeks since I’ve done a calibre week in review. This is partly because I had been working on some new features for the upcoming 0.8 release. I haven’t wanted to talk about it very much until the release gets closer. Kovid said yesterday that he will be reviewing my changes next week. HTMLZ One complaint I hear often is in regard to the inability to edit ebooks....

April 9, 2011 · John

Calibre Week in Review

Once again this is a big week with a lot of little changes. The majority of which were related to TXT input. Format Specifications I was thinking about the fact that for all of the formats I support I use the format specification to know how the reading and writing should happen and how they aren’t part of calibre proper. I have a set of documents that outline what is known about each format I handle....

February 7, 2011 · John

Calibre Week in Review

This is really a two week in review because I didn’t do one last week. The past two weeks I didn’t focus on major changes. I mainly spent my time with little tweaks and closing out bugs. All of these little changes didn’t feel like I accomplished very much but getting them all together it turns out I did quite a bit over the last two weeks. GUI The GUI saw quite a few usability changes....

January 31, 2011 · John

Calibre Week in Review

TXT input got some more work. It now supports the Textile markup language. This can be used in place of Markdown. Textile is also supported by the new auto-detection in TXT input. FB2 output had some more bug fixes. The cover image is now put inside of the coverpage element in the metadata header. This is per the FB2 spec. However, the calibre ebook-viewer does not currently display the cover image that is part of the metadata header....

January 17, 2011 · John

Calibre Week in Review

This week saw some more work on FB2 output. I’ve added support for a few formatting types from the 2.1 spec. Also, a very helpful user submitted a patch for sectionizing. It allows for sectonizing based on the file structure (based on EPUB splitting), no sectonizing and based on TOC. There is one limitation based on TOC sectionization. It only works when the TOC item points to an element within the document....

December 20, 2010 · John

Calibre Week In Reveiw

Most this week was spent turning PML input and output. I spent a bit of work bug tracking and enhancing FB2 output as well. The changes for PML input are as follows. Pass along the included cover as the cover when converting (also applies to eReader PDB). Allow for images to be in top level, archivename_img or images directory for PMLZ. Based on that order it will check for images and if they are not found move onto the next location....

December 5, 2009 · John

Niw Markdown Editor

For the past three weeks I’ve been working on an editor for working with plain text files and making it easy to add markdown syntax to them. My main goal is to make it easier to format the large number of ebooks I have. Almost all of them are plain text files. It’s a python project using PyQt4 and I’m hosting it on Launchpad. here is the project page and you can find some screen shots here....

August 30, 2009 · John