{"record":{"id":"2dc3f3ecf675ce6b","repo":"typst/typst","slug":"was-ignored-during-paged-export","errorCode":null,"errorMessage":"{} was ignored during paged export","messagePattern":"(.+?) was ignored during paged export","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/typst-layout/src/flow/collect.rs","lineNumber":118,"sourceCode":"            } else if let Some(elem) = child.to_packed::<ParElem>() {\n                self.par(elem, styles)?;\n            } else if let Some(elem) = child.to_packed::<BlockElem>() {\n                let alone = children.len() == 1;\n                self.block(elem, styles, alone);\n            } else if let Some(elem) = child.to_packed::<PlaceElem>() {\n                self.place(elem, styles)?;\n            } else if child.is::<FlushElem>() {\n                self.output.push(Child::Flush);\n            } else if let Some(elem) = child.to_packed::<ColbreakElem>() {\n                self.output.push(Child::Break(elem.weak.get(styles)));\n                self.par_situation = ParSituation::First;\n            } else if child.is::<PagebreakElem>() {\n                bail!(\n                    child.span(), \"pagebreaks are not allowed inside of containers\";\n                    hint: \"try using a `#colbreak()` instead\";\n                );\n            } else {\n                self.engine.sink.warn(warning!(\n                    child.span(),\n                    \"{} was ignored during paged export\",\n                    child.func().name(),\n                ));\n            }\n        }\n        Ok(())\n    }\n\n    /// Perform collection for inline-level children.\n    fn run_inline(&mut self, children: &[Pair<'a>]) -> SourceResult<()> {\n        // Compute the shared styles.\n        let styles = StyleChain::trunk_from_pairs(children).unwrap_or_default();\n\n        // Layout the lines.\n        let lines = crate::inline::layout_inline(\n            self.engine,\n            children,","sourceCodeStart":100,"sourceCodeEnd":136,"githubUrl":"https://github.com/typst/typst/blob/6a6f1a97a3446fc6ba5a723b0baf20a0cfeaaef5/crates/typst-layout/src/flow/collect.rs#L100-L136","documentation":"Emitted as a warning-style error during paged export flow collection: a child element (e.g. an HTML-only or non-paged construct) has no representation in paged layout, so it was ignored rather than laid out.","triggerScenarios":"Thrown at crates/typst-layout/src/flow/collect.rs:99 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Remove or guard the non-paged element when targeting PDF/printed output","Use a paged-compatible element instead"],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"6a6f1a97a3446fc6ba5a723b0baf20a0cfeaaef5","analyzedAt":"2026-08-17T21:03:48.984Z","contentChangedAt":"2026-08-17T21:03:48.984Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}