Skip to content

Releases: bartp5/libtexprintf

v1.25

19 Jul 21:01
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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

v1.17

31 Jan 13:50
Compare
Choose a tag to compare

This version solves several small issues:

  • An alignment issue with scalable, symmetric brackets
  • support for the {n \choose k} construct
  • libtexprintf now processes things like \sqrt2 correctly (used to throw an error and insist you write \sqrt{2})

v1.16

31 Jan 11:03
Compare
Choose a tag to compare

Added align environments, e.g. libtexprintf now supports stuff like:

\begin{align}
f(x) & = \sin(x) \\
longfunctioname(x) & = \arctan(f(x))
\end{align}

which renders like:
f(x) = sin(x)
longfunctioname(x) = arctan(f(x))

v1.15

28 Jan 10:07
Compare
Choose a tag to compare

New in this release:

  • added several commands and constructs
  • several array parsing bugfixes. Most importantly libtexprintf now supports nested arrays
  • added some testing scripts

Thanks to @larseggert for testing.

v1.14

19 Sep 18:45
Compare
Choose a tag to compare

Changelog:

  • added styles. Currently two styles are available "unicode" and "ASCII". In the ASCII style, fractions, boxes, sqrt signs, etc. are in pure ASCII (note that ASCII style will not affect non ASCII symbols, such as \alpha, in ASCII representations).
  • added the command \emojify to add the 0X0FE0F diacritical mark. For example: \emojify \skull will make the basic skull drawing into a full color one (if your fonts support it)
  • utf2unicode now deals with all non printable ASCII characters
  • some smaller bugs