Version v0.14.10 of SILE has been released and is available for download!
See the included CHANGELOG.md or review the commit history for more explicit details.
Summary of Improvements
Not all releases bring groundbreaking changes.
This one is a roll-up of bits and bops.
A few small quality of live improvements, some localizations, some bug fixes, some conveniences for 3rd party package developers, and so forth.
Enjoy.
Notes about the Future
If you're looking for messy fun, check out the riir branch and PR#1762.
As the name suggests, this is a major project overhaul based in Rust.
Have no fear!
Everything is still fully customizable in Lua.
We have no plans of taking away that flexibility.
The current proof of concept is a CLI binary is Rust that provides it's own Lua interpreter (optionally linked to the system one or completely vendored).
This normalizes the environment, allows targeting environments where Lua is hard to get running, allows parts of the system to be selectively coded in Rust for speed benefits, etc.
The PoC already passes 100% of the existing tests, loads 3rd party packages as usual, and is a full drop in replacement for the current Lua based CLI.
As of this writing the plan is to land this new CLI in v0.15.0, potentially enabling easy(er) installation on Windows in follow up releases.
If you are a 3rd party developer, by sure to keep an eye on your Lua support.
SILE already supports Lua versions 5.1.x through 5.4.x and well as LuaJIT.
The same range of support is already achievable at build time in the Rust CLI.
The LuaJIT provides the usual massive improvement in speed.
We plan to push for this to be the default option in distro packages in the future even on platforms where the default Lua interpreter is 5.4.
Making sure your packages run under the existing LuaJIT support should future proof them to easily transition to the Rust based SILE builds.
Features
- cli: Allow more than one input document (d20cbd8)
- i18n: Add localized strings for Cantonese and Chinese (cb67d36)
- packages: Add document class styling in autodoc (e70fa50)
- packages: Provide API for registering raw handlers linked to packages (45cd3ac)
Bug Fixes
-
build: Avoid build artifacts being listed for installation (29c2ccd)
-
core: Avoid stack overflow in Harfbuzz module (#1793) (5001efe)
-
outputters: Setup --makedeps to play along without explicit --output (6ff2e16)
-
packages: Converters package no longer worked after 0.13.0 (433795c)
-
packages: Correct chord line height and chord font use (65961c6), closes #1351
Version v0.14.9 of SILE has been released and is available for download!
See the included CHANGELOG.md or review the commit history for more explicit details.
Summary of Improvements
Today we have a substantial rollup of small fixes.
No one thing here is going to knock your socks off, but lots of things are just better.
On the documentation front a new contributor, John Labovitz, stepped in with a huge copy-edit of the entire manual.
For shiny new features, Didier Willis added a new scalebox
package for reshaping other output.
He also taught some existing packages new tricks, such as adding style hooks to the url
package and allowing the infinitely stretchy fill glue nodes to be initialized with a starting length.
The CLI gained a new --quiet
flag to suppress info and warning messages for those times when you just don't want to know what the engine is telling you.
In bug extermination news, the list of squashed ones is long, and some of them had been around for a long time.
Didier did a lot of work under the hood with hboxes and discretionary node handling.
The upshot for end users is that a lot of weirdness with parindent
settings and they way content that didn't fit on one page is pushed to the next has been smoothed over.
Your indents shouldn't ever get applied twice, underlines won't apply to the indentation space, unnumbered chapters won't sometimes disappear from your ToC, and so forth.
Features
- classes: Add Picas unit to cover all units speced in Docbook (88f03fa)
- classes: Implement the
\code
command in the plain class (0d371ba)
- cli: Add -q / --quiet flag to reduce output to essential errors (#1759) (f69ed20)
- core: Support initializing fill glues with a width (#1765) (5bc372a)
- packages: Introduce urlstyle hook in the url package (8f6235d)
- packages: New scalebox package for arbitrary box re-scaling (a11f61e)
- packages: Support migrating content in re-wrapped hboxes (da3ab6d)
- typesetters: Implement hbox building logic in the typesetter (0f5bc69)
Bug Fixes
-
build: Distribute SVG and FTL source files in packages (7cef0ea)
-
classes: Avoid justification issues with relative parindent (3ffd272)
-
classes: Make sure un-numbered chapters make it in the ToC (e5af292)
-
classes: Parse bare number and percentage units in docbook images (8b965b9)
-
classes: Setting current.hangIndent is a measurement (e213d6e)
-
cli: Return success if --help explicitly requested (#1737) (35a229d)
-
core,typesetter: Discretionary nodes are incorrectly handled (dd7d05c)
-
core: Ensure restoring settings top-level state does not error (fce8447)
-
outputters: Update Cairo/Podofo hbox debug API to match libtexpdf (#1703) (607dcf7)
-
packages: Correct image aspect preservation logic (6ace5b1)
-
packages: Fix output of debug breaks in infonode package (#1725) (c8a1467)
-
packages: Make sure pullquotes start in block mode (#1774) (00151bc)
-
packages: Strip content position in ToC entries (#1739) (23345ea)
-
packages: Text conversion in bookmarks has spacing issues (7ef2bb4)
-
typesetter: Account for discretionary dimensions in hbox building (91cb950)
-
typesetter: Avoid initializing new line during hbox creation (ae455a1)
-
typesetter: New typesetter instances shall not reset settings (16d8a6a)
-
typesetter: Skip lines containing only discardables without ignoring next lines (9c3dc65)
-
typesetter: Top glues shall be skipped when streching/shrinking a page (8818a24)
-
typsetter: Hack around scoping issues for parindent setting (fc85298)
-
utilities: Enforce stricter type casts (SU.cast, SU.boolean) (a325eb7)
Version v0.14.8 of SILE has been released and is available for download!
See the included CHANGELOG.md or review the commit history for more explicit details.
Summary of Improvements
If you have extra cake in storage just waiting for something worth celebrating, this might be a good release to bust it out for.
Khaled Hosny has contributed a major new feature: support for variable fonts!
This contribution was supported by a bounty grant from the MFEK Foundation.
Many thanks to both Khaled and Fredrick Brennan for making this possible.
Enabling this significant step forward requires the font instancing support introduced in HarfBuzz 6 (part of the harfbuzz-subset
library).
This is a new default minimum requirement for SILE.
At the time of writing this is relatively new, although many platforms already have updates available.
It is possible to build against older HarfBuzz versions by using the configuration option --disable-font-variations
.
When built this way SILE will continue to run on platforms with old HarfBuzz releases but will throw an error if you attempt to render a document using variable font features.
Features
- build: Pass build time configuration into Lua environment (c5d8789)
- core: Add variations support to font command (a37e7bc)
- shapers: Instanciate variable fonts (d50881f)
- shapers: Support named instances with FontConfig (29119b9)
- shapers: Support named instances with macfonts (39a3242)
Bug Fixes
-
build: Package license file for vendored lunamark fork (#1686) (13df3c1)
-
classes: Coerce option values to booleans (#1696) (8368cb4)
-
packages: Absolutize parskip heights on use (1ac793f)
-
packages: Pass style & weight values to the math font loader (c92712f)
-
packages: Quote option values in documentation when necessary (41e47bb)
-
tooling: Use luaEnv
properly (#1679) (a34e1c1)