CslBibliographyStyle

class CslBibliographyStyle(cslStyleName: String, bibliographer: Bibliographer) : BibliographyStyle

A BibliographyStyle backed by a CSL style definition, powered by kotlin-bibliographer.

This enables support for the bibliographer's style catalog, a curated selection from the CSL Style Repository, with BibTeX, CSL JSON, YAML, EndNote, and RIS bibliography sources.

Citation label and entry content formatting are delegated to the bibliographer, whose platform-agnostic token output is converted to Quarkdown AST nodes via CslTokenConverter.

Parameters

cslStyleName

the CSL style name (e.g. "apa", "ieee", "chicago-author-date")

bibliographer

the bibliographer rendering citations and entries

See also

Constructors

Link copied to clipboard
constructor(cslStyleName: String, bibliographer: Bibliographer)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The Bibliography derived from the bibliographer's entries, in the order dictated by the style's sorting rules.

Link copied to clipboard

Strategy to retrieve citation labels for bibliography entries.

Link copied to clipboard
open override val name: String

The name of this bibliography style.

Functions

Link copied to clipboard
open override fun contentOf(entry: BibliographyEntry): InlineContent

Provides the formatted inline content for a bibliography entry.