summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-02-18 01:07:50 +0100
committerLaurenz <laurmaedje@gmail.com>2022-02-18 01:07:50 +0100
commit05ec0f993b4a1b8481e494ee16285d23f000872f (patch)
treebad1ea092025213173e66a3a88cf2c8d3f4ca3a3 /src/lib.rs
parentacae6e2a54f11b27bae343a15d9eff952323fe28 (diff)
Headers and footers
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 46bcad8d..6ad30d2f 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -283,7 +283,7 @@ impl<'a> Vm<'a> {
/// diagnostics in the form of a vector of error message with file and span
/// information.
pub fn typeset(&mut self, id: SourceId) -> TypResult<Vec<Arc<Frame>>> {
- self.evaluate(id)?.template.layout(self)
+ self.evaluate(id)?.template.layout_pages(self)
}
/// Resolve a user-entered path (relative to the source file) to be