diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 81ddaee..a50acc2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,7 +36,7 @@ jobs: - uses: yusancky/setup-typst@v2 id: setup-typst with: - version: 'v0.11.0' + version: 'v0.12.0' - run: | just install @local just install @preview diff --git a/README.md b/README.md index 69bedc9..11f43c1 100644 --- a/README.md +++ b/README.md @@ -24,13 +24,13 @@ A [CeTZ](https://github.com/cetz-package/cetz) library for drawing simple two- o ## Usage -This package requires CeTZ version >= 0.2.2! +This package requires CeTZ version >= 0.3.1! For information, see the [manual (stable)](https://github.com/cetz-package/cetz-venn/blob/stable/manual.pdf?raw=true). To use this package, simply add the following code to your document: ``` -#import "@preview/cetz:0.2.2" +#import "@preview/cetz:0.3.1" #import "@preview/cetz-venn:0.1.1" #cetz.canvas({ diff --git a/manual.typ b/manual.typ index 73a473c..d659765 100644 --- a/manual.typ +++ b/manual.typ @@ -35,7 +35,7 @@ CeTZ Venn is a tiny package for drawing two- and three-set Venn diagrams using Typst and CeTZ. -*CeTZ version $>=$ 0.2.2 is required!* +*CeTZ version $>=$ 0.3.1 is required!* = Examples diff --git a/src/lib.typ b/src/lib.typ index bd1b35d..4a8dfbc 100644 --- a/src/lib.typ +++ b/src/lib.typ @@ -1,2 +1,2 @@ -#let version = version(0,1,1) +#let version = version(0,1,2) #import "/src/venn.typ": venn2, venn3 diff --git a/src/venn.typ b/src/venn.typ index 6b0d2ba..f74d0fb 100644 --- a/src/venn.typ +++ b/src/venn.typ @@ -1,4 +1,4 @@ -#import "@preview/cetz:0.2.2" +#import "@preview/cetz:0.3.1" #let default-style = ( stroke: auto, diff --git a/tests/helper.typ b/tests/helper.typ index a2cf5e0..11d5d45 100644 --- a/tests/helper.typ +++ b/tests/helper.typ @@ -1,4 +1,4 @@ -#import "@preview/cetz:0.2.2" +#import "@preview/cetz:0.3.1" #import "/src/lib.typ" as venn /// Test case canvas surrounded by a red border diff --git a/tests/venn2/ref/1.png b/tests/venn2/ref/1.png index dc55675..133126f 100644 Binary files a/tests/venn2/ref/1.png and b/tests/venn2/ref/1.png differ diff --git a/tests/venn3/ref/1.png b/tests/venn3/ref/1.png index b0eefdc..4bbd8ae 100644 Binary files a/tests/venn3/ref/1.png and b/tests/venn3/ref/1.png differ