From 6b13768a07398ad63dae4713636ced44198486d3 Mon Sep 17 00:00:00 2001 From: Rowan Cockett Date: Fri, 17 Jul 2026 07:02:20 -0600 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=90=20Update=20angle=20->=20chevron?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See jupyter-book/mystmd#3007 --- .changeset/angle-to-chevron.md | 5 +++++ src/macros.ts | 8 ++++---- tests/math.yml | 8 +++++++- 3 files changed, 16 insertions(+), 5 deletions(-) create mode 100644 .changeset/angle-to-chevron.md diff --git a/.changeset/angle-to-chevron.md b/.changeset/angle-to-chevron.md new file mode 100644 index 0000000..69b8264 --- /dev/null +++ b/.changeset/angle-to-chevron.md @@ -0,0 +1,5 @@ +--- +"tex-to-typst": patch +--- + +Replace deprecated `angle.l`/`angle.r` output with `chevron.l`/`chevron.r` for `\langle`, `\rangle`, and `\left\langle`/`\right\rangle`. diff --git a/src/macros.ts b/src/macros.ts index a851c75..5ab7527 100644 --- a/src/macros.ts +++ b/src/macros.ts @@ -128,7 +128,7 @@ export const typstMacros: Record