Skip to content

modern-ucas-thesis:0.3.0 - #5790

Open
Vncntvx wants to merge 2 commits into
typst:mainfrom
Vncntvx:modern-ucas-thesis-0.3.0
Open

modern-ucas-thesis:0.3.0#5790
Vncntvx wants to merge 2 commits into
typst:mainfrom
Vncntvx:modern-ucas-thesis-0.3.0

Conversation

@Vncntvx

@Vncntvx Vncntvx commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

I am submitting

  • a new package
  • an update for a package

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

  • selected a name that isn't the most obvious or canonical name for what the package does
  • added a typst.toml file with all required keys
  • added a README.md with documentation for my package
  • have chosen a license and added a LICENSE file or linked one in my README.md
  • tested my package locally on my system and it worked
  • excluded PDFs or README images, if any, but not the LICENSE
  • ensured that my package is licensed such that users can use and distribute the contents of its template directory without restriction, after modifying them through normal use.

@typst-package-check typst-package-check Bot added the update A package update. label Sep 8, 2026
@Vncntvx
Vncntvx marked this pull request as ready for review September 8, 2026 09:11
Copilot AI lite review requested due to automatic review settings September 8, 2026 09:11

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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/, but typst.toml excludes docs/*, 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.

Comment thread packages/preview/modern-ucas-thesis/0.3.0/README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

update A package update.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants