citeformer.render.formatters.vancouver

Vancouver citation style (ICMJE / NLM recommended format).

Numeric inline markers, rendered as (1) in-text in some variants and bare 1 in others — we emit [1] for consistency with our grammar contract (§10.1: cite-id ::= "[" digits "]"). Downstream users who need parenthesised inline markers post-process via Reference.inline_marker.

Bibliography shape:

  • Article: 1. Author AA, Author BB. Title. Journal. Year;Volume(Issue):Pages.

  • Book: 1. Author AA. Title. City: Publisher; Year.

  • Chapter: 1. Author AA. Chapter Title. In: Editor EE, ed. Book Title. City: Publisher; Year. p. X–Y.

Authors: Last FF (no punctuation between family and initials). After six authors, Vancouver abbreviates with et al..

Module Contents

Classes

VancouverFormatter

Vancouver — numeric, ICMJE biomedical bibliography format.

API

class citeformer.render.formatters.vancouver.VancouverFormatter

Bases: citeformer.render.formatters._base.CitationFormatter

Vancouver — numeric, ICMJE biomedical bibliography format.

name

‘vancouver’

citation_format

‘numeric’

inline(item: citeformer.render.formatters._base.CSLItem, number: int) str
bibliography(item: citeformer.render.formatters._base.CSLItem, number: int) str