Compare commits

..

No commits in common. "9a1fda087c83f01d72053a2e184296a451fbfd52" and "9a6973fb899330028a4cfe148823089588536551" have entirely different histories.

5 changed files with 15 additions and 12 deletions

View File

@ -52,13 +52,16 @@ Circuiteria is a [Typst](https://typst.app) package for drawing block circuit di
*Click on the example image to jump to the code.*
## Usage
For more information, see the [manual](manual.pdf)
For information, see the [manual](manual.pdf)
To use this package, simply import [circuiteria](https://typst.app/universe/package/circuiteria) and call the `circuit` function:
To use this package, simply import [src/lib.typ](src/lib.typ) and call the `circuit` function:
```typ
#import "@preview/circuiteria:0.1.0"
#circuiteria.circuit({
import circuiteria: *
#import "src/lib.typ"
#lib.circuit({
import lib: *
...
})
```
```
## Installing
> TODO

Binary file not shown.

View File

@ -52,13 +52,13 @@
h: none,
name: none,
name-anchor: "center",
ports: (:),
ports-margins: (:),
ports: (),
ports-margins: (),
fill: none,
stroke: black + 1pt,
id: "",
auto-ports: true,
ports-y: (:),
ports-y: (),
debug: (
ports: false
)

View File

@ -1,4 +1,4 @@
#let version = version(0, 1, 0)
#let version = version((0,0,3))
#import "circuit.typ": circuit
#import "element.typ"

View File

@ -1,6 +1,6 @@
[package]
name = "circuiteria"
version = "0.1.0"
version = "0.0.3"
compiler = "0.11.0"
repository = "https://git.kb28.ch/HEL/circuiteria"
entrypoint = "src/lib.typ"
@ -11,4 +11,4 @@ categories = [ "visualization" ]
license = "Apache-2.0"
description = "Drawing block circuits with Typst made easy, using CeTZ"
keywords = [ "circuit", "block", "draw" ]
exclude = [ "gallery", "gallery.bash", "doc" ]
exclude = [ "/gallery/*" ]