You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+27Lines changed: 27 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,6 +60,12 @@ Sie kann jederzeit gekündigt werden.
60
60
Die Ehrenmitgliedschaft wird durch den Vorstand verliehen.
61
61
```
62
62
63
+
Alternatively (or if you want to use special characters otherwise not supported, such as `*`), you can also use the `#section[number][title]` function:
64
+
65
+
```typst
66
+
#section[§ 3][Administrator*innen]
67
+
```
68
+
63
69
### Overarching Sections
64
70
65
71
If you want to add more structure to your sections, you can use normal Typst headings. Note that only the level 6 headings are reserved for the section numbers:
@@ -102,3 +108,24 @@ In some cases, referencing sections using `§ X` could be mis-interpreted as a n
102
108
103
109
Diese Ordnung tritt am 24.01.2024 in Kraft. §~4 bleibt unberührt.
104
110
```
111
+
112
+
## Changelog
113
+
114
+
### v0.2.0
115
+
116
+
#### Features
117
+
- Add `#metadata` fields for usage with `typst query`. You can now use `typst query file.typ "<field>" --field value --one` with `<field>` being one of the following to query metadata fields in the command line:
118
+
-`<title>`
119
+
-`<abbreviation>`
120
+
-`<resolution>`
121
+
-`<in-effect>`
122
+
- Add `#section[§ 1][ABC]` function to enable previously unsupported special chars (such as `*`) in section headings. Note that this was previously possible using `#unnumbered[§ 1\ ABC]`, but the new function adds a semantically better-fitting alternative to this fix.
123
+
- Improve heading style rules. This also fixes an incompatibility with `pandoc`, meaning it's now possible to use `pandoc` to convert delegis documents to HTML, etc.
124
+
- Set the footnote numbering to `[1]` to not collide with sentence numbers.
125
+
#### Bug Fixes
126
+
- Fix a typo in the `str-draft` variable name that lead to draft documents resulting in a syntax error.
127
+
- Fix hyphenation issues with the abbreviation on the title page (hyphenation between the parentheses and the abbreviation itself)
0 commit comments