Skip to content

Update to typst 0.13.1 - #77

Open
VincentTam wants to merge 2 commits into
fenjalien:masterfrom
VincentTam:typst0131
Open

Update to typst 0.13.1#77
VincentTam wants to merge 2 commits into
fenjalien:masterfrom
VincentTam:typst0131

Conversation

@VincentTam

Copy link
Copy Markdown

Goal

To keep this plugin using the latest stable version of typst.
Resolves #67 and #75.

Results

Successful part

I tested with the latest stable version of fletcher (0.5.8), and it worked.
screen
screen1
The CeTZ image below is using 0.3.4.

Unsuccessful part

From CeTZ 0.4.0 onwards, my fork fails to load the WASM.
3a7b5cb46de15706c47545e212ecfc1dd4baa0a8

Uncaught Error: failed to load WebAssembly module (unexpected end-of-file (at offset 0xd))
   ╭─[ @preview/cetz:0.4.0/src/matrix.typ:3:25 ]
   │
 3 │ #let cetz-core = plugin("../cetz-core/cetz_core.wasm")
───╯

P.S. I don't know Rust.

  • layout::PagedDocument, Bytes and data: fill were found after searching and reading the code base.
  • All parts were done with AI assistance.

@chardskarth

chardskarth commented Oct 9, 2025

Copy link
Copy Markdown

Hi there @VincentTam , I forked your repo, created a release and installed via BRAT.

But I'm seeing this error:
image

@TheoFailenschmid

Copy link
Copy Markdown

Hey, i just saw this & was experimenting with typst in obisidian myself and found out with 0.13.0 typst started supporting HTML export (experimental). So if this PR will be merged, it will also be possible to resolve the HTML issue in the long run.
https://typst.app/docs/reference/html/

@chardskarth

Copy link
Copy Markdown

I'm not entirely sure how this PR works on your end. I was experiencing a couple of issues and my PR fixes this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Typst 0.12 Status

3 participants