/*
SPDX-License-Identifier: MIT OR Apache-2.0
SPDX-FileCopyrightText: © 2023-2026 Bruce D'Arcus
*/
//! Typst PDF compilation shim. Bundled-Typst PDF output isn't available in
//! the crates.io-published `citum` binary because the `citum-pdf` helper
//! crate isn't yet on crates.io. Users on the published binary should run
//! `citum render doc … -f typst -o paper.typ && typst compile paper.typ`.
use Error;
use Path;
/// Compile a generated Typst document to PDF.
///
/// Returns an error in the v1 published build: bundled PDF compilation
/// requires the `citum-pdf` crate, which is not yet on crates.io. Users
/// can install Typst separately (https://typst.app/docs/) and run
/// `typst compile <source.typ>` on the output of
/// `citum render doc … -f typst`.