mirror of
https://github.com/C0ffeeCode/typst-dhbw-technik-template.git
synced 2025-12-28 15:42:19 +01:00
Update to replace deprecated features with modern ones:
- Use Linux Libertine's sucessor Libertinus Serif by default - use `context`/`here()` instead of deprecated `locate` - Recommend Tinymist over deprecated Typst LSP
This commit is contained in:
parent
573e87a15d
commit
bb437af760
3 changed files with 20 additions and 20 deletions
|
|
@ -10,8 +10,8 @@ To compile your document,
|
|||
you need to take the `thesis.typ` file as the input file.
|
||||
To use the CLI, compile using `typst watch thesis.typ`
|
||||
or `typst compile thesis.typ`.
|
||||
If you intend to use the VS Code plug-in "Typst-LSP",
|
||||
make sure it is either configured to only take the `thesis.typ` as input
|
||||
or not to perform compilation at all (to use the CLI).
|
||||
|
||||
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/).
|
||||
|
|
|
|||
|
|
@ -184,7 +184,7 @@
|
|||
|
||||
// suggested font and font size by the DHBW style guide
|
||||
#set text(
|
||||
font: "Linux Libertine",
|
||||
font: "Libertinus Serif",
|
||||
// font: "New Computer Modern Sans",
|
||||
size: 12pt,
|
||||
hyphenate: false,
|
||||
|
|
@ -499,8 +499,8 @@
|
|||
#let acro(short, pref: "normal", append: "") = {
|
||||
let item = acronyms.at(short)
|
||||
|
||||
locate(loc => {
|
||||
let entries = acroStates.at(loc).filter(e => e == short);
|
||||
context({
|
||||
let entries = acroStates.at(here()).filter(e => e == short);
|
||||
|
||||
// Already used once
|
||||
if entries.len() > 0 {
|
||||
|
|
|
|||
BIN
thesis.pdf
Normal file
BIN
thesis.pdf
Normal file
Binary file not shown.
Loading…
Reference in a new issue