modern-ucas-thesis:0.3.0 - #5790
Open
Vncntvx wants to merge 2 commits into
Open
Conversation
Vncntvx
temporarily deployed
to
Package Check
September 8, 2026 09:04 — with
GitHub Actions
Inactive
Vncntvx
marked this pull request as ready for review
September 8, 2026 09:11
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
There is a confirmed Typst compilation error (rendered = ... reassignment) and package README links will be broken due to docs/* being excluded.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
This PR publishes modern-ucas-thesis v0.3.0 as a Typst package update, providing a UCAS (University of Chinese Academy of Sciences) thesis/dissertation template with modularized layouts, utilities, and an example template/thesis.typ.
Changes:
- Adds a large set of reusable Typst utilities (bilingual figures/tables, continued tables, citation formatting, supervisor normalization, page foreground rendering).
- Implements/updates page and layout modules for preface/mainmatter/appendix and common pages (cover, abstracts, TOC, lists, acknowledgement, backmatter).
- Ships package metadata (
typst.toml), README/docs, and an end-to-end example template with bibliography.
File summaries
| File | Description |
|---|---|
| packages/preview/modern-ucas-thesis/0.3.0/utils/unpairs.typ | Utility to convert key-value pairs into a dictionary. |
| packages/preview/modern-ucas-thesis/0.3.0/utils/supervisor.typ | Supervisor data normalization + zh/en rendering helpers. |
| packages/preview/modern-ucas-thesis/0.3.0/utils/style.typ | Font sets, font size table, and line-spacing constants. |
| packages/preview/modern-ucas-thesis/0.3.0/utils/page-foreground.typ | Foreground factory for headers/footers in preface and mainmatter. |
| packages/preview/modern-ucas-thesis/0.3.0/utils/justify-text.typ | Justified short-text helper (often for table keys). |
| packages/preview/modern-ucas-thesis/0.3.0/utils/invisible-heading.typ | “Invisible heading” helper for outlines/queries without PDF text duplication. |
| packages/preview/modern-ucas-thesis/0.3.0/utils/hline.typ | Horizontal line helper. |
| packages/preview/modern-ucas-thesis/0.3.0/utils/double-underline.typ | Double underline rendering helper. |
| packages/preview/modern-ucas-thesis/0.3.0/utils/datetime-display.typ | zh/en date formatting helpers. |
| packages/preview/modern-ucas-thesis/0.3.0/utils/custom-numbering.typ | Custom numbering function for headings. |
| packages/preview/modern-ucas-thesis/0.3.0/utils/custom-figure.typ | Thesis-specific bilingual figure/table styling + show rules. |
| packages/preview/modern-ucas-thesis/0.3.0/utils/continued-table.typ | Auto/manual continued table implementation (including landscape mode). |
| packages/preview/modern-ucas-thesis/0.3.0/utils/citation-range-hyphen.typ | Replace en-dash with hyphen for numeric citation ranges only. |
| packages/preview/modern-ucas-thesis/0.3.0/utils/bilingual-figured.typ | Bilingual caption engine + figure/equation numbering/show logic. |
| packages/preview/modern-ucas-thesis/0.3.0/utils/bilingual-bibliography.typ | Bilingual bibliography processing and pagination/foreground integration. |
| packages/preview/modern-ucas-thesis/0.3.0/utils/aligned-equation.typ | Aligned multi-line equation helper (relies on global equation settings). |
| packages/preview/modern-ucas-thesis/0.3.0/typst.toml | Package metadata (name/version/template entrypoint/excludes/compiler). |
| packages/preview/modern-ucas-thesis/0.3.0/template/thesis.typ | Full example thesis using the package APIs. |
| packages/preview/modern-ucas-thesis/0.3.0/template/ref.bib | Example bibliography entries for the template. |
| packages/preview/modern-ucas-thesis/0.3.0/README.md | Package documentation and feature matrix (zh). |
| packages/preview/modern-ucas-thesis/0.3.0/pages/outline-page.typ | Table of contents page implementation. |
| packages/preview/modern-ucas-thesis/0.3.0/pages/notation.typ | Notation/symbol list page implementation. |
| packages/preview/modern-ucas-thesis/0.3.0/pages/master-decl-page.typ | Graduate declaration/authorization page. |
| packages/preview/modern-ucas-thesis/0.3.0/pages/master-cover.typ | Graduate (master/doctor) cover pages (zh/en). |
| packages/preview/modern-ucas-thesis/0.3.0/pages/master-abstract.typ | Graduate Chinese abstract page. |
| packages/preview/modern-ucas-thesis/0.3.0/pages/master-abstract-en.typ | Graduate English abstract page. |
| packages/preview/modern-ucas-thesis/0.3.0/pages/list-of-figures-and-tables.typ | List of figures/tables page using bilingual outline entries. |
| packages/preview/modern-ucas-thesis/0.3.0/pages/fonts-display-page.typ | Font diagnostics page. |
| packages/preview/modern-ucas-thesis/0.3.0/pages/backmatter.typ | Backmatter (CV/publications) section page wrapper. |
| packages/preview/modern-ucas-thesis/0.3.0/pages/bachelor-decl-page.typ | Bachelor declaration page. |
| packages/preview/modern-ucas-thesis/0.3.0/pages/bachelor-cover.typ | Bachelor cover page. |
| packages/preview/modern-ucas-thesis/0.3.0/pages/bachelor-abstract.typ | Bachelor Chinese abstract page. |
| packages/preview/modern-ucas-thesis/0.3.0/pages/bachelor-abstract-en.typ | Bachelor English abstract page. |
| packages/preview/modern-ucas-thesis/0.3.0/pages/acknowledgement.typ | Acknowledgement page wrapper. |
| packages/preview/modern-ucas-thesis/0.3.0/layouts/preface.typ | Preface layout (roman numbering + foreground). |
| packages/preview/modern-ucas-thesis/0.3.0/layouts/mainmatter.typ | Mainmatter layout (heading spacing, numbering, captions, refs, foreground). |
| packages/preview/modern-ucas-thesis/0.3.0/layouts/doc.typ | Global document setup (page/margins, metadata, fakebold). |
| packages/preview/modern-ucas-thesis/0.3.0/layouts/appendix.typ | Appendix behavior (prefixes, counters, outline inclusion, appendix mode flag). |
| packages/preview/modern-ucas-thesis/0.3.0/docs/README_EN.md | English documentation (excluded by typst.toml). |
| packages/preview/modern-ucas-thesis/0.3.0/docs/LOGO_COPYRIGHT.md | UCAS logo copyright notice (zh) (excluded by typst.toml). |
| packages/preview/modern-ucas-thesis/0.3.0/docs/LOGO_COPYRIGHT_EN.md | UCAS logo copyright notice (en) (excluded by typst.toml). |
| packages/preview/modern-ucas-thesis/0.3.0/docs/FORMAT.md | Formatting/linting docs (excluded by typst.toml). |
| packages/preview/modern-ucas-thesis/0.3.0/docs/FAQ.md | FAQ (excluded by typst.toml). |
| packages/preview/modern-ucas-thesis/0.3.0/LICENSE | MIT license text. |
| packages/preview/modern-ucas-thesis/0.3.0/lib.typ | Package entrypoint exporting documentclass and helpers. |
Review details
Suppressed comments (1)
packages/preview/modern-ucas-thesis/0.3.0/README.md:238
- These documentation links point into
docs/, buttypst.tomlexcludesdocs/*, so they’ll be broken for the published package. Use repository URLs (or include docs in the package).
- [定制指南](docs/CUSTOMIZE.md)
- [格式规范原文](docs/RULES.md)(中国科学院大学研究生学位论文撰写规范指导意见 2022)
- [常见问题](docs/FAQ.md)
- [格式化工具](docs/FORMAT.md)
- [UCAS 标识版权说明](docs/LOGO_COPYRIGHT.md)
- Files reviewed: 47/48 changed files
- Comments generated: 2
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Vncntvx
force-pushed
the
modern-ucas-thesis-0.3.0
branch
from
September 8, 2026 09:27
7a27c5b to
2490c63
Compare
Vncntvx
temporarily deployed
to
Package Check
September 8, 2026 09:27 — with
GitHub Actions
Inactive
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.
I am submitting
Description: Master or doctoral thesis at the University of Chinese Academy of Sciences.
I have read and followed the submission guidelines and, in particular, I
typst.tomlfile with all required keysREADME.mdwith documentation for my packageLICENSEfile or linked one in myREADME.mdexcluded PDFs or README images, if any, but not the LICENSE