From c010cbc17dcbb2f0d6005d21530143bf57cb5871 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Wed, 25 May 2022 13:50:33 +0200 Subject: Move route from context to VM --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.rs') 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); -- cgit v1.2.3