pub fn format_in_text(
refs: &[Reference],
cite: &CiteRef,
style: Format,
numbers: &BTreeMap<String, usize>,
) -> StringExpand description
Format a complete inline citation group per style.
Pure. numbers maps reference keys → IEEE/ACM citation numbers and is only
consulted for numbered styles. Unknown keys degrade gracefully (the key text
for author styles, [0] for numbered styles).
Examples (APA): [@smith2020] → (Smith, 2020),
[@smith2020, p. 12] → (Smith, 2020, p. 12),
[@a; @b] → (A, 2020; B, 2019). (IEEE): [1], [2].