Skip to content

strangelion:0.1.0#4644

Open
strangelion wants to merge 47 commits intotypst:mainfrom
strangelion:main
Open

strangelion:0.1.0#4644
strangelion wants to merge 47 commits intotypst:mainfrom
strangelion:main

Conversation

@strangelion
Copy link
Copy Markdown

@strangelion strangelion commented Apr 21, 2026

I am submitting

  • a new package
  • an update for a package

Description: Explain what the package does and why it's useful.

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.

Added a comprehensive README for the Typst template, detailing features, usage instructions, project structure, configuration, citation style, contribution guidelines, and licensing.
@typst-package-check typst-package-check Bot changed the title Hebei University Paper template strangelion:0.1.0 Apr 21, 2026
@typst-package-check typst-package-check Bot added the new A new package submission. label Apr 21, 2026
Copy link
Copy Markdown
Member

@elegaanz elegaanz left a comment

Choose a reason for hiding this comment

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

Thank you for this template. A few things needs to be changed to make it work correctly.

@@ -0,0 +1,143 @@
set text(lang: "zh", region: "cn")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

A # is missing here.

@@ -0,0 +1,66 @@
# 大学论文 Typst 模板

一个为本科生毕业论文设计的 Typst 排版模板。它基于中文学术规范,帮助使用者快速完成论文的封面、章节和参考文献排版,让使用者专注于写作本身。
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It is generally appreciated to have at least one sentence in your README (and the description field in the package manifest) in English, to give a bit of context about the package to the broader Typst community, even if the target audience for that package is Chinese speaking.

// 指导教师
supervisor: "罗教授",
// 日期(自动生成当前年份)
date: datetime.today().display("[year]年[month]月[day]日"),
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

There is a control character here (shown as ^M at the end of the line), you probably want to remove it.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can you please check that you are allowed to distribute this logo? And if so, can you specify under which terms it can be used (in your README for example)?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think this file should go in a dedicated sub-directory, and be marked as a template entrypoint in your typst.toml.

@@ -0,0 +1,53 @@
#import "@preview/strangelion:0.1.0/template.typ": template
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This import syntax is not valid, it should either be the package "specification" (i.e. @preview/strangelion:0.1.0) in which case it will import the entrypoint (here template.typ), or the relative path of the file, in case the file is to be edited by the user and included in their own project.

So here, I would say the first import should be a package specification, and the second just config.typ.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new A new package submission.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants