chore: minor changes

This commit is contained in:
Kristofers Solo 2025-08-27 17:31:00 +03:00
parent af289ef9d5
commit 4f9d5cd6d8
Signed by: kristoferssolo
GPG Key ID: 8687F2D3EEE6F0ED
4 changed files with 35 additions and 17 deletions

18
.typstignore Normal file
View File

@ -0,0 +1,18 @@
# this is not a "standard" ignore file, it's specific to this template's `scripts/package` script
# list any files here that should not be uploaded to Universe when releasing this package
# if you are used to ignore files, be aware that .typstignore is a bit more limited:
# - only this file is used; .typstignore files in subdirectories are not considered
# - patterns must match file/directory names from the beginning: `x.typ` will not match `src/x.typ`
# - `*` in patterns works, but also matches directory separators: `*.typ` _will_ match `src/x.typ`
# .git and .typstignore are excluded automatically
.github
scripts
tests
Justfile
examples
CONTRIBUTING.md
# PDF manuals should be included so that they can be linked, but not their sources
docs/*
!docs/*.pdf

View File

@ -1,7 +1,7 @@
# solo-lu-df # solo-lu-df
A Typst template to write qualification papers, bachelors theses, and masters A Typst template to write qualification papers, bachelors theses, and masters
theses for Latvijas Universitāte (Faculty of Exact Sciences, Computer Science). theses for Latvijas Universitāte (Faculty of Science and Technology).
The package provides university-compliant layout rules, helpers for The package provides university-compliant layout rules, helpers for
title/abstract/attachments, and a ready-to-edit example. title/abstract/attachments, and a ready-to-edit example.
@ -68,12 +68,21 @@ template, you can add a show rule like this at the top of your file:
[Column 1], [Column 2], [Column 1], [Column 2],
), ),
), ),
),
) )
// Your content goes below. // Your content goes below.
``` ```
## Examples
A ready-to-edit qualification thesis example is included in the repository:
View the example on GitHub: <https://github.com/kristoferssolo/LU-DF-Typst-Template/tree/main/examples/qualification-thesis>
The example contains `main.typ`, `bibliography.yml` and small helpers under
),
`utils/`. Use it as a starting point or copy it into a new project.
## Tips ## Tips
- Install the fonts used by the template (Times family, JetBrains Mono) to - Install the fonts used by the template (Times family, JetBrains Mono) to

View File

@ -28,14 +28,14 @@
keyword-title: "Atslēgvārdi", keyword-title: "Atslēgvārdi",
lang: "lv", lang: "lv",
text: [], text: [],
keywords: [], keywords: (),
), ),
secondary: ( secondary: (
title: "Abstract", title: "Abstract",
keyword-title: "Keywords", keyword-title: "Keywords",
lang: "en", lang: "en",
text: [], text: [],
keywords: [], keywords: (),
), ),
), ),
// The result of a call to the `bibliography` function or `none`. // The result of a call to the `bibliography` function or `none`.

View File

@ -1,12 +1,11 @@
[package] [package]
name = "solo-lu-df" name = "solo-lu-df"
version = "0.1.0" version = "0.1.0"
compiler = "0.13.0"
entrypoint = "src/lib.typ" entrypoint = "src/lib.typ"
repository = "https://github.com/kristoferssolo/LU-DF-Typst-Template"
authors = ["Kristofers Solo <dev@kristofers.xyz>"] authors = ["Kristofers Solo <dev@kristofers.xyz>"]
license = "MIT" license = "MIT"
description = "Write qualification papers, bachelors theses, and masters theses for University of Lativa, Computer Science programme." description = "Write qualification papers, bachelors theses, and masters theses for University of Lativa, Computer Science programme."
repository = "https://github.com/kristoferssolo/LU-DF-Typst-Template"
keywords = [ keywords = [
"University of Latvia", "University of Latvia",
"LU", "LU",
@ -17,16 +16,8 @@ keywords = [
] ]
categories = ["paper"] categories = ["paper"]
disciplines = ["computer-science"] disciplines = ["computer-science"]
exclude = [ compiler = "0.13.0"
".github", exclude = []
"docs",
"scripts",
"examples",
"tests",
".typstignore",
"Justfile",
"thumbnail.png",
]
[template] [template]
path = "template" path = "template"