From 26bdc1f0f6fe8113d7fcfb4d5aca46aa5238ccd8 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Sun, 5 Dec 2021 12:54:03 +0100 Subject: Set Rules Episode I: The Phantom Style --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index b05a57b3..096995b7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -110,7 +110,7 @@ impl Context { /// Execute a source file and produce the resulting page nodes. pub fn execute(&mut self, id: SourceId) -> TypResult { let module = self.evaluate(id)?; - Ok(module.template.to_document(&self.style)) + Ok(module.node.into_document()) } /// Typeset a source file into a collection of layouted frames. -- cgit v1.2.3