Skip to content

Releases: bartp5/libtexprintf

Version 1.30

18 Feb 10:12

Choose a tag to compare

This release adds bindings to Node.js and an npm package libtexprintf.

Version 1.29

01 Feb 13:11

Choose a tag to compare

Changes:

  • \mbox{}
  • fix bufferoverflow in \left \middle \right constructs

Version 1.28

05 Jan 08:39

Choose a tag to compare

Several minor updates and bug fixes:

  • added the dcases environment as a alias for cases
  • corrected mapping of the mathematical script sumbol 'M'
  • added several tests

v1.27

17 Nov 16:46

Choose a tag to compare

Version 1.27

Minor release update.

New Features:

  • added \displaystyle to commands to ignore
  • added \bm{}and \pmb{} commands for bold math symbols

Bug Fixes:

  • Nested brackets bug (two \left commands directly after each other would fail to recognize the second \left command)
  • make sure the m4 directory is present when running autogen.sh

v1.25

19 Jul 21:01

Choose a tag to compare

New in version 1.25

  • support for fixedf size big braces (e.g. \big[)
  • make dummy commands for \mathop, \mathord (i.e. ignore without throwing error)
  • added \relstack

bug fixes

  • some memory issues
  • allow spaces in things like \left [
  • fixed some collisions between symbols and keywords. Keywords take presidence over symbols. For example \\u is now interpreted as an endline followed by a u and not as

v1.24

28 Jun 21:34

Choose a tag to compare

New in version 1.24

  • Redesigned how we handle combining diacritical marks (it was broken, for example: a\tilde b worked and gave ab̃, but a\tilde{b} would give ãb!). This version makes these commands work as expected. Furthermore, it has now better capabilities to combine accents with larger expressions than just one character.
  • Combining diacritical marks are great in theory. Unfortunately, in practice, results are sometimes disappointing as fonts or font engines may fail to render things correctly. For this reason the '-a' option was added to utftex, to can avoid combining diacritical marks (if possible). For example utftex -a '\vec{a}' produces:
→
a

Ps. If you feel adventurous and want to put your font engine and fonts to the test, you can try to stack combining diacritical marks, e.g. \vec{\tilde{a}} gives ã⃗ (if it is rendered OK it should have both...).

v1.23

18 Jun 20:58

Choose a tag to compare

New in version 1.23

  • support more symbols (using the list used in Julia)
  • Allow switching to math mode within a text block using $...$, e.g. \text{for $i<10$ do...}
  • Better handle the \over and \choose operators. These operators are "greedy", which
    previous libtexprintf did not handle. Thus:
    a + b\over c
    gave
      b
  a + ─
      c

instead of the correct

  a + b
  ─────
    c

v1.22

14 Jun 08:44

Choose a tag to compare

Changes Version 1.22
Enhancements:

  • Added Vmatrix environment
  • Added the -e commandline option to utftex:
    the --end-options/-e option ends the commandline option parser such that all subsequent arguments are interpreted as equation input. The reason for this option is that for example utftex '-\frac{1}{x}' fails with "invalid option -- '\\'", i.e. equations cannot start with a minus sign. To fix this do utftex -e '-\frac{1}{x}'.

Bugfixes:

  • various small fixes
  • This version also fixes the issue reported by JannesAlthoff where various valid latex
    constructs failed, things like:
    \frac1\alpha
    \frac {1}{\alpha}

v1.21

03 Jun 12:42

Choose a tag to compare

New features:

  • Unicode sub/superscripts when possible, i.e. utftex 'a^b' now gives aᵇ
  • Support for Unicode primes, i.e., utftex "a' a'' a''' a''''" gives a′ a″ a‴ a⁗
  • prettier summation mark
  • Added \phantom{}, \vphantom{}, and \hphantom{}

Thanks for all suggestions and contributions!

v1.18

24 May 15:32

Choose a tag to compare

libtexprintf had some API additions

  • non-printf texstring
  • texerrors_str

utftex has some minor changes to aid testing libtexprintf

some small bugfixes