30 lines
1.0 KiB
Markdown
30 lines
1.0 KiB
Markdown
# Hackerspace Wrocław typst package
|
|
|
|
## Using with Docker/Podman
|
|
|
|
Docker image lives in HSWro's Forgejo instance here: https://git.hswro.org/fleg/-/packages/container/typst/latest
|
|
|
|
Pull it from there:
|
|
|
|
```
|
|
$ podman pull git.hswro.org/fleg/typst:latest
|
|
```
|
|
|
|
Example command line to build the `demo.typ` in current directory:
|
|
|
|
```
|
|
$ podman run --rm -v "$(pwd):/data" --user $(id -u):$(id -g) --userns keep-id typst typst compile demo.typ
|
|
```
|
|
|
|
## Installation
|
|
|
|
Clone this repository into your Typst packages directory, but call the checked out repository `hswro`. For example:
|
|
|
|
- On Linux: `~/.local/share/typst/packages`
|
|
- On MacOS: `~/Library/Application Support/typst/packages`
|
|
- On Windows: `%APPDATA%/typst/packages`
|
|
|
|
The directory may not exist, you may need to create it first. More info in [the Typst package repository](https://github.com/typst/packages#local-packages). If you're not sure which directory to use, run `typsy info` to see which directory is in use in your system.
|
|
|
|
This will not be needed when we publish the package, so bear with us for a moment.
|