I’m migrating from unify ( unify – Typst Universe) to zero ( zero – Typst Universe) for typesetting numbers and quantities. Some time ago, the developers of typsium helped me out with some weird stuff in having #qty above/below an arrow such as in this example:
#ce[^232Th ->[(n,γ)] ^233Th ->[β-][#qty(21.83, "min")] ^233Pa ->[β^-[#qty(26.98, "day")] ^233U]
However, when I replace the #qty(21.83, "min") with #zero.quan[21.83 min], I get an elembic-related error in typsium:
error: unknown variable: e
┌─ @preview/typsium:0.3.2/src/parse-content-intermediate-representation.typ:844:25
│
844 │ let elembic-data = e.data(child.value)
│ ^
while calling `create-full-string` at @preview/typsium:0.3.2/src/parse-content-intermediate-representation.typ:940:33
create-full-string(children)
while calling `content-to-reaction` at @preview/typsium:0.3.2/src/ce.typ:51:19
content-to-reaction(formula)
What is the difference between the return value of unify.qty and zero.quan that makes the typsium code choke?