diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-05-25 13:50:33 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-05-25 13:59:06 +0200 |
| commit | c010cbc17dcbb2f0d6005d21530143bf57cb5871 (patch) | |
| tree | 937fe79f0c121bcc025480181287fd4a3d0c0f4f /src/main.rs | |
| parent | 6935cf8dfefff3d6cf234f077a7d61661fd5ca57 (diff) | |
Move route from context to VM
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 2865c67e..821f1008 100644 --- a/src/main.rs +++ b/src/main.rs @@ -214,7 +214,7 @@ fn typeset(command: TypesetCommand) -> StrResult<()> { .map_err(|_| "failed to load source file")?; // Typeset. - match ctx.typeset(id) { + match typst::typeset(&mut ctx, id) { // Export the PDF. Ok(frames) => { let buffer = export::pdf(&ctx, &frames); |
