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/doc/example.typ b/doc/example.typ index a0be3b1..b45fabd 100644 --- a/doc/example.typ +++ b/doc/example.typ @@ -1,5 +1,5 @@ #import "/src/lib.typ" -#import "@preview/cetz:0.2.2" +#import "@preview/cetz:0.3.1" // String that gets prefixed to every example code // for compilation only! diff --git a/gallery/venn2.png b/gallery/venn2.png index 169d367..7eac428 100644 Binary files a/gallery/venn2.png and b/gallery/venn2.png differ diff --git a/gallery/venn2.typ b/gallery/venn2.typ index 1ff4efd..ff71f1b 100644 --- a/gallery/venn2.typ +++ b/gallery/venn2.typ @@ -1,6 +1,6 @@ #set page(width: auto, height: auto, margin: .5cm) -#import "@preview/cetz:0.2.2" -#import "@preview/cetz-venn:0.1.1": venn2 +#import "@preview/cetz:0.3.1" +#import "@preview/cetz-venn:0.1.2": venn2 #cetz.canvas({ import cetz.draw: * diff --git a/gallery/venn3.png b/gallery/venn3.png index e5ea667..6ed58da 100644 Binary files a/gallery/venn3.png and b/gallery/venn3.png differ diff --git a/gallery/venn3.typ b/gallery/venn3.typ index 9040b11..afff570 100644 --- a/gallery/venn3.typ +++ b/gallery/venn3.typ @@ -1,6 +1,6 @@ #set page(width: auto, height: auto, margin: .5cm) -#import "@preview/cetz:0.2.2" -#import "@preview/cetz-venn:0.1.1": venn3 +#import "@preview/cetz:0.3.1" +#import "@preview/cetz-venn:0.1.2": venn3 #cetz.canvas({ import cetz.draw: * diff --git a/manual.pdf b/manual.pdf index 4680184..0ab11fd 100644 Binary files a/manual.pdf and b/manual.pdf differ 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 diff --git a/typst.toml b/typst.toml index 171bae1..470b5d3 100644 --- a/typst.toml +++ b/typst.toml @@ -1,6 +1,6 @@ [package] name = "cetz-venn" -version = "0.1.1" +version = "0.1.2" repository = "https://github.com/johannes-wolf/cetz-venn" entrypoint = "src/lib.typ" authors = [