From 2d16f9434f46ab591cede54def23ae4bc477b668 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Mon, 20 Mar 2023 21:56:32 +0100 Subject: Documentation for citation, bibliography, and content --- library/src/math/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'library/src/math') diff --git a/library/src/math/mod.rs b/library/src/math/mod.rs index cf665203..4e91dd51 100644 --- a/library/src/math/mod.rs +++ b/library/src/math/mod.rs @@ -158,7 +158,7 @@ pub struct EquationElem { } impl Synthesize for EquationElem { - fn synthesize(&mut self, _: &Vt, styles: StyleChain) { + fn synthesize(&mut self, styles: StyleChain) { self.push_block(self.block(styles)); self.push_numbering(self.numbering(styles)); } @@ -216,7 +216,7 @@ impl Layout for EquationElem { if let Some(numbering) = self.numbering(styles) { let pod = Regions::one(regions.base(), Axes::splat(false)); let counter = Counter::of(Self::func()) - .display(numbering, false) + .display(Some(numbering), false) .layout(vt, styles, pod)? .into_frame(); -- cgit v1.2.3