Skip to main content

bibitem_tag_props

Function bibitem_tag_props 

Source
pub fn bibitem_tag_props(
    doc: &PostDocument,
    node: &Node,
) -> Vec<(String, Value)>
Expand description

Read a <ltx:bibitem>’s <ltx:tags>/<ltx:tag role="…"> children into the ObjectDB props CrossRef’s fill phase (make_bibcite) reads: authors, fullauthors, year, number, refnum, title, plus keytag (role key) and typetag (role bibtype). Port of Perl Scan::bibitem_handler (Scan.pm L475-483). Shared by Scan::bibitem_handler (the initial scan of authored \bibitems) and MakeBibliography’s rescan of the bibitems it generates from .bib/.bbl — the same values, from whichever pass first produced the formatted entry, so an author-year inline citation resolves to the SAME author-year label the References list shows.