diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-11-16 10:41:30 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-11-16 10:41:30 +0100 |
| commit | 0e0f340502beada1cd9ee23857f48b91a0d11a90 (patch) | |
| tree | e4e4087260720adf4bab57edeac6a3d3cb5f14cf /src/main.rs | |
| parent | bc118634aca5de415d211cab38c4eaa3d3cca25f (diff) | |
Revert page and inline levels
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index b2ae1ea3..fa8b6103 100644 --- a/src/main.rs +++ b/src/main.rs @@ -60,8 +60,8 @@ fn try_main() -> anyhow::Result<()> { // Typeset. match ctx.typeset(id) { // Export the PDF. - Ok(document) => { - let buffer = export::pdf(&ctx, &document); + Ok(frames) => { + let buffer = export::pdf(&ctx, &frames); fs::write(&args.output, buffer).context("failed to write PDF file")?; } |
