rajayonin
rajayonin pushed to dev at rajayonin/rivet-typst 2025-11-28 12:36:17 +00:00
1ae489cb94 change default fonts
df7899ee4b Merge pull request 'prevent drawing separators on starting lines of fields' (#17) from rajayonin/rivet-typst:fix-consecutive-ranges into dev
b6f2fd99b8 prevent drawing separators on starting lines of fields
6f13df815f documented start property of structures
Compare 4 commits »
rajayonin commented on pull request HEL/rivet-typst#17 2025-11-25 08:03:21 +00:00
prevent drawing separators on starting lines of fields

Ok, done.

rajayonin pushed to fix-consecutive-ranges at rajayonin/rivet-typst 2025-11-25 08:02:59 +00:00
b6f2fd99b8 prevent drawing separators on starting lines of fields
rajayonin commented on pull request HEL/rivet-typst#17 2025-11-24 08:18:07 +00:00
prevent drawing separators on starting lines of fields

Not really useful since we're only checking if an index is in the list later on (line 431/434)

What do you suggest we do instead?

rajayonin pushed to fix-consecutive-ranges at rajayonin/rivet-typst 2025-11-24 08:17:53 +00:00
3a0331f33b fixup! prevent drawing separators on starting lines of fields
rajayonin created pull request HEL/rivet-typst#17 2025-11-20 09:06:13 +00:00
prevent drawing separators on starting lines of fields
rajayonin created branch fix-consecutive-ranges in rajayonin/rivet-typst 2025-11-20 09:02:17 +00:00
rajayonin pushed to fix-consecutive-ranges at rajayonin/rivet-typst 2025-11-20 09:02:17 +00:00
1ed60e6bfe prevent drawing separators on starting lines of fields
6f13df815f documented start property of structures
Compare 2 commits »
rajayonin commented on issue HEL/rivet-typst#14 2025-11-10 08:36:55 +00:00
Compiler crashes when measuring schema.render

Ok, I was confused because in config.config you can specify width (and height), but it gets overwritten by the one in schema.render.

I've seen the TODO -> remove comments... we…

rajayonin created pull request HEL/rivet-typst#16 2025-11-10 08:26:06 +00:00
change default fonts
rajayonin pushed to dev at rajayonin/rivet-typst 2025-11-10 08:25:19 +00:00
730e4d7fc3 change default fonts
rajayonin opened issue HEL/rivet-typst#15 2025-11-03 09:35:28 +00:00
Change default fonts
rajayonin commented on issue HEL/rivet-typst#14 2025-11-03 08:46:18 +00:00
Compiler crashes when measuring schema.render

I've been looking and... why do you have this logic in the renderer?

src/renderer.typ Lines 535 to 563 in 3e74ad15ee
if config.full-page {
cnvs
} else {
layout(size => {
let m = measure(cnvs)
let w = m.width
let h = m.height
let base-w = if type(width) == ratio {
size.width * width
} else {
width
}
let r = if w == 0 {
0
} else {
base-w / w
}
let new-w = w * r
let new-h = h * r
r *= 100%
box(
width: new-w,
height: new-h,
scale(x: r, y: r, cnvs, reflow: true)
)
})
}

I've…

rajayonin commented on issue HEL/rivet-typst#14 2025-10-31 09:50:24 +00:00
Compiler crashes when measuring schema.render

There are also issues in general with scale, reflow, and captions:

#import "@preview/rivet:0.3.0": schema
#let sch = schema.render(schema.load(
  (
    structures: (
      main:
rajayonin opened issue HEL/rivet-typst#14 2025-10-31 09:16:12 +00:00
Compiler crashes when measuring schema.render
rajayonin deleted branch non-consecutive-ranges from rajayonin/rivet-typst 2025-10-21 07:15:21 +00:00
rajayonin pushed to dev at rajayonin/rivet-typst 2025-10-21 07:15:13 +00:00
1dd66fd587 Merge pull request 'Support for non-consecutive ranges' (#13) from rajayonin/rivet-typst:non-consecutive-ranges into dev
c7c777f5fa ensure first and last bits are included when all-bit-i is set
7ef7f653b7 support for non-consecutive ranges
Compare 3 commits »
rajayonin commented on pull request HEL/rivet-typst#13 2025-10-21 07:09:37 +00:00
Support for non-consecutive ranges

@HEL, when are you planning on releasing the next version of the package?

rajayonin deleted branch fix-all-bit-i from rajayonin/rivet-typst 2025-10-20 17:10:57 +00:00
rajayonin commented on pull request HEL/rivet-typst#13 2025-10-20 17:08:21 +00:00
Support for non-consecutive ranges

We also ensure the first and last bits are set when using non-consecutive ranges w/ all-bit-i: good