Commit Graph

127 Commits

Author SHA1 Message Date
173acfc35a 1769259936 2026-01-24 15:05:36 +02:00
efd9d2c70c add img to utils.typ 2026-01-24 15:03:23 +02:00
f897c6dca0 update readme 2026-01-24 15:01:44 +02:00
8160fa8f10 1769258864 2026-01-24 14:47:44 +02:00
c4e4bbf093 helpers, fixes 2026-01-24 14:45:17 +02:00
3e55bb39a2 1769194824 2026-01-23 21:00:24 +02:00
8b86abb244 1769194548 2026-01-23 20:55:48 +02:00
8ead3f8ebb fixes 2026-01-22 18:07:16 +02:00
ae6bce387c split up again, with some cool stuff 2026-01-22 17:39:47 +02:00
e643c313ba merge back into lib.typ 2026-01-18 01:21:27 +02:00
3865c00ad9 move to dictionary.at(layout) 2026-01-17 18:22:47 +02:00
fa76185b7f add complex page 2026-01-17 17:54:11 +02:00
891d33b236 move lib.typ to src/ 2026-01-17 17:24:32 +02:00
f3adc98f86 rename 2026-01-17 16:41:05 +02:00
7bb0925662 i think we need edu_program for authorless jobs 2026-01-17 16:25:44 +02:00
3cde131ed6 WIP!: break up lib.typ 2026-01-17 15:45:36 +02:00
549d7f060f fix formatting, use .first() instead of .at(0) 2026-01-13 12:45:44 +02:00
73ab5c8f08 feat: set multiple authors in coursework 2026-01-12 01:13:56 +02:00
96f5070167 feat: put all author names in metadata 2026-01-12 01:06:54 +02:00
5cc95f17c7 Merge pull request 'feat!: refactor' (#15) from unexplrd/typst_nure_template:0.1.0 into 0.1.0
Reviewed-on: pencelheimer/typst_nure_template#15
Reviewed-by: Anton Bilous <oxidate@tuta.io>
2026-01-12 00:16:45 +02:00
c49e911aad fix: use regex for is-cyr
fix: remove unused properties from coursework
2026-01-12 00:01:45 +02:00
c1490ce893 fix: update templates, remove comment 2026-01-11 22:07:29 +02:00
79579208fa fix: fix new line 2026-01-11 21:41:26 +02:00
5bd47ac4c1 refactor!: add functions, break things 2026-01-11 21:22:32 +02:00
6cb71054cf feat!: remove chapters 2025-11-11 15:31:56 +02:00
b28578be34 feat: make doc.yaml optional
docs: update README.md
2025-11-11 15:25:05 +02:00
3ece994ced fix: left align for listings 2025-11-11 14:50:10 +02:00
6e10c4ae2b feat: add new subjects 2025-10-18 19:44:58 +03:00
3e6f3bf7c4 fix: set correct name for appendice heading 2025-10-18 19:44:30 +03:00
8dcbee291c Added new subjects, sorted existing subjects 2025-09-25 11:56:44 +03:00
4a78f8f3ee add new subjects 2025-09-22 17:54:04 +03:00
648824fd46 fail compilation if subject is unknown 2025-09-22 17:53:46 +03:00
1d6412c60f chore(lib): fixed vim modeline 2025-07-25 12:31:43 +03:00
3ba9990dc1 style(lib): fixed styling (maybe not) 2025-07-25 12:31:02 +03:00
2e65baae70 refactor: backport changes from noatu's fork
feat(style)!: remove reference styling & fix figure numbering for appendices
feat!: swap appending on 'none' being the first position in ..sink
feat: add chapters to pz-lb()
feat: add asserts
fix: better control flow

img() function now requires `none` to be the first position in ..sink,
e.g. `#img("/fig/1.png", "Caption", none)` to get "Caption (рисунок виконано самостійно)" caption.

Use `@some_label[див. рис.]` to get a "див. рис. 42" link.

Signed-off-by: unexplrd <unexplrd@linerds.us>
2025-07-09 17:17:53 +03:00
d338c21965 Merge pull request 'add name of educational program && names of subjects for this semester' (#14) from add-program-and-subject-names into 0.1.0
Reviewed-on: pencelheimer/typst_nure_template#14
LGTM
2025-05-25 04:11:28 +03:00
7e15ea09d4 add name of educational program && names of subjects for this semester 2025-05-25 04:08:53 +03:00
3b3d62fd9b lib.typ: too lazy to name it
Signed-off-by: unexplrd <unexplrd@linerds.us>
2025-05-20 20:46:32 +03:00
04c5b283e7 lib.typ: better code branching
Signed-off-by: unexplrd <unexplrd@linerds.us>
2025-05-20 20:31:41 +03:00
3ca8409e58 fix: heading numbering when no title 2025-04-26 18:38:36 +03:00
e0811afaae fix: move appendix styling out of the coursework template
It is now possible to style headings as appendices in the pz-lb template via `#show: appendices_style`.
2025-04-20 21:21:16 +03:00
7ec79ee898 fix: make variant in authors truly optional
In `pz-lb` template the `authors.variant` may be omitted now.
2025-04-16 22:05:22 +03:00
47117749cf fix: set fallback monospace font
Signed-off-by: unexplrd <unexplrd@linerds.us>
2025-04-08 21:22:16 +03:00
e214656166 docs(readme): update readme, add a note
Signed-off-by: unexplrd <unexplrd@linerds.us>
2025-03-24 00:27:50 +02:00
99234a73a9 README.md: add an image
assets/pz-lb_title_page.png: the image added

Signed-off-by: unexplrd <unexplrd@linerds.us>
2025-03-24 00:10:21 +02:00
901d670a1c Merge pull request 'feat: add some random subjects to config/universities.yaml' (#13) from sekomi/typst_nure_template:0.1.0 into 0.1.0
Reviewed-on: pencelheimer/typst_nure_template#13
2025-03-23 23:58:41 +02:00
594e908bb1 feat: add some random subjects to config/universities.yaml 2025-03-23 23:41:32 +02:00
32c6a1663c feat: make mentor.degree in pz-lb optional
fix: remove personal font preference

Signed-off-by: unexplrd <unexplrd@linerds.us>
2025-03-23 16:15:49 +02:00
9cc7229851 style: reformat with "typstyle -c 120"
Signed-off-by: unexplrd <unexplrd@linerds.us>
2025-03-20 16:45:59 +02:00
1646f5249b fix: update templates accordingly
Signed-off-by: unexplrd <unexplrd@linerds.us>
2025-03-20 16:44:46 +02:00