File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 77 - uses : actions/checkout@v4
88 - uses : typst-community/setup-typst@v3
99
10- - name : Get Source Han Serif font
10+ - name : Get fonts
1111 run : |
12+ mkdir fonts
13+ wget https://mirrors.ctan.org/fonts/newcomputermodern/otf/NewCM10-Book.otf -P fonts/
14+ wget https://mirrors.ctan.org/fonts/newcomputermodern/otf/NewCM10-BookItalic.otf -P fonts/
15+
1216 wget https://github.com/adobe-fonts/source-han-serif/releases/download/2.002R/09_SourceHanSerifSC.zip
1317 unzip 09_SourceHanSerifSC.zip
18+ mv OTF/SimplifiedChinese/* fonts
1419
1520 wget https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/fonts/KaTeX_Caligraphic-Regular.ttf
16- mv KaTeX_Caligraphic-Regular.ttf OTF/SimplifiedChinese
21+ mv KaTeX_Caligraphic-Regular.ttf fonts
1722 wget https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/fonts/KaTeX_Caligraphic-Bold.ttf
18- mv KaTeX_Caligraphic-Bold.ttf OTF/SimplifiedChinese
19- - run : typst compile main.typ model.pdf --font-path ./OTF/SimplifiedChinese /
23+ mv KaTeX_Caligraphic-Bold.ttf fonts
24+ - run : typst compile main.typ model.pdf --font-path ./fonts /
2025 - uses : actions/upload-artifact@v4
2126 with :
2227 name : model
You can’t perform that action at this time.
0 commit comments