diff --git a/crates/reflexo-typst/src/exporter/text.rs b/crates/reflexo-typst/src/exporter/text.rs index e5d1f216..d79d2645 100644 --- a/crates/reflexo-typst/src/exporter/text.rs +++ b/crates/reflexo-typst/src/exporter/text.rs @@ -38,6 +38,7 @@ impl FullTextDigest { } fn export_item(f: &mut fmt::Formatter<'_>, item: &typst::layout::FrameItem) -> fmt::Result { + #[cfg(not(feature = "no-content-hint"))] use std::fmt::Write; use typst::introspection::Meta::*; use typst::layout::FrameItem::*; diff --git a/scripts/publish.py b/scripts/publish.py index 5d40eefa..108ad680 100644 --- a/scripts/publish.py +++ b/scripts/publish.py @@ -8,10 +8,10 @@ subprocess.run([*pub, "reflexo"]) subprocess.run([*pub, "reflexo-vfs"]) subprocess.run([*pub, "reflexo-world"]) -subprocess.run([*pub, "reflexo-typst2vec"]) +subprocess.run([*pub, "reflexo-typst2vec", *feats]) subprocess.run([*pub, "reflexo-vec2bbox"]) subprocess.run([*pub, "reflexo-vec2canvas"]) -subprocess.run([*pub, "reflexo-vec2dom"]) subprocess.run([*pub, "reflexo-vec2sema"]) subprocess.run([*pub, "reflexo-vec2svg", *feats]) +subprocess.run([*pub, "reflexo-vec2dom", *feats]) subprocess.run([*pub, "reflexo-typst", *feats])