Fix for Typst 0.13:

- Changes removal of outline fill in favor of `outline.entry` fill
This commit is contained in:
Laurenz 2025-03-12 15:11:49 +01:00
parent bb437af760
commit 348f744d78
Signed by: C0ffeeCode
SSH key fingerprint: SHA256:prvFOyBjButRypyXm7X8lbbCkly2Dq1PF7e/mrsPVjw
2 changed files with 7 additions and 3 deletions

View file

@ -15,3 +15,4 @@ If you intend to use the VS Code extension "Typst-LSP", don't,
and use the Tinymist Typst extension instead.
This is a adapted version of a template by [@satoqz](https://github.com/satoqz/).
It is designed for Computer Science at the DHBW Stuttgart, and may be compatible with other courses of study.

View file

@ -67,7 +67,7 @@
Ich bin mir bewusst, dass eine falsche Erklärung rechtliche Folgen haben wird.
#title
*a big & fat _TODO_!*
// *a big & fat _TODO_!*
],
abstract: "Abstract",
contents: "Inhaltsverzeichnis",
@ -199,7 +199,7 @@
)
// do not justify inside of figures, incl. tables
#show figure: set par (justify: false)
#show figure: set par(justify: false)
#set figure(
numbering: "I"
@ -387,7 +387,10 @@
if n > 2 { n = 2 }
return n * 2em
},
fill: repeat(" . ")
// fill: repeat(" . ") // Deprecated in Typst 0.13
)
#set outline.entry(
fill: repeat([.], gap: 0.15em)
)
#show outline.entry.where(level: 1): it => {
if it.element.func() != heading { return it }