Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

0.12.5 (2022-04-18)

Features

Bug Fixes

  • build: Catch and complete unfinished library builds (91ff438)
  • build: Use BSD compatible scripting in make selfcheck (319e0c5)
  • build: Use POSIX compatible shell syntax in configure (55e64ab)
  • deps: Correct include to work with current LuaRocks packages (#1357) (b584be5)
  • languages: French punctuation spacing must honor current font options (724daf4)
  • packages: Better TOC title extraction for PDF bookmark (#1029) (5a65701)
  • packages: The dotfill must stretch as an hfill (#1343) (c94a4b5)

0.12.4 (2022-03-03)

Bug Fixes

  • docker: Fix GHCR → Docker Hub copy used when releasing (e5d83d0)
  • packages: Avoid infinite loop when re-enabling BiDi (b4d691b)

0.12.3 (2022-03-02)

Bug Fixes

  • frames: Inherit class direction setting in new frames (35c8a25)
  • packages: Make boxaround respect shrink/strech (rules package) (9d8f708)
  • packages: Make underline respect shrink/strech (rules package) (a5d99f0)
  • typesetter: Enable bidi for default typesetter on package load (6a8d7f4)

0.12.2 (2022-01-28)

Bug Fixes

  • shaper: Fix line length calcs with negative width word spacing (685d12d), closes #579

0.12.1 (2022-01-12)

Features

  • build: Accommodate SOURCE_DATE_EPOCH for reproducible builds (16c81a8)
  • classes: Add \noop function for versatile SILE.call() use (2b04507)
  • core: Add OpenType post (v1) table parser (a985aed)
  • core: Implement Knuth's hangAfter and hangIndent (5417189)
  • core: Implement paragraph duration hanging indent settings (18ee23b)
  • core: Implement paragraph shaping (parshape) (c2c0235)
  • packages: Add dropcaps package (cb9105a)
  • packages: Add shift, raise, and size options to dropcaps (0a88948)
  • packages: Implement color option for dropcaps (d042bcf)
  • packages: Use font's post table to determine underline position (ae1b929)

Bug Fixes

  • backends: Move Lua 5.1 macro so covers whole file (9b40772)
  • classes: Reset state when calling running headers (ec0a7b8)
  • classes: Unnumbered book sections shall not display a number in running headers (4afde42)
  • Fixes name of accented math symbol, eliminates duplicate newStandardHspace assignment (4c38f1a), closes #1274
  • languages: Correct hyphenation after apostrophe in French and Catalan (4c93891)
  • languages: Correct synchronisation between indexes in French word breaking (94ca931)
  • languages: Repair broken French hyphenation patterns (c25d9d7)
  • packages: Add \pdf:metadata support for dates (1b87305)
  • packages: Apply OpenType x and y offsets to color fonts (d66dc5f), closes #1147
  • packages: Correct rebox to not output duplicate content (2802d9b)
  • packages: Don't over-isolate functions run in Pandoc imports (#1254) (84507a5)
  • utilities: Fix UTF-16 encode/decode utility functions (7180081), closes #1280
  • utilities: Set language of roman numerals to Latin to avoid casing issues (#1253) (95c4e2c)

0.12.0 (2021-09-22)

BREAKING CHANGES

  • packages: Previous to this release footnote and folio frames took their font settings from a new typesetter with default settings. With this release the settings are now derived from the typesetter in the default frame, hence inheriting font family, size, leading, and other settings. Values can still be set using the same functions, but relative values such as font sizes are based on a different base.

Features

  • core: Add MATH variants table parser (b6c554e)
  • core: Add OpenType MATH table parser (835da21)
  • math: Add ‘debug’ option to math command (58cc9dc)
  • math: Add “big operator” support (5b9a150)
  • math: Add fixes to support less complete fonts (1c22af3)
  • math: Add italic correction to superscript; correct subscript size (d81fdee)
  • math: Add math.font.filename setting (522d70b)
  • math: Add math.font.size setting (5077d1c)
  • math: Add operator defaults (14bdf1a)
  • math: Add parameter to draw debug boxes around math components (2458d18)
  • math: Add parameters and support mathvariant param for mi tag (869dca8)
  • math: Add plain text support (3a09e9d)
  • math: Add subscript and superscript; add math constants (0489c04)
  • math: Add support for “symbol macros”, expanding to strings (27658f5)
  • math: Add support for fractions (6f4fc24)
  • math: Add tags for some mathematical symbols (b9fd771)
  • math: Add tex-like math parser (edceaf7)
  • math: Allow vertical stacking of top-level ‘mrow’s (56b553c)
  • math: Center display math neatly (8951378)
  • math: Implement and use munder and mover (61eac7a)
  • math: Implement generic bbox shaper (9c86aff)
  • math: Output error if rending with non-math font (c79617b)
  • math: Replace leading - with in numbers (f8d490c)
  • math: Support double-struck identifiers (29674bf)
  • math: Support for simple macros (5b4ecf7)
  • math: Support italic (c9b2884)
  • math: Support more integral-like operators (90a6c44)
  • math: Support of UTF-8 in texmath, support of mo, mi and mn in-grammar (959d1cc)
  • math: Turn "-" (hyphen) into "−" (minus) in math (fbed523)
  • packages: Add border style and color to hyperlinks (bb880be)
  • packages: Add function to remove last added fallback font (acf987b)
  • packages: Add linking support to toc entries (e589cb9)
  • packages: Add toc depth option and hooks for showing section numbers (c48fcde)
  • packages: Allow URLs to have many breakpoints (#1233) (b145605)
  • packages: Warn if toc contents have changed (5b6eed8)
  • tooling: Enable use as a Nix flake (8b503bb)

Bug Fixes

  • classes: Don't increment counters on unnumbered book sections (6cfca4d)
  • core: Correct --help output to reflect required values (da487ec)
  • languages: Add test 704 for French punctuations, fix expected 621 and 702 results (8e9b056)
  • languages: Correct Armenian support to use ISO 639 code ‘hy’ (ffafbe6)
  • languages: Correct punctuation rules for French (95c2398)
  • languages: Don't initialize Japanese unless actually called for (3aba931)
  • languages: Shortcut ICU soft breaks in French (ed8734c)
  • math: Fix underover error with sub wider than base but no sup (bc87393)
  • packages: Don't replace shaper unless actually initializing color-fonts package (269ca59)
  • packages: Fix deprecation warning command in package docs (a69d774)
  • packages: Reset footnote and folio settings top level state (3795a4e)
  • shaper: Fix memory leak in Harfbuzz library (#1243) (035dcc8)

0.11.1 (2021-09-03)

Bug Fixes

  • build: Avoid implied line continuation in makefile (f2af48f)
  • build: Require Git even building tarballs, used by package manager (aba8662)
  • languages: Update deprecated syntax in language options (3fb1719)

0.11.0 (2021-09-01)

BREAKING CHANGES

  • packages: Previous to this release any and all leading between paragraphs (as set with document.parskip) –even a 0 height skip– would result in the skip of one full empty grid space — as if parskip had been set to something approximating a full line height. This change corrects the calculation so if a 0 height skip is added and everything fits, the next line or paragraph will continue uninterrupted in the next grid slot. To get the previous layout behavior back, document.parskip must be explicitly set to be something larger than 0. Even a minimal 1pt skip will result in paragraph spacing that includes one full grid height left blank as before:

    \set[parameter=document.parskip,value=1lh]

  • utilities: Previous return value for breadcrumbs:contains() was just an depth index with -1 indicating no match. This made sense when I wrote it, but coming back to it for a new project I expected a boolean return value. Returning two values seems like the best option, but given the function naming it seemed to make sense to return the boolean first, hence the API breakage.

Features

  • actions: Use tagged images for faster CI job spin up (6a00388)
  • build: Add configure flag --disable-dependency-checks (5caf413)
  • docker: Build, tag, and push images to GHCR (3988339)
  • measurements: Add ‘hm’ (himetric) unit (f4b6b62)
  • measurements: Add ‘twip’ unit (cf9d5a7)
  • packages: Map unnumbered class to legacy opts in Pandoc package (#1167) (2868da2)

Bug Fixes

  • core: Avoid crash on warn by using correct function (b403ad9)
  • packages: Avoid crash on warn by using correct function (5d05be1)
  • packages: Avoid unnecessary skips to next grid space (6424369)
  • packages: Correctly handle color fonts on TTB pages (9b35d6a), closes #1171

Code Refactoring

  • utilities: Change breadcrumbs:contains() to return <bool, index> (a987394)

0.10.15 (2021-03-02)

Features

  • fonts: Allow for code to be run when a font is first loaded (bdf05ab)
  • packages: Add \font-feature command (e2cf008)
  • packages: Add complex-spaces package (#1148) (b7451ae)

Bug Fixes

  • cli: Re-enable access to repl, input argument not required (a6434ee)
  • core: Allow builtin Lua bitwise operators on Lua 5.4 (5f0c2c7)
  • docker: Switch to BuildKit and make Docker Hub cooperate (783b104)
  • docker: Use patched glibc to work around outdated hosts (fa2532c)
  • docker: Use patched glibc to work around outdated hosts (#1141) (bf74417)
  • docker: Work around libtexpdf build having side effects (33510d9)
  • packages: Add CharacterVariant to features (929eca2)
  • utilities: Correct UTF-8/UTF-16 conversions (4863ed6)

Reverts

  • Revert "chore(build): Remove obsolete macOS workarounds" (f5cf7c0)

0.10.14 (2021-02-03)

Features

  • core: Make luautf8 library available in global scope (ab7e745)

Bug Fixes

  • build: Run autoupdate to fix autoconf issues (ab8307b)
  • core: Decode UTF-16BE strings in Windows platform name entries (e7662f8)
  • debug: Use UTF8 safe substring function in trace stack (495a5bf)
  • manual: Small error (d738b62)

0.10.13 (2020-11-30)

Features

  • classes: Allow footnotes in plain class if package loaded (42c1ceb)
  • classes: Run deferred package init() on late load (0224fe3)

Bug Fixes

  • backends: Add complex shaping data to debug backend (a1a6509)
  • backends: Don't crash if debug output precedes regular (19c21f2)
  • build: Don't abuse libtool internals (for NetBSD packaging) (#1084) (048c8b5)
  • classes: Define \strong weight=700, not 600 (#1097) (68abf91)
  • packages: Add default options to simpletable (1f10c97)
  • packages: Correct math operations on grid spacing (5286188)
  • packages: Turn off complex flag for items in \latin-in-tate (b20690f)

0.10.12 (2020-10-10)

Bug Fixes

0.10.11 (2020-09-25)

Features

  • actions: Add configuration file to run as GitHub Action (ee2d509)
  • backends: Modify setCursor() to handle relative movements (7caa9c8)
  • classes: Make it possible to not use parent class framesets (99b9f50)
  • cli: Add Lua interpreter info to --version (bf5210d)

Bug Fixes

  • backends: Properly switch between normal and debug fonts (b53896e)
  • classes: Identify triglot class as triglot not diglot (495654a)
  • classes: Make declareFrames() workable by passing ids (27b6b4a)
  • classes: Move class setup code into deferred class:init() (6f470d7)
  • core: Patch Penlight 1.9.0 compatibility issue (1eb4290)
  • packages: Allow Hanmen frame creation to use optional ID arg (7853d5a)
  • packages: Fix hole drawing from svg in PDF (6521fd0)
  • packages: Remove extra space in \code in url (b90cd37), closes #1056
  • tooling: Expand variables so fonts are known dependencies of tests (88ac888)

Performance Improvements

  • backends: Reuse variables instead of recalculating values (02cce40)

0.10.10 (2020-08-14)

Features

  • build: Detect and use luajit first (601dfc4)
  • build: Detect LuaJIT if explicitly configured to want it (c3e8089)
  • classes: Add warning to \noindent if called after input (f29b9d9)
  • packages: Allow scaling SVGs by width or height (44588b5)
  • settings: Add a way to reset single setting to defaults (f318cdf)
  • settings: Bring Lua settings.set to parity with \set (d73b08c)

Bug Fixes

  • classes: Reset parindent's inside \center command (7b62f74)
  • core: Always compare like-types so LuaJIT can run (c608090)
  • core: Don't read zero-length name table entries (bcd9a9e), closes #1015
  • examples: Properly center title in showoff document (55717fb)
  • frames: Discard content (usually whitespace) inside \pagetemplate (3b7085b)
  • frames: Draw frame debug lines exactly on frame lines (db92edc)
  • languages: Stop Japanese resetting global chapter post macro (836f199)
  • packages: Align pullquote ending mark with outside margin (8b808db)
  • packages: Draw rules in the writing direction (18bca68)
  • packages: Error if asked to add bogus dependencies (59e2b56)
  • packages: Fix indentation of second paragraph in pullquotes (a8525e5)
  • packages: List \include files in makedeps (bf670ab)
  • packages: Orient rules for all 8 directions (bc4a33a)
  • packages: Place PDF bookmarks at top of current line (ce30d83)
  • utilities: Use deterministic sort for sorted pairs (99e2b59)

0.10.9 (2020-07-24)

Features

  • build: Install manual to $(pdfdir) if configure --with-manual (ee33ff7)
  • core: Allow adding --debug flag multiple times (9ac2838)

Bug Fixes

  • build: Correct typo in dependencies for building docs (ad548a5)
  • build: Ship blank lua_modules install list in source packages (7939970)
  • build: Touch Makefile.in to avoid automake errors (e7f4627)
  • build: Work around src/libtexpdf subdirs using side-effects (26d6769)
  • core: Iterate on sequential data with ipairs() or SU.sortedpairs() (9db0a28)
  • debug: Fix math in hbox debugging (6c0029d)
  • packages: Combine unichar output with existing unshaped node (712bc92)
  • packages: Use sortedpairs to avoid non-determinism (a28ef06)
  • utilities: Add sorted pairs function (5aad397)

0.10.8 (2020-07-18)

Features

  • build: Output hints about how to compile from repo snapshots (596cd9f)

Bug Fixes

  • build: Avoid possible race condition on first bulid (b937c95)
  • build: Use BSD compatible find syntax (c96683e)
  • build: Use BSD compatible touch syntax (25eb6fd)
  • docker: Make sure Lua modules installation works on the first pass (f0c3e26)

Performance Improvements

  • build: Save a ./configure cycle by bootstraping the version (2997d05)

Reverts

  • Revert "chore(build): Save a double-configure on first download/build" (ef56de4)

0.10.7 (2020-07-16)

Bug Fixes

  • build: Merge Github Actions release step with build (b2d77ab)

0.10.6 (2020-07-16)

Features

  • build: Add --with-install-examples option to configure & make (245e8a6)
  • build: Add --with-install-manual option to configure & make (3415b3a)
  • inputs: Allow (escaped) quote mark in quoted command options (2e9d1b5)

Bug Fixes

  • build: Always distribute Lua_modules even if build uses system (e75ece7)
  • build: Correct typo in test dependencies causing no font downloads (ad49a85)
  • build: Correct typo in test dependencies causing no font downloads (09a653a)
  • build: Explicitly filter packaging *.lua and *.sil to avoid cruft (a89773d)
  • build: Fix conflations between Lua source types (163959f)
  • build: Handle any combo of --with-manual and --with-examples flags (145a86e)
  • build: Mark make busted as PHONY so it always runs (23b81ac)
  • build: Move dynamically generated file lists out of automake (f626867)
  • classes: Use Hack as default monospace font (0e61067)
  • core: Handle empty content in macros using \process (2dc6d66)
  • frames: Reset font to Gentium to output frame IDs (102dd09), closes #915
  • inputs: Disallow 'begin' and 'end' as environment names (b13b99a)
  • inputs: Only allow reserved characters as 1-char commands (2a4c095)
  • packages: Assure PDF initialization first-output can be rotated (0613ab1)
  • packages: Cast measurements to numbers before use in PDF functions (5f2d2e3)
  • packages: Fix measurement-to-number issue in SVG (168dffc)
  • packages: Improve multi-paragraph pullquotes (7d3f355), closes #865
  • packages: Ruby class should not affect document language (#926) (8034aa1)
  • packages: Tate should not affect document language (#932) (193fded)
  • tooling: Allow make dist on systems without native lua packages (5758085)

Reverts

  • Revert "ci(travis): Bump Luarocks install to 3.3.1" (97fb476)

0.10.5 (2020-07-03)

Features

  • build: Add make check fast self-check target, fixes #835 (89cefef)
  • shaper: Add tracking setting and implement for harfbuzz (9e1dec7)

Bug Fixes

  • build: Check for luarocks if not configured --with-system-luarocks (e8770ce)
  • core: Account for possibilty that there are no working fallbacks (391f44e)
  • core: Gracefully do nothing when SILE.process() passed nothing (1085049)
  • core: Revamp macro system to fix #535 (47a0af8)
  • frames: Avoid possible infinite loop when looking for a frame (157dfc8)
  • frames: Rely on __tostring() meta method, toString() is no more (77b8956)
  • nodes: Fix calling non-existent nodefactory function (#864) (9580a15)
  • packages: Center dotfill in the event only one dot fits (95181d2)
  • packages: Don't let dotfill content be stretchy (079ff97)

0.10.4 (2020-04-21)

Bug Fixes

  • build: Fix version detection in sparse git checkouts (#803) (#818) (dcd0023)
  • core: Return correct length from icu.bidi_runs with surrogate pairs (000515f), closes #839
  • docker: Work around fresh GNU coreutils bombing Docker Hub (#851) (ed49fbb)
  • languages: Localize TOC title functions (#849) (1ab4345)
  • packages: Update PDF package to use correct measurement types (79e24ca)
  • packages: Update Tate package to use correct measurement types (180024f)
  • tooling: Add missing lua-cosmo dependency for Markdown class (#822) (ea81598)
  • typesetter: Make typesetter.breakwidth a measurement (721280d)

0.10.3 (2020-02-04)

Bug Fixes

  • tooling: Make sure Lua modules get included in source tarball (ef5bb53)
  • tooling: Unblock standard-version release number bumping (7b18cd5), closes #816

0.10.2 (2020-02-03)

Bug Fixes

  • build: Don't include build *.so modules in dist (4eb2a73)
  • build: Fix version detection in sparse git checkouts (#803) (e46091f)
  • build: Include modules for all supported Lua versions in dist (a4e9f03)
  • build: Look for Lua 5.3 executables with the version in their name (3952bf8)

0.10.1 (2020-01-24)

Bug Fixes

  • backends: Implement cursor tracking to roughly simulate glues (26afcec)
  • core: Actually deprecate old nodefactory instantiators (774f0fc)
  • measurements: Actually deprecate old constructors (bfdb1b8)
  • nodes: Fix pushHbox() regression, recognize zerohoxes (#789) (dae51f1)

New Features

  • backends: Aproximate space and break in text output to PDF (9577ae4)
  • docker: Add dockerfile and setup to build an image (4424d44)
  • docker: Add method to inject fonts into Docker container (104124a)

0.10.0 (2020-01-13)

BREAKING CHANGES

  • This removes the auto-guessing file extension mechanism that allowed *.sil files to be loaded without specifying the full file name with extensions. A command like sile test will no longer find and build sile.sil, you must run sile test.sil. The mechanism that was doing this was a hack than only worked in some scenarios anyway, and dropping it instead of trying to cover all the edge cases will make it that much easier to use and document. Importantly it avoids edge cases where both *.xml, *.sil, and/or *.lua files all have the same name and the loader really has so idea which one you mean.

Note that packages may still be loaded with no file extension, this does not affect the require() mechanism that looks for *.lua and various other incantations by default.

Bug Fixes

  • build: Bludgeon autoconftools to respect our will (b256cb9)

  • build: Correct Makefile syntax oopses (a831a4f)

  • build: Deautoconfiscate, undoing race condition setup by ee1834a (f09bb08)

  • build: Don't let autoconf warn when hack run too early (56a0714)

  • build: Use POSIX compatable shell arguments (#712) (c0542ca)

  • build: Use version detection that works w/out git (f94e9d8)

  • classes: Don't try to load layout modules until init() (b58c861)

  • core: Add Lua 5.1 compatibility hack to makedeps code (067d410)

  • core: Close makedeps before final output so timestamp is earlier (f1b5df5)

  • core: Correct Lua bloopers using standard syntax (af7d101)

  • core: Don't bother require() by mucking around in custom resolver (e0e2548)

  • core: Don't dump debug information to stdout (4e96548)

  • core: Don't instantiate objects in class definitions (4cdb663)

  • core: Don't let units deal in length objects more than necessary (6dff532)

  • core: Fix bugs in path handling (d16af88)

  • core: Guess original parent of split frames post page break (#765) (791c054)

  • core: Hack problem with side effects in vglues (7c908c9)

  • core: Let require() do the work of finding files (e82c0e9)

  • core: Restructure Lua path order to only prefix default (3f2c553)

  • core: Show correct declaration file for doTexlike \defines (f96ef83)

  • core: Smash bug in frameparser, handle whitespace consistently (1e07e1c)

  • core: Uncover and fix side effect using new math operators (09a2860)

  • core: Use local variable scope (142caad)

  • counters: Restore variable passing to refactored counter code (18d5b00)

  • debug: Correct usage of SILE debug functions (3889f35)

  • debug: Correctly check location before printing "after" part (a527ea8)

  • debug: Handle case where content is function (97ae8d4)

  • debug: Output debug messages on STDERR (c2e4ad5)

  • debug: Properly place stack push/pop so nested includes work (8d0318f)

  • languages: Calmly note Lua comments are not hyphenation patterns (e826063)

  • languages: Catch a bug in Turkish number expressions (003a93b)

  • languages: Fix bogus Lua syntax in Finish hyphenation code (dd44c51)

  • languages: Fix bogus Lua syntax in Greek hyphenation code (21ac9e7)

  • languages: Fix punctuation in French by escaping character set (a8c8dd1)

  • languages: Fixes and tests for letterspacing (c8edfd1)

  • languages: Make sure hyphenator doesn't ever think language is nil (81d33d3)

  • languages: Place Danish hyphenation rules under Danish code (#629) (e05976c)

  • package: Fix boustrophedon bugs unearthed writing documentation (a382b93)

  • package: Replace obsolete Linux Libertine with Libertinus Serif (8f3b9c4)

  • packages: Fix typos and bad namespacing (922cddf)

  • packages: Refactor grid with new measurements (c9a862a)

  • packages: Unbreak marks, 0 ≠ o as in previous refactor (5c4c671)

  • repl: Enable UTF-8 input by default (e203d4d)

  • repl: Use Luarocks to get linenoise REPL plugin (e6155c3)

  • shaper: Prevent rare crash when font is specified by filename (235f931), closes #604

  • shaper: Use non-reserved word in REPL function variable (73f631b)

  • tests: Drop expected files that are clearly not what we expect yet (e7c547a)

  • tests: Ignore LuaRocks when reporting on coverage (3619a8c)

  • tests: Mimic SILE's internal Lua path in Busted test runs (9e67e7d)

  • tests: Patch up Lua Busted testing framework (527ca4e)

  • tests: Rename source file based on content type (3886ceb)

  • tooling: Allow tests to run from xml or sil sources (5e6ab5c)

  • tooling: Bundle rockspec file in source tarballs (cc6fb85)

  • tooling: Configure luarocks on Mac (assume homebrew installed libs) (ba1d4d0)

  • tooling: Fix lists of expected vs. actual files (10506ed)

  • tooling: Fix Lua coverage tests (ea6351c)

  • tooling: Have make make sure LuaRocks are actually current (680d145)

  • tooling: Help autoconf tools find luajit (da957dd)

  • tooling: Remove bogus test expectation file (4f79fe1)

  • tooling: Update Cassowary dependency to work on newer Penlight (8b79ce9)

  • tooling: Work around bugs in standard-version (96aa81c)

  • travis: Don't die if links exist as happens when caches restored (d47a12a)

  • typesetter: Always handle margins as glues, never as nulls (90d0550)

  • typesetter: Don't loose original node dimensions during pagebuild (8c38979)

  • typesetter: Fix height of insertions as used in pagebuilder (1ec6102)

  • Add missing local to content variables in inputs-common (8f8d4f0)

  • refactor!(core): Use Lua's built in resolver instead of our monkey work (f89bae4)

Optimizations

  • core: Add in-place arithmetic methods to lengths and measures (caf2298)
  • core: Devise faster node type checking (a322d07)
  • core: Disable debug mode in lua.stdlib (6457a69)
  • core: Don't waste time instantiating unused intermediaries (6f3dba1)
  • core: Improve node shape caching (deea10f)
  • core: Reduce length instantiations during break checks (b24da47)
  • core: Speed up comparisons with fewer instantiations (7f47354)
  • core: Use faster operations when appending nodes (9d28568)
  • core: Use in-place arithmetic methods where sensible (2f87641)
  • utilities: Allow passing lambda functions to SU.debug (c8610df)

New Features

  • backends: Add dummy output backend for dry runs (ffd9ce3)
  • classes: Add option to disable toc entry for book section (#613) (2eedfa9)
  • core: Add CLI flag to force a specific font manager (ebd8bb0)
  • core: Add command stack system for better error output (edafe1e)
  • core: Add directory of master file as preeminent search path (9f0aff4)
  • core: Generalize determining if tag is a passthrough one or not (f98471a)
  • core: Track all files used and output make dependencies (73e5e2d)
  • languages: Add English N'th number format (227ff1a)
  • languages: Add string and ordinal outputs to formatCounter() (178218d)
  • languages: Add Turkish N'th number format (16ea29f)
  • languages: Add Turkish number-to-string functions (aad9ed9)
  • packages: Add Pandoc helper package for converted documents (96090a5)
  • packages: Allow stretch and shrink heights on insertion vboxes (adfd8de)
  • settings: Allow settings to have boolean values (07a3aba)
  • tooling: Setup make rules for comparing worktrees (b8ff48a)
  • utilities: Add English number to string formatter (82aada2)
  • utilities: Add type casting option to SU.required() (56c6506)

0.9.5.1 (2019-01-13)

No code changes, but the previous release was broken due to extraneous files in the tarball. Oh, the embarrassment.

0.9.5 (2019-01-07)

  • Experimental package manager.

  • The "smart" bare percent unit (where SILE guessed whether you meant height or width) has now moved from deprecated to error. Replace with %pw etc.

  • Language support: variable spaces in Amharic (and other languages if enabled with the shaper.variablespaces setting), improvements to Japanese Ruby processing, Uyghur hyphenation revisited and improved, Armenian hyphenation added.

  • You can now set the stretch and shrink values of a space using the shaper.spaceenlargementfactor, shaper.spaceshrinkfactor and shaper.spacestretchfactor settings.

  • You can use - as input filename to pipe in from standard input, and - as output filename to pipe generated PDF to standard output.

  • New letter class.

  • New commands: \neverindent and \cr

  • New units: ps (parskip) and bs (baselineskip)

  • Links generated via the url package are hyperlinked in the PDF.

  • You can now style folios (page numbers) by overriding the \foliostyle macro.

  • Languages may define their own counting functions by providing a counter function; you may also lean on ICU's number formatting to format numbers.

  • ICU is now required for correct Unicode processing.

  • Experimental support for SVG graphics and fonts. (see tests/simplesvg.sil)

  • Users may select the Harfbuzz subshaping system used (coretext, graphite, fallback etc.) by setting the harfbuzz.subshapers setting.

  • Fix typos in documentation (Thanks to Sean Leather, David Rowe).

Most other changes in this release are internal and non-user-visible, including:

  • Introduced vertical kern nodes.

  • Various fixes to pushback (end of page) logic, bidi implementation. ICU is now used for bidi.

  • Updated various examples to work with current internals.

  • Many and varied internal fixes and speedups, and improved coding style.

0.9.4 (2016-08-31)

Nearly 600 changes, including:

  • New packages include: letter spacing, multiple line spacing methods, Japanese Ruby, font specimen generator, crop marks, font fallback, set PDF background color.

  • Fixed handling of font weight and style.

  • Hyphenation: Correct hyphenation of Indic scripts, words with non-alphabetic characters in them, and allow setting hyphen character and defining hyphenation exceptions.

  • Relative dimensions ("1.2em") are converted to absolute dimensions at point of use, not point of declaration. So you can set linespacing to 1.2em, change font size, and it'll still work.

  • Default paper size to A4.

  • Changes to semantics of percent-of-page and percent-of-frame length specifications. (width=50% etc.)

  • Much improved handling of footnotes, especially in multicolumn layouts.

  • Support for: the libthai line breaking library, color fonts, querying the system font library on OS X, multiple Amharic justification conventions.

  • Added explicit kern nodes.

  • Changed to using Harfbuzz for the text processing pipeline; much faster, and much more accurate text shaping.

  • Rewritten and more accurate bidirectional handling.

  • Removed dependency on FreeType; use Harfbuzz for font metrics.

  • Fixed the definition of an em. (It's not the width of a letter "m".)

and much more besides.

0.9.3 (2015-10-09)

  • Support for typesetting Japanese according to the JIS X 4051 standard, both horizontally and vertically.

  • Unicode line-breaking support; scripts now line-break correctly even if they don't have specific language support. Optionally uses the ICU library if installed.

  • Font designers rejoice: you can now say \font[filename=...] to use uninstalled fonts.

  • Pango/Cairo support is now officially deprecated. Stop using it!

  • Improvements to USX Bible processing.

  • Experimental support for Structured PDF generation.

  • Support for Opentype kerning.

  • Support for custom frame direction (e.g. "TTB-LTR" for Mongolian).

  • Support for many-way parallel texts across pages or spreads.

  • Line breaking support for Myanmar, Javanese and Uyghur.

  • Support for boustrophedon Greek. No, really.

  • Various fixes to bidirectionality, discretionary hyphens, insertions, footnotes, grid typesetting, alignment.

  • Under-the-hood advancements for Harfbuzz.

0.9.2 (2015-06-02)

  • New packages for: rotated content, accessing OpenType features and ligatures, alternative input of Unicode characters, PDF bookmarks and links, input transformation.

  • Packages to help with typesetting chord sheets and bibles.

  • Experimental packages for bibliography management, typesetting URLs, Japanese vertical typesetting, balanced columns, and best-fit page breaking.

  • Support for quoted strings in the parameters to TeX-like commands.

  • Language support: Many fixes to Arabic; support for Tibetan and Kannada; hyphenation for many languages; much improved bidirectional typesetting.

  • Warn when frames are overfull.

  • Support for older versions of autotools, for Lua 5.3 and mingw32 environments.

  • Continuous integration and testing framework

  • Fixes to long-standing bugs in grid support, centering, ligatures, insertions and page breaking.

  • Better font handling and substitution.

  • Valid PDFs will still be generated on error/interruption.

  • Improved error handling and error messages.

  • Many miscellaneous bug fixes.

0.9.1 (2014-10-30)

  • The main change in this release is a new shaper based on Harfbuzz and a new PDF creation engine. This has greatly improved the output quality on Linux, as well as bringing support for multilingual typesetting and allowing future support of interesting PDF features. (It's also much faster.)

  • The new PDF library also allows images to be embedded in many different formats, rather than just PNG.

  • Documents can now be written in right-to-left languages such as Hebrew or Arabic, and it's possible to mix left-to-right and right-to-left text arbitrarily. (Using the Unicode Bidirectional Algorithm.)

  • Initial support for languages such as Japanese which have different word/line breaking rules.

  • Frames can be grouped into a set called a "master", and masters can be used to set the frame layout of a given page.

  • Hopefully a much easier installation process, by bundling some of the required Lua modules and using the standard autoconf ./configure; make strategy.

  • Support for Lua 5.2.

0.9.0 (2014-08-29)