Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

treewide: Bump version to 0.3.3 #820

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# 0.3.3
- Circle supports two-point construction, using the distance as radius
- Require Typst 0.13.0, port test cases over to Tytanic
- Add note about contents `auto-scale` feature
- Various performance improvements
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ For information, see the [online manual](https://cetz-package.github.io/docs).

To use this package, simply add the following code to your document:
```
#import "@preview/cetz:0.3.2"
#import "@preview/cetz:0.3.3"

#cetz.canvas({
import cetz.draw: *
Expand All @@ -85,7 +85,7 @@ just install
The installed version can be imported by prefixing the package name with `@local`.

```typ
#import "@local/cetz:0.3.2"
#import "@local/cetz:0.3.3"

#cetz.canvas({
import cetz.draw: *
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ sidebar_position: 1
This is the minimal starting point in a `.typ` file:

```typ
#import "@preview/cetz:0.3.2"
#import "@preview/cetz:0.3.3"
#cetz.canvas({
import cetz.draw: *
...
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/karl.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ In CeTZ, to draw a picture, two imports and a function call is all you need. Kar

```typ
#set page(width: auto, height: auto)
#import "@preview/cetz:0.3.2"
#import "@preview/cetz:0.3.3"

We are working on
#cetz.canvas({
Expand Down
Binary file modified gallery/karls-picture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion gallery/karls-picture.typ
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#import "@preview/cetz:0.3.2"
#import "@preview/cetz:0.3.3"
#set page(width: auto, height: auto, margin: .5cm)

#show math.equation: block.with(fill: white, inset: 1pt)
Expand Down
Binary file modified gallery/paciolis.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion gallery/paciolis.typ
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Example by @samuelireson
#import "@preview/cetz:0.3.2": canvas, draw, tree
#import "@preview/cetz:0.3.3": canvas, draw, tree

#set page(width: auto, height: auto, margin: .5cm)

Expand Down
Binary file modified gallery/periodic-table.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion gallery/periodic-table.typ
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copied from https://github.com/janosh/tikz/blob/da1b4582/assets/periodic-table/periodic-table.typ

#import "@preview/cetz:0.3.2": canvas, draw
#import "@preview/cetz:0.3.3": canvas, draw

#set page(width: auto, height: auto, margin: 15pt)

Expand Down
Binary file modified gallery/plate-capacitor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion gallery/plate-capacitor.typ
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copied from https://github.com/janosh/tikz/blob/87754ea/assets/plate-capacitor/plate-capacitor.typ

#import "@preview/cetz:0.3.2": canvas, draw
#import "@preview/cetz:0.3.3": canvas, draw
#import draw: line, rect, content, bezier, group, anchor

#set page(width: auto, height: auto, margin: 5pt)
Expand Down
2 changes: 1 addition & 1 deletion gallery/tree.typ
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#import "@preview/cetz:0.3.2": canvas, draw, tree
#import "@preview/cetz:0.3.3": canvas, draw, tree

#set page(width: auto, height: auto, margin: .5cm)

Expand Down
Binary file modified gallery/waves.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion gallery/waves.typ
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#import "@preview/cetz:0.3.2": canvas, draw, vector, matrix
#import "@preview/cetz:0.3.3": canvas, draw, vector, matrix

#set page(width: auto, height: auto, margin: .5cm)

Expand Down
2 changes: 1 addition & 1 deletion src/version.typ
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#let version = version(0,3,2)
#let version = version(0,3,3)
2 changes: 1 addition & 1 deletion typst.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cetz"
version = "0.3.2"
version = "0.3.3"
compiler = "0.13.0"
repository = "https://github.com/cetz-package/cetz"
homepage = "https://cetz-package.github.io/"
Expand Down