升级到 Typst v0.15#165
Merged
Merged
Conversation
✅ Deploy Preview for luxury-mochi-9269a9 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
078ea4e to
febd234
Compare
febd234 to
a536490
Compare
5a2d7fb to
7a32a15
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
This PR upgrades the project’s Typst toolchain and documentation examples to Typst v0.15, aligning CI/Netlify builds and rendered documentation snippets with the new release while keeping older Typst versions available for legacy examples.
Changes:
- Bump the “latest” Typst version to v0.15.0 and keep v0.14.2 / v0.13.1 as named side-by-side executables.
- Update Netlify build/install scripts to fetch Typst v0.15.0 and adjust local package installation behavior.
- Refresh multiple docs/FAQ pages to newer Typst Universe package versions and add v0.15-specific notes.
Reviewed changes
Copilot reviewed 18 out of 18 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| scripts/typst-versions.yaml | Sets Typst v0.15.0 as default and preserves older versions for CI setup. |
| scripts/netlify-build.sh | Downloads Typst v0.15.0 and keeps older binaries for legacy renders on Netlify. |
| scripts/install-typst-local-packages.sh | Clears cached local package version before re-installing (Netlify cache). |
| README.md | Updates local setup instructions to Typst v0.15 and mentions v0.14.2 legacy usage. |
| docs/FAQ/sub-figure.md | Bumps subpar package version in examples. |
| docs/FAQ/missing-ref.md | Bumps citegeist version in example workaround. |
| docs/FAQ/mathcal_font.md | Adds Typst 0.15 behavior note and annotates older-version code fences. |
| docs/FAQ/latex-equation.md | Bumps mitex package version. |
| docs/FAQ/dcases.md | Bumps physica package version. |
| docs/FAQ/chinese-space.md | Adds issue link and documents known side effects with an example. |
| docs/FAQ/chinese-bold.md | Bumps cuti package version. |
| docs/FAQ/chemical-formulae.md | Bumps typsium package version. |
| docs/FAQ/cetz_install.md | Updates cetz version references in installation guidance. |
| docs/FAQ/bib-etal-lang.md | Bumps gb7714-bilingual package version in examples. |
| docs/dev/typst-render.md | Documents support for compiling with typst-0.14.2 in addition to typst-0.13.1. |
| docs/dev/index.md | Updates documentation template wording to include “已变化”. |
| docs/.vitepress/typst_render.ts | Allows typst v0.14.2 fences, updates cache version, and adjusts log filtering regex. |
| docs/.vitepress/theme/typst_version.ts | Adds v0.15.0 to the Typst release history list. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
23cc417 to
218ead1
Compare
ba58b9f to
0a22bb7
Compare
YDX-2147483647
commented
Jun 20, 2026
0a22bb7 to
d34fefa
Compare
d34fefa to
ddbfa06
Compare
Merged
9694835 to
083d1ea
Compare
083d1ea to
880883a
Compare
Merged
YDX-2147483647
added a commit
that referenced
this pull request
Jun 22, 2026
之前 #165 从 0.0.3 古早版本升级过来,没检查编译结果。 β-吲哚基丙氨酸awa建议改FAQ,因为0.3.0语法就是这样的了。更详细的用法参考 https://github.com/Typsium/typsium/tree/main/tests 中的测试用例。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #163
Relates-to: typst-doc-cn/clreq#107
#166 合并后会展示 git 提交信息,所以最好按
merge而非merge --squash方式合并。预览:
FAQ/bib-etal-lang.mdFAQ/cases-right.mdFAQ/cetz_install.mdFAQ/chemical-formulae.mdFAQ/chinese-bold.mdFAQ/chinese-space.mdFAQ/dcases.mdFAQ/emptyset.mdFAQ/enum-list-marker-fix.mdFAQ/fix-enum-list.mdFAQ/latex-equation.mdFAQ/mathcal_font.mdFAQ/mermaid.mdFAQ/missing-ref.mdFAQ/sub-figure.mdFAQ/webapp-fonts.mddev/index.mddev/typst-render.md生成预览链接的脚本
过时内容
可能还需要修改的页面
列表符号/编号和内容错位怎么办? | Typst 中文社区导航
已解决。
如何让 cases 中某列右对齐? | Typst 中文社区导航
In Typst 0.15 unexpected default
baselineofboxin multiline equation withinlrtypst/typst#8516为什么 mermaid/draw.io 生成的 SVG 图片导入后没有文字? | Typst 中文社区导航
https://typst.app/universe/package/merman
https://deploy-preview-165--luxury-mochi-9269a9.netlify.app/FAQ/emptyset.html
这里好像字体改设计了。
Bump New CM fonts to version 7.1.0 typst/typst#7597
Bump New CM fonts to version 8.0.1 typst/typst#8330