Skip to content

Releases: electricbookworks/electric-book

Electric Book template, 23 Dec 2022

23 Dec 14:09
60295a3

Choose a tag to compare

This is a major restructuring of the Electric Book template. It introduces many new features. Notably:

  1. We've removed the /text folder, moving markdown files up into the book folder, alongside the images, styles and fonts folders. This results in shorter URLs (no /text/ path) that are better for readability and SEO. It also provides a more intuitive mental model for editing, because markdown files are the foundation of the book, onto which we add images, styles and fonts.
  2. For PDF output, by default all HTML files are merged into one HTML file. This means you can create shorter web pages (e.g. subsections of chapters), but still avoid page breaks between them in PDF output.
  3. Book metadata (in _data) is now split into book-specific files. We've replaced the meta.yml file with separate metadata files, where each book gets its own file. This makes it much easier to maintain projects with several books.
  4. We've replaced the interactive output scripts with cross-platform Node commands. Processes (like output or image processing) are run with a single command. This makes it possible to automate commands (e.g. from a web- or Electron-based GUIs in future, or for automated testing). See the new README for details.
  5. We've added a command that checks for basic project structure, and a command that adds a new book folder based on an existing book.
  6. Prototyping a new book is much faster, because it's not necessary to create nav and toc nodes in book metadata for web navigation to work. Until you do specify those nodes in book metadata, navigation and TOCs will be automatically built from available files. See the book folder in the template for an example.

We've also made general improvements to HTML structures, epub structure, and the organisation of Sass files for custom theming. The default styling is a little more elegant, while remaining as unopinionated (aka vanilla) as possible, ready for customisation.

We've removed version numbering from the _config.yml file, and won't use semver numbering on releases going forward. Semantic versioning is not that useful for a template (as opposed to an upgradeable software app), and the current master branch here is always the latest version of the template. If we create tagged releases in future, it will be to document major new features, and provide a way to notify those watching this repo.

Electric Book template v0.19.0

22 Feb 11:27
d89376b

Choose a tag to compare

Electric Book template v0.18.0

18 Sep 07:51
a8de716

Choose a tag to compare

Electric Book template v0.17.0

22 Apr 14:45
5553dc3

Choose a tag to compare

Releases of the Electric Book template are largely ceremonial, since our master branch includes all the latest features as they are developed. Since v0.16.0, changes include:

Electric Book template v0.16.0

17 Apr 15:46
9f7bbcf

Choose a tag to compare

Electric Book template v0.15.0

08 May 18:37
2a72d89

Choose a tag to compare

Electric Book template v0.14.0

18 Nov 05:55
5b9a6c9

Choose a tag to compare

Releases of the Electric Book template are largely ceremonial, since our master branch includes all the latest features as they are developed. Since v0.13.0, we've added a few improvements, the most significant being a better, faster way to pre-process maths for PDF output.

Electric Book template v0.13.0

02 Oct 17:26
9155e81

Choose a tag to compare

Releases of the Electric Book template are largely ceremonial, since our master branch includes all the latest features as they are developed. Since v0.12.0, we've added a bunch of improvements. Two major ones are the addition of open annotation with Hypothesis and the ability to create reusable content snippets across books. Another very useful feature is that translation styles now augment, rather than replace, their parent-language styles.

Electric Book template v0.12.0

01 Jul 13:36
84e065f

Choose a tag to compare

Electric Book template v0.11.1

28 Mar 11:26
ea42c50

Choose a tag to compare

Releases of the Electric Book template are largely ceremonial, since our master branch now includes all the latest features. So, in the spirit of ceremony, here is v0.11.1. Since v0.11.0, we've added a host of improvements: