Skip to content

Commit e317c84

Browse files
committed
v0.3.0
1 parent 0a23115 commit e317c84

File tree

5 files changed

+27
-3
lines changed

5 files changed

+27
-3
lines changed

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,28 @@
99

1010
---
1111

12+
# [v0.3.0](https://github.com/SillyFreak/typst-scrutinize/releases/tag/v0.3.0)
13+
Scrutinize 0.3.0 is a major breaking release and adds compatiblitity checks for Typst 0.12 compatibility (this version was released when 0.12.0-rc1 was available).
14+
15+
## Added
16+
- the README now contains images of an example exam
17+
- the task kinds `free-form.lines()`, `free-form.grid()` and `gap.gap()` were added
18+
- `free-form` and `gap` tasks have additional configuration options:
19+
- `stretch` resizes the response space relative to the size of the sample solution
20+
- `placeholder` adds content to show in the answer space in the unsolved exam. This is useful for tasks where something existing needs to be completed.
21+
- tasks can now be fetched in a "scope" of the document, allowing e.g. multiple independent exams
22+
23+
## Changed
24+
- the module stucture was changed
25+
- the `question` module was renamed to `task` to be shorter and more general
26+
- `questions` was renamed to `task-kinds` to match, and to be more descriptive
27+
- from `questions`, the new `solution` module was extracted: `solution` provides facilities for working with the sample solution boolean state, and different task kinds utilize this for displaying different kinds of information
28+
- `task-kinds` doesn't directly hold the task functions; it holds submodules that group them
29+
- the `q()` function (now `t()`) does not wrap a whole task but instead attaches to the preceding heading
30+
- tasks can now have subtasks, by using nested headings
31+
32+
---
33+
1234
# [v0.2.0](https://github.com/SillyFreak/typst-scrutinize/releases/tag/v0.2.0)
1335
Scrutinize 0.2.0 updates it to Typst 0.11.0, using context to simplify the API and --input to more easily specify if a sample solution is to be generated. Some documentation and metadata errors in the 0.1.0 submission were also corrected.
1436

docs/manual.pdf

11 Bytes
Binary file not shown.

docs/manual.typ

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
#let package-meta = toml("/typst.toml").package
99
// #let date = none
10-
#let date = datetime(year: 2024, month: 3, day: 16)
10+
#let date = datetime(year: 2024, month: 10, day: 12)
1111

1212
#show: project.with(
1313
title: "Scrutinize",

gallery/example.typ

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// #import "@preview/scrutinize:0.2.0": grading, question, questions
1+
// #import "@preview/scrutinize:0.3.0": grading, task, solution, task-kinds
22
#import "../src/lib.typ" as scrutinize: grading, task, solution, task-kinds
33
#import task-kinds: free-form, gap, choice
44
#import task: t

typst.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[package]
44
name = "scrutinize"
5-
version = "0.2.0"
5+
version = "0.3.0"
66
entrypoint = "src/lib.typ"
77
authors = [
88
"Clemens Koza <https://github.com/SillyFreak/>"
@@ -23,6 +23,8 @@ exclude = [
2323
"tests",
2424
".typstignore",
2525
"Justfile",
26+
"thumbnail.png",
27+
"thumbnail-solved.png",
2628
]
2729

2830
# [template]

0 commit comments

Comments
 (0)