Skip to content

Commit

Permalink
[add] Expose num-state and remove unused states
Browse files Browse the repository at this point in the history
  • Loading branch information
Mc-Zen committed Dec 10, 2024
1 parent 5196dcf commit 5d60208
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/formatting.typ
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#import "state.typ": num-state, group-state
#import "state.typ": num-state
#import "parsing.typ": *


Expand Down
2 changes: 1 addition & 1 deletion src/num.typ
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#import "state.typ": num-state, group-state, round-state
#import "state.typ": num-state
#import "formatting.typ": *
#import "rounding.typ": *
#import "assertations.typ": *
Expand Down
3 changes: 0 additions & 3 deletions src/state.typ
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,4 @@
)
#let num-state = state("num-state", default-state)

#let group-state = state("group-state", default-state.group)

#let round-state = state("round-state", default-state.round)

2 changes: 1 addition & 1 deletion src/zero.typ
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#import "impl.typ"
#import "num.typ": num, nonum, set-num, set-group, set-round
#import "state.typ": default-state
#import "state.typ": default-state, num-state
#import "ztable.typ": ztable
2 changes: 2 additions & 0 deletions tests/tables/test.typ
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@
[4], [1.2+-3],
[4], [1.2+-5],
)


]

#pagebreak()
Expand Down

0 comments on commit 5d60208

Please # to comment.