Initial commit

This commit is contained in:
Kristofers Solo 2025-10-06 08:56:19 +03:00
parent 21e12305ad
commit 1be8b34bb3
Signed by: kristoferssolo
GPG Key ID: 74FF8144483D82C8
12 changed files with 131 additions and 2 deletions

View File

@ -25,7 +25,8 @@ jobs:
cache-dependency-path: requirements.typ
- name: Compile Typst files
run: |
typst compile main.typ main.pdf
typst compile --font-path=assets/fonts main.typ Cagulis_Kristians.Francis_kc22015.pdf
typst compile --font-path=assets/fonts documentary_page.typ reg_lapa_Cagulis_Kristians.Francis_kc22015.pdf
- name: Upload PDF file
uses: actions/upload-artifact@v4
with:
@ -40,4 +41,5 @@ jobs:
with:
name: "${{ github.ref_name }} — ${{ env.DATE }}"
files: |
main.pdf
Cagulis_Kristians.Francis_kc22015.pdf
reg_lapa_Cagulis_Kristians.Francis_kc22015.pdf

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
/target
/files
*.pdf

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
assets/img/placeholder.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -0,0 +1,10 @@
typst:
type: Web
title: Typst
author:
- Mädje
- Laurenz
- Haug
- Martin
- Typst Projekta Izstrādātāji
url: {value: "https://typst.app/", date: 2025-01-01}

15
justfile Normal file
View File

@ -0,0 +1,15 @@
# List all available commands
default:
@just --list
alias c := compile
# Compile main file
compile:
mkdir -p target
typst compile --font-path=assets/fonts main.typ target/main.pdf
alias w := watch
# Watch main file
watch:
mkdir -p target
typst watch --font-path=assets/fonts main.typ target/main.pdf

101
main.typ
View File

@ -0,0 +1,101 @@
#import "@preview/solo-lu-df:0.1.0": *
#show: ludf.with(
title: "Darba Nosaukums",
authors: (
(
name: "Jānis Bērziņš",
code: "jb12345",
location: [Riga, Latvia],
email: "jb12345@edu.lu.lv",
),
(
name: "Zane Kalniņa",
code: "zk67890",
location: [Riga, Latvia],
email: "zk67890@edu.lu.lv",
),
),
advisors: (
(
title: "Mg. dat.",
name: "Ivars Ozoliņš",
),
),
date: datetime(
year: 2025,
month: 1,
day: 1,
), // defaults to datetime.today()
place: "Rīga",
bibliography: bibliography("bibliography.yml"),
abstract: (
primary: (
text: [
#lorem(50)
#lorem(30)
#lorem(20)
],
keywords: (
"Foo",
"Bar",
"Baz",
),
),
secondary: (
text: [
#lorem(20)
#lorem(30)
#lorem(50)
],
keywords: (
"foo",
"bar",
"baz",
),
),
),
attachments: (
attachment(
caption: "Attachment table",
label: <table-1>,
table(
columns: (1fr, 1fr),
[Column 1], [Column 2],
),
),
),
)
#set heading(numbering: none)
= Apzīmējumu saraksts
/ Docs: Typst dokumentācija.#footnote[https://typst.com/docs/]
/ Universe: Typst kopienas paketes un šabloni.#footnote[https://typst.app/universe/]
= Ievads
#lorem(100)@typst
#set heading(numbering: "1.1.")
= Nodaļas nosaukums
== Apakšnodaļas nosaukums
== Apakšnodaļas nosaukums
== Apakšnodaļas nosaukums
= Nodaļas nosaukums
== Apakšnodaļas nosaukums
== Apakšnodaļas nosaukums
= Nodaļas nosaukums
== Apakšnodaļas nosaukums
== Apakšnodaļas nosaukums
#set heading(numbering: none)
= Rezultāti
= Secinājumi