Merged
Conversation
✅ Deploy Preview for luxury-mochi-9269a9 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
27beb43 to
f0d0266
Compare
a816de2 to
b8e1bb6
Compare
67decdc to
5dc118f
Compare
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR updates the documentation to support Typst v0.14.0 while maintaining compatibility with examples written for older versions (v0.13.1). The update includes infrastructure changes to compile code examples with version-specific Typst executables, package dependency updates, and documentation improvements for Chinese font handling in mathematical equations.
- Adds support for compiling Typst code examples with specific versions (v0.14.0 and v0.13.1)
- Updates documentation with Typst 0.14-specific font configuration guidance for Chinese text in math equations
- Improves CI/CD workflows with better caching and structured setup steps
Reviewed Changes
Copilot reviewed 15 out of 16 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
pnpm-lock.yaml |
Adds which package (v5.0.0) and its type definitions for executable detection |
package.json |
Adds which and @types/which as development dependencies |
netlify.toml |
Downloads and sets up both Typst v0.14.0 and v0.13.1 executables |
docs/.vitepress/typst_render.ts |
Implements multi-version Typst compilation support with executable detection and version-specific rendering |
docs/.vitepress/theme/typst_version.ts |
Updates version history to include Typst v0.14.0 release information |
docs/word.md |
Adds margin setting comment and line break escapes to example code |
docs/FAQ/equation-chinese-font.md |
Expands with comprehensive v0.14 font configuration guidance and reorganizes content by version |
docs/FAQ/fix-enum-list.md |
Marks code example to compile with v0.13.1 |
docs/FAQ/enum-list-marker-fix.md |
Updates package import from v0.1.2 to v0.2.0 |
docs/FAQ/dcases.md |
Updates package import from v0.9.3 to v0.9.6 |
docs/FAQ/cite-flying.md |
Marks issue as fixed in v0.14 |
docs/FAQ/chapter-zero.md |
Adds calc.max to prevent negative numbering |
docs/FAQ/bib-csl.md |
Adds tip about pre-sanitized CSL styles |
README.md |
Expands from single line to comprehensive development guide |
.github/workflows/check.yml |
New CI workflow for build verification |
.github/workflows/build.yml |
Updates deployment workflow with improved structure and caching |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
YDX-2147483647
added a commit
to YDX-2147483647/guide
that referenced
this pull request
Nov 5, 2025
之前部分设置方法中,缺少`regex(".")`或`covers: none`的中文字体,会导致括号等中文独占标点变成豆腐块。
Resolves typst-doc-cn#87
Continues typst-doc-cn#95
Merged
YDX-2147483647
added a commit
to YDX-2147483647/guide
that referenced
this pull request
Nov 5, 2025
之前部分设置方法中,缺少`regex(".")`或`covers: none`的中文字体,会导致括号等中文独占标点变成豆腐块。
Resolves typst-doc-cn#87
Continues typst-doc-cn#95
YDX-2147483647
added a commit
to YDX-2147483647/guide
that referenced
this pull request
Nov 5, 2025
之前部分设置方法中,缺少`regex(".")`或`covers: none`的中文字体,会导致括号等中文独占标点变成豆腐块。
Resolves typst-doc-cn#87
Continues typst-doc-cn#95
flaribbit
pushed a commit
that referenced
this pull request
Nov 11, 2025
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.
暂时请勿合并!已可以合并。另外,建议像隔壁那样把 netlify 脚本存到文件里,这样 PR 和主分支用的 typst 版本可以不同。已完成。Resolves #87
等 mitex-rs/mitex#201 合并了,还要再更新 mitex 版本。
残余 stderr
Details
太难救或者不用救的就标注成
```typst v0.13.1,直接用 v0.13.1 编译了。