#typst-bytefield update

45 messages ยท Page 1 of 1 (latest)

upbeat flower
#

new bytefield version (0.0.4) is ready. (As soon as the pr is merged also as a official package) Still many things left to improve but has some new features like support for annotations, which was worth an update. And with some hacks, also memory maps and register definitions are working.

Repo: https://github.com/jomaway/typst-bytefield
Manual: https://github.com/jomaway/typst-bytefield/blob/main/docs/docs.pdf

GitHub

bytefield package for typst. Contribute to jomaway/typst-bytefield development by creating an account on GitHub.

GitHub

bytefield package for typst. Contribute to jomaway/typst-bytefield development by creating an account on GitHub.

slender cradle
#

Gorgeous ๐ŸŽ‰

left blade
#

I use this quite a bit so thanks for the fantastic work!

fair oasis
#

Awesome !

fair oasis
#

Is it possible to fill a background color to the bitheaders (like I did in my previous table)?

#

Well, it works doing the opposite: making a gray filled wrapper box and then setting white bits/bytes fields

upbeat flower
#

I guess this is not possible right now without your hack, but i will add it to the list of requested features. Just that we talking about the same thing, you basically want the row with the numbers to be in a gray color, right?

fair oasis
#

Yes

vital sparrow
#

@north lantern why not just use this beauty.. what are we doing....... this is sooo pretty.

north lantern
#

๐Ÿ’€

vital sparrow
north lantern
#

Anyway, don't disrupt my work, I am too busy writing a custom arena allocated tree in rust for my project so I could have full control over how memory is managed ๐Ÿ˜ก

river saffron
#

this package is absolutely amazing

hollow sigil
#

Really nice to see all those new features ๐ŸŽ‰

upbeat flower
fair oasis
#

Oh thanks you rock !

left blade
#

@upbeat flower Is there a way to set the stroke color for a block/bit?

upbeat flower
left blade
fair oasis
#

Hi @upbeat flower, I'm trying to remove the tablex dependancy using Typst 0.11, but I have a weird bug when a field (bytes or bits) has a size of n*bpr with n>1
It seems that in that specific situation, the box height (which is set to 100%) takes the whole page

#

#bytefield(
  bytes(8)[hello world],  
)

#

To remove tablex, all I did was to replace cellx to grid.cell, and gridx to grid using the latest version of typst

upbeat flower
#

I want to wrap up a small release which includes some new features like header bg color and works for typst 0.10 and then port everything to the new typst cells in a following release.

fair oasis
#

I think I fixed it @upbeat flower

#

I made a pull request

upbeat flower
# fair oasis I made a pull request

wow thanks, you were quick i had this on my todo for next week. I will have a look at it later, there is no rush as a package update won't be merged until 0.11.0 stable was released.

#

Anyway i added an option to set a header background globally for all bytefields. Maybe this is something you are interested in ๐Ÿ˜‰

fair oasis
#

Yes I've seen it thank you. It's okay if it's not pushed asap, I'll use my patch on my side until everything is ready

#

Feel free to paste your todo list at the top of the thread, I'll be happy to help if I can

pastel lotus
#

I love it and I will absolutely need it !

stray ore
#

Saw this on the universe page

Using tablex under the hood.
Is this still true as of now?

fair oasis
#

The v0.0.5 still has the tablex dependancy, but it has been removed in the main branch

#

You could clone the repo and use it instead

stray ore
#

Nah was just asking, since the new tables are powerful enough.

fair oasis
#

Yeah they also decrease the build time which is cool.

upbeat flower
#

Planning to release an updated version without tablex in about two weeks, if i have some spare time.

slender cradle