pub(crate) fn emit_pages( pdf: &mut Pdf, graph: &PageGraph, ctx: &PageEmitContext<'_>, ) -> Result<()>