feat(template): 为英语文本实现斜体调用以及其他 chore - #41
Merged
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
这将禁用 Smartquote 功能,旨在阻止在英文语境部分意外将英文引号转为中文引号。
RenAhsAcme
marked this pull request as draft
June 14, 2026 15:10
RenAhsAcme
commented
Jun 15, 2026
RenAhsAcme
left a comment
Contributor
Author
There was a problem hiding this comment.
这些更改已通过 Workflows 的检查,并经过修改发起者的复核。
RenAhsAcme
marked this pull request as ready for review
June 15, 2026 00:57
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.
该 PR 主要引入以下更改:
template/thesis.typ定义斜体函数,使得写作时可在 content 类型的部分使用它引入斜体效果;specifications/bachelor/lib.typ和 specifications/postgraduate/lib.typ 中修改对传入参数的断言方式,将它们统一为 array 类型且接受 content 类型的传入,保持旧版兼容性的同时引入新特性;specifications/bachelor/abstract-en.typ中修改 Keywords 的渲染方式,引入与上一条类似的特性。template/thesis.typ全局实现。template/thesis.typ实现。