Skip to content

modern-zhaw-thesis:0.4.0 - #4658

Merged
saecki merged 32 commits into
typst:mainfrom
stanlrt:modern-zhaw-thesis-0.4.0
Apr 27, 2026
Merged

modern-zhaw-thesis:0.4.0#4658
saecki merged 32 commits into
typst:mainfrom
stanlrt:modern-zhaw-thesis-0.4.0

Conversation

@stanlrt

@stanlrt stanlrt commented Apr 22, 2026

Copy link
Copy Markdown
Contributor

I am submitting

  • a new package
  • an update for a package

Description: Drop Glossy patch thanks to #4583 , tweak h1 sizes due to feedback, drop biblio hack, add preset feature

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.

Copilot AI review requested due to automatic review settings April 22, 2026 14:50
@typst-package-check typst-package-check Bot added the update A package update. label Apr 22, 2026

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.

Pull request overview

This PR publishes modern-zhaw-thesis version 0.4.0 to the Typst packages repository, updating the template to drop the bundled Glossy patch and adjust H1 sizing/styling.

Changes:

  • Add new package version 0.4.0 (manifest, sources, template, docs, license, changelog).
  • Switch glossary integration to the upstream @preview/glossy:0.9.1 instead of a vendored patch.
  • Tweak H1 sizing/spacing (tokens + heading rendering) and update accompanying README/template text.

Reviewed changes

Copilot reviewed 61 out of 70 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
packages/preview/modern-zhaw-thesis/0.4.0/typst.toml New package manifest for v0.4.0 (metadata, template config, exclude list).
packages/preview/modern-zhaw-thesis/0.4.0/lib.typ Public entrypoint exports (template function + helpers).
packages/preview/modern-zhaw-thesis/0.4.0/src/zhaw-thesis.typ Main template implementation wiring styling, frontmatter, glossary, bibliography, appendix.
packages/preview/modern-zhaw-thesis/0.4.0/src/utils.typ Shared helpers (deep merge, layout helpers, date formatting, etc.).
packages/preview/modern-zhaw-thesis/0.4.0/src/translations.typ Language strings + Tieflang setup.
packages/preview/modern-zhaw-thesis/0.4.0/src/frontmatter.typ Frontmatter section composition (cover, abstract, acknowledgements, originality).
packages/preview/modern-zhaw-thesis/0.4.0/src/styling/tokens.typ Design tokens updated (notably H1 size).
packages/preview/modern-zhaw-thesis/0.4.0/src/styling/text.typ Heading rendering/spacing adjustments using updated tokens.
packages/preview/modern-zhaw-thesis/0.4.0/src/styling/glossary.typ Glossary styling updated to use upstream glossy package.
packages/preview/modern-zhaw-thesis/0.4.0/src/styling/math-and-code.typ Code and math styling via Codly.
packages/preview/modern-zhaw-thesis/0.4.0/src/styling/figures.typ Figure/caption styling.
packages/preview/modern-zhaw-thesis/0.4.0/src/styling/table.typ Table styling defaults.
packages/preview/modern-zhaw-thesis/0.4.0/src/styling/page-header.typ Running header styling + chapter detection logic.
packages/preview/modern-zhaw-thesis/0.4.0/src/styling/page-border.typ Optional page border background styling.
packages/preview/modern-zhaw-thesis/0.4.0/src/pages/title.typ Cover/title page layout.
packages/preview/modern-zhaw-thesis/0.4.0/src/pages/abstract.typ Abstract page rendering (supports DE/EN via Tieflang).
packages/preview/modern-zhaw-thesis/0.4.0/src/pages/acknowledgements.typ Acknowledgements page rendering (handles supervisor shapes).
packages/preview/modern-zhaw-thesis/0.4.0/src/pages/originality.typ Declaration of originality page rendering.
packages/preview/modern-zhaw-thesis/0.4.0/template/main.typ End-user starter document updated for v0.4.0.
packages/preview/modern-zhaw-thesis/0.4.0/template/glossary.typ Sample glossary entries used by the template demo.
packages/preview/modern-zhaw-thesis/0.4.0/template/biblio.bib Sample bibliography used by the template demo.
packages/preview/modern-zhaw-thesis/0.4.0/template/appendix.typ Sample appendix content (AI usage declaration).
packages/preview/modern-zhaw-thesis/0.4.0/README.md v0.4.0 documentation for setup/options/dependencies.
packages/preview/modern-zhaw-thesis/0.4.0/LICENSE MIT-0 license text for this package version.
packages/preview/modern-zhaw-thesis/0.4.0/CHANGELOG.md Changelog entry describing the 0.4.0 changes.
.gitignore Ignore local .claude/settings.local.json.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread packages/preview/modern-zhaw-thesis/0.4.0/template/main.typ
Comment thread packages/preview/modern-zhaw-thesis/0.4.0/typst.toml
Comment thread packages/preview/modern-zhaw-thesis/0.4.0/README.md
Comment thread packages/preview/modern-zhaw-thesis/0.4.0/README.md
Comment thread packages/preview/modern-zhaw-thesis/0.4.0/src/translations.typ
@stanlrt

stanlrt commented Apr 22, 2026

Copy link
Copy Markdown
Contributor Author

Failed job is due to the gitginore change

@elegaanz

Copy link
Copy Markdown
Member

Yes, please don't change the .gitignore file.

@stanlrt

stanlrt commented Apr 23, 2026

Copy link
Copy Markdown
Contributor Author

Hi @elegaanz , i fixed it. This is quite counter-intuitive, maybe the docs could explain what to do in case the package writer wants to have a gitignore? I used .git/info/exclude, which seems to work well

@saecki saecki self-assigned this Apr 27, 2026
@saecki

saecki commented Apr 27, 2026

Copy link
Copy Markdown
Member

Thanks for the update!

Hi @elegaanz , i fixed it. This is quite counter-intuitive, maybe the docs could explain what to do in case the package writer wants to have a gitignore? I used .git/info/exclude, which seems to work well

You shouldn't be developing any packages inside this repository. The fact that we use github as the backend is more incidental, because it was a simple solution, and is subject to change at any point. Submitting a package and creating a PR to this repository shouldn't just copy all contents from your repository into this one, but should choose only the files necessary for the package to work and for the README to display on Typst Universe. Any files that you would want to exclude using a .gitignore file, should be ignored by your release process. See https://github.com/typst/packages/blob/main/docs/tips.md#what-to-commit-what-to-exclude

@saecki
saecki merged commit fc0821d into typst:main Apr 27, 2026
3 checks passed
friskerik pushed a commit to friskerik/typst-packages that referenced this pull request Jul 29, 2026
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.

4 participants