From 37dce1f7c9d612eaf2be503321d914ef720fe548 Mon Sep 17 00:00:00 2001 From: LordBaryhobal Date: Sun, 23 Feb 2025 13:26:28 +0100 Subject: [PATCH] updated to CeTZ 0.3.2 and Typst 0.13.0 --- README.md | 2 +- docs/examples.typ | 1 - src/lib.typ | 2 +- src/renderer.typ | 2 +- typst.toml | 2 +- 5 files changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 6ef5327..64cc5d1 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ For more information, see the [manual](manual.pdf) To use this package, simply import `schema` from [rivet](https://typst.app/universe/package/rivet) and call `schema.load` to parse a schema description. Then use `schema.render` to render it, et voilĂ  ! ```typ -#import "@preview/rivet:0.1.0": schema +#import "@preview/rivet:0.2.0": schema #let doc = schema.load("path/to/schema.yaml") #schema.render(doc) ``` \ No newline at end of file diff --git a/docs/examples.typ b/docs/examples.typ index 335e2a1..5e1c362 100644 --- a/docs/examples.typ +++ b/docs/examples.typ @@ -1,4 +1,3 @@ -#import "@preview/cetz:0.3.1": draw #import "../src/lib.typ": schema #import "../src/util.typ" diff --git a/src/lib.typ b/src/lib.typ index 4576f8b..6d7aa1d 100644 --- a/src/lib.typ +++ b/src/lib.typ @@ -1,4 +1,4 @@ -#let version = version(0,1,0) +#let version = version(0,2,0) #import "config.typ" #import "schema.typ" \ No newline at end of file diff --git a/src/renderer.typ b/src/renderer.typ index a5d67db..94f4b0e 100644 --- a/src/renderer.typ +++ b/src/renderer.typ @@ -1,4 +1,4 @@ -#import "@preview/cetz:0.3.1": canvas, draw +#import "@preview/cetz:0.3.2": canvas, draw #import "range.typ" as rng #import "structure.typ" diff --git a/typst.toml b/typst.toml index 91b4141..d949c29 100644 --- a/typst.toml +++ b/typst.toml @@ -1,7 +1,7 @@ [package] name = "rivet" version = "0.2.0" -compiler = "0.12.0" +compiler = "0.13.0" repository = "https://git.kb28.ch/HEL/rivet-typst" entrypoint = "src/lib.typ" authors = [