Skip to content

simple-thesis-ger-host:1.0.1#4012

Open
compera24 wants to merge 14 commits intotypst:mainfrom
compera24:main
Open

simple-thesis-ger-host:1.0.1#4012
compera24 wants to merge 14 commits intotypst:mainfrom
compera24:main

Conversation

@compera24
Copy link

@compera24 compera24 commented Jan 30, 2026

I am submitting

  • a new package
  • an update for a package
it is simple and clean with all neccessary features for a good thesis the ones i found were very complicatet or importet a lot extra stuff. And i find it sometimes intransparent how they made there title packe (some extra packages sometimes). Or some important features where missing. For Example: Glossar, Bibliography, Header Numbers also for the table of image and the Bibliography. Page Number starts at 1 after the Titlepage and the table of contents. Aswell as they used standard (englisch names) for the Bibliography. or have a unnessesary complex Layout (color etc.).

This one is short and transparent/flexible. If someone want to change some minor things they can find the solution by simple look at the code and how it is done at another point in the template.

SHORT: A lot of features, easy to change

I have read and followed the submission guidelines and, in particular, I

  • [x ] selected a name that isn't the most obvious or canonical name for what the package does
  • [x ] added a typst.toml file with all required keys
  • [x ] added a README.md with documentation for my package
  • [x ] have chosen a license and added a LICENSE file or linked one in my README.md
  • [x ] tested my package locally on my system and it worked
  • [x ] 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.

@elegaanz elegaanz self-assigned this Feb 2, 2026
@elegaanz
Copy link
Member

elegaanz commented Feb 2, 2026

Can you please copy all the files here instead of making a submodule?

@compera24
Copy link
Author

compera24 commented Feb 3, 2026

Sorry, it seems that it was cached as such. Im relativ new to using gitHub. It should be fixed now (after my understanding).

Copy link
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.

I can now see and review your files, thank you for fixing that :) Here is a first round of comments, more may come once you have re-organized your package as requested below.

@@ -0,0 +1,11 @@
[package]
name = "simple-thesis-ger-HOST"
Copy link
Member

Choose a reason for hiding this comment

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

Package names should be all lower case. Can you replace HOST by host here please? Don't forget to also rename the directory.

@@ -0,0 +1,11 @@
[package]
name = "simple-thesis-ger-HOST"
version = "1.0c"
Copy link
Member

Choose a reason for hiding this comment

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

Version numbers in Typst follow the semantic versioning standard, so they should be of the form x.y.z. Can you fix that please? Also note that your package should have a sub-directory per-version, which is missing here (i.e if you pick 1.0.0 as a version number, it should be in packages/preview/simple-thesis-ger-host/1.0.0 and not just packages/preview/simple-thesis-ger-host).

Copy link
Member

Choose a reason for hiding this comment

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

Unless it is a placeholder, the image here seems to be missing, it shows a black rectangle for me.

Copy link
Author

Choose a reason for hiding this comment

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

Yes it is a placeholder, because im not sure i have permission to distibute the originall logo.

Copy link
Member

Choose a reason for hiding this comment

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

Okay, no problem, you can keep it as is then :)

@@ -0,0 +1,13 @@
## Purpose:
A simple, clean Thesis Templete. That hasa wide functionality,
Copy link
Member

Choose a reason for hiding this comment

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

Typos:

Suggested change
A simple, clean Thesis Templete. That hasa wide functionality,
A simple, clean thesis template that has wide functionality.

I'm also not sure about "wide" as an adjective to qualify "functionality" but my English is not necessarily the best, so feel free to keep it as is.

A simple, clean Thesis Templete. That hasa wide functionality,

## How to Start:
Simply open the 0_main.typ file.
Copy link
Member

Choose a reason for hiding this comment

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

This won't work: if you want to provide a template with some default content, you should put it in a dedicated sub-directory and configure that in your manifest. I would recommend reading this section of our docs if you need more info. You can also have a look at the structure of already-existing packages.

All styling and logic that you don't expect users to modify should also be extracted in their own file, the entrypoint of the package (different from the template's entrypoint, which is the file to preview and compiler by default when creating a project from your template).

Let me know if you have questions or need a bit more guidance with that.

Copy link
Author

Choose a reason for hiding this comment

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

i was not quit shure what was meant. i changed now a few things: the readme explanation (added init command) and put the content in an extra folder. Like in the doku recommandet, and done the test. ( i overread it the first time i was there or misunderstood...

Copy link
Member

Choose a reason for hiding this comment

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

The folder name should be all lower case too. If you need help fixing the other errors/warnings reported by the bot please let me know.

By the way, the files outside of the 1.0.1 folder should be removed.

Also, the way you structured your project will still not work (but it's getting in the right direction). You need an entrypoint for your package (which should not be the same file as the template entrypoint). This file should expose the default styling (wrapped in a function, so that people can do show: thesis-template-function in their own document) and any useful function you can think of. The template should only contain some placeholder content.

Copy link
Author

Choose a reason for hiding this comment

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

thats odd because the folder is all lower case (by me) and there are no files outside from 1.0.1. but i hope i fixed it now. (with next push)

Copy link
Member

Choose a reason for hiding this comment

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

Can you delete this file please?

@typst-package-check typst-package-check bot changed the title simple-thesis-ger-HOST:1.0c simple-thesis-ger-HOST:1.0.1 Feb 3, 2026
@typst-package-check typst-package-check bot added the new A new package submission. label Feb 3, 2026
@compera24
Copy link
Author

I changed now everything (and afterwards the jpg with png). but the bot is complaining because of the changed folder name (all lowercase like wished) is this a problem and i have to make a new pull request with the new folder name?

@typst-package-check typst-package-check bot changed the title simple-thesis-ger-HOST:1.0.1 simple-thesis-ger-host:1.0.1 Feb 3, 2026
@compera24
Copy link
Author

So i changed the entry-point and extractet everything from the main except the glossarium import because i found no (clean/simple) way to use the command print-glossary(entry-list) in the main (never worked correctly). I hope i understand the entry-point correctly and done everything correctly as wished ( it is working by me...)
Fixed casesensitivity problems (Windows works not casesensitiv and so it worket by me without errors)

Short: Everything should be fixed

Copy link
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.

You're getting to the right direction, but there are still small improvements to be made to have a nice to use template. I left a few comments to explain what would need to change. Feel free to ask questions if you don't understand what I mean.

title = {Startseite - {{Hochschule Stralsund}}},
urldate = {2026-01-29},
howpublished = {https://www.hochschule-stralsund.de/},
file = {C:\Users\elias\Zotero\storage\L7T46NZB\www.hochschule-stralsund.de.html}
Copy link
Member

Choose a reason for hiding this comment

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

I didn't notice at first, but I think it would be better to have a placeholder file that is not tied to your personal setup. Can you remove that file = … line, please?

Copy link
Member

Choose a reason for hiding this comment

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

If you don't expect people using your template to modify the layout of that page substantially, I think this should be part of the template (i.e in the thesis function). The varying parts (title of the work, author and supervisors names, etc.) could be given by the user as parameters in 0_main.typ like so:

#show: thesis.with(title: [My groundbreaking thesis], author: [Jane Doe])

@@ -0,0 +1,48 @@
//Imports
#import "@preview/simple-thesis-ger-host:1.0.1": thesis // import "header" everything what is defined globally, except glossarium because its not working than (print-glossary funktion is missing)
Copy link
Member

Choose a reason for hiding this comment

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

You don't use the thesis function anywhere. I think you should introduce a #show: thesis call to apply the styling it defines, and remove any duplicate styling such as the #set page(margin: …) line.

Comment on lines +6 to +7
#register-glossary(entry-list)
#show: make-glossary
Copy link
Member

Choose a reason for hiding this comment

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

If you put that in header.typ inside of the thesis function (not outside of it), before the final body, glossarium should be able to do its job. Can you try that if you didn't already? If there is any error in particular, I can give you pointers to solve it. If it still doesn't work and you don't want to spend more time debugging it, it's also fine to import and configure glossarium directly in this file.

Comment on lines +9 to +27
// ====================
// Deckblatt
// ====================
#include "./chapter/TitlePage.typ"

#set page(margin: (top: 2.5cm, bottom: 2.5cm, left: 3cm, right: 2.5cm))


// Inhaltsverzeichnis
#pagebreak()
#set heading(numbering: "1.")
#set page(numbering: "I")
#outline(title: "Inhaltsverzeichnis ")

#outline( title: "Abbildungsverzeichnis", target: figure.where(kind: image))

//Start Real Numbering
#set page(numbering: "1")
#counter(page).update(1)
Copy link
Member

Choose a reason for hiding this comment

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

I think all this logic could go in your thesis function as well. The idea is to only have the actual content in this file (and chapter files you include here), and as much logic and styling in header.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