Skip to content

Commit

Permalink
move default group names to lib.typ
Browse files Browse the repository at this point in the history
  • Loading branch information
Marmare314 committed Sep 28, 2023
1 parent 55c31dc commit ce3bc6c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 4 additions & 1 deletion src/lib.typ
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
#import "theorem.typ": create-theorem, is-theorem, get-theorem-parameters
#import "styles.typ": numbering-concat, style-simple, numbering-proof
#import "translations.typ": get-translation
#import "selectors.typ": LEMMIFY-DEFAULT-THEOREM-GROUP, LEMMIFY-DEFAULT-PROOF-GROUP, last-heading
#import "selectors.typ": last-heading
#import "reset-counter.typ": concat-fold, reset-counter-heading
#import "types.typ": assert-type, None

#let LEMMIFY-DEFAULT-THEOREM-GROUP = "LEMMIFY-DEFAULT-THEOREM-GROUP"
#let LEMMIFY-DEFAULT-PROOF-GROUP = "LEMMIFY-DEFAULT-PROOF-GROUP"

#let theorem-kind(
kind-name,
group: LEMMIFY-DEFAULT-THEOREM-GROUP,
Expand Down
3 changes: 0 additions & 3 deletions src/selectors.typ
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@
}
}

#let LEMMIFY-DEFAULT-THEOREM-GROUP = "LEMMIFY-DEFAULT-THEOREM-GROUP"
#let LEMMIFY-DEFAULT-PROOF-GROUP = "LEMMIFY-DEFAULT-PROOF-GROUP"

#let select-group(kind-func) = {
assert-type(kind-func, "kind-func", function)
let params = get-theorem-parameters(kind-func[])
Expand Down

0 comments on commit ce3bc6c

Please sign in to comment.