Skip to content

Releases: qwinsi/tex2typst

v0.5.5

28 Dec 19:35

Choose a tag to compare

  • support \left< and \right>
  • support \bmod, \pmod

v0.5.4

28 Dec 16:26

Choose a tag to compare

  • add support for commands defined in the bracket package (\bra, \ket, \braket, \set, \Bra, \Ket, \Braket, \Set) #24

v0.5.3

28 Dec 15:32

Choose a tag to compare

  • fix: LaTeX \cdot() should be converted to Typst dot.op () because dot.op() fails to compile in Typst #44
    Similar logic is applied to arrow ()

v0.5.2

24 Dec 16:28

Choose a tag to compare

  • support LaTeX math \operatorname* (\operatorname*{XXX} -> op("XXX", limits: #true)) #31
  • LaTeX \partial will be translated to partial instead of deprecated diff.

v0.5.1

01 Dec 11:40

Choose a tag to compare

  • add rule: ~ -> space.nobreak #39
  • add rule: \> -> med #41
  • fix: error on parsing prime signs (e.g. \frac{g}{g'_c}) #40

v0.5.0

29 Nov 08:20

Choose a tag to compare

  • fully follow symbol changes in Typst 0.14
    e.g. \langle <-> chevron.l #28
  • better \displaystyle handling #36
  • bug fix: \frac{(a)(b)}{c} should be translated to ((a)(b))/c, not (a)(b)/c #37

v0.4.1

12 Nov 05:42

Choose a tag to compare

\not\in <-> in.not #27

v0.4.0

06 Nov 14:12

Choose a tag to compare

  • add Typst2TexOptions for typst2tex()

See tex2typst/docs/api-reference.md

  • fix \displaystyle <-> display() bug #26

v0.3.29

06 Nov 07:13

Choose a tag to compare

  • support TeX lparen, \rparen, \lbrace, \rbrace #25
    e.g. \left\lparen \frac{1}{3} \right\rparen <-> lr(paren.l 1/3 paren.r)

  • support TeX \displaylines, \mathinner #23
    They are just ignored by the tex2typst() converter

  • support TeX \mathrel, \mathbin, \mathop #23

    \mathrel{X} <-> class("relation", X)

    \mathbin{X} <-> class("binary", X)

    \mathop{X} <-> class("large", X)

v0.3.27

03 Nov 12:17

Choose a tag to compare

  • fix: \frac{1}{3} (x + y) should convert to 1/3 (x + y), not 1/3(x + y) .
  • add rule: \set{a, b, c} -> {a, b, c} #22