Skip to content

About

Testing typst font in extensions

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Testing setting fonts in Typst documents through extensions in Quarto

  • It works when rendering a document in root
  • It does not work when rendering a document in a subdirectory

[1/2] subdir\nested.qmd
[typst]: Compiling nested.typ to nested.pdf...warning: unknown font family: montserrat
    ┌─ \\?\C:\Users\chris\AppData\Local\Temp\quarto\test-typst-font\subdir\nested.typ:282:30
    │
282 │ #show heading: set text(font: ("Montserrat",), weight: "bold", fill: red, )
    │                               ^^^^^^^^^^^^^^^

warning: unknown font family: aptos
    ┌─ \\?\C:\Users\chris\AppData\Local\Temp\quarto\test-typst-font\subdir\nested.typ:203:17
    │
203 │            font: font,
    │                  ^^^^

warning: unknown font family: montserrat
    ┌─ \\?\C:\Users\chris\AppData\Local\Temp\quarto\test-typst-font\subdir\nested.typ:211:23
    │
211 │         set text(font: heading-family, weight: heading-weight, style: heading-style, fill: heading-color)
    │                        ^^^^^^^^^^^^^^

DONE

[2/2] test.qmd
[typst]: Compiling test.typ to test.pdf...DONE


Output created: test.pdf

See quarto-dev/quarto-cli#13745

About

Testing typst font in extensions

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors