# Statutes of RoyalRoppers

The latest version of the statutes are available through a release
[here](https://github.com/RoyalRoppers/stadgar/releases/download/latest/royalroppers-statutes.pdf)!

## Changes

Whenever a change is approved on one yearly meeting, a pull request with the
change should be opened. After the next vote, the pull request should be merged
or closed.

## Structure

All styling stuff is in `template.typ`, so that `stadgar.typ` as much as
possible only contains the statutes themselves.

## Rendering to PDF

This project uses [typst](https://github.com/typst/typst) for typesetting and
can be rendered to a PDF with:

```sh
$ typst c stadgar.typ
```

To get automatic updates as the statutes are changed locally, use `w` instead of
`c` and display the PDF using a viewer that supports auto reloading, such as
evince (usually called "documents" in gnome). Some editor plugins also support
this.

## References

To refer to another paragraph, append `<some-descriptive-id>` to it and refer to
it with `@some-descriptive-id`. For example:

```typ
== En vacker paragraf <vacker>

...

== En annan paragraf
Någonting någonting enligt @vacker.
```

Would turn into something like:

```
§ 2.2 En vacker paragraf
...

§ 2.3 En annan paragraf
Någonting någonting enligt § 2.2.
```
