CslBibliographyStyle

class CslBibliographyStyle(cslStyleName: String, provider: ItemDataProvider, locale: String? = null) : BibliographyStyle

A BibliographyStyle backed by a CSL style definition, powered by citeproc-java.

This enables support for a curated selection of citation styles from the CSL Style Repository, including BibTeX, CSL JSON, YAML, EndNote, and RIS bibliography sources.

Citation label and entry content formatting are delegated to citeproc-java, which processes the CSL XML style definition and produces structured output converted to Quarkdown AST nodes via QuarkdownCslFormat and CslTokenConverter.

Parameters

cslStyleName

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

provider

the item data provider supplying bibliography data to citeproc-java

locale

optional RFC 4646 locale tag (e.g. "en-US", "de-DE"). Controls localized terms such as "and"/"und", month names, and ordinal suffixes. When null, the style's default locale is used, falling back to "en-US".

See also

Constructors

Link copied to clipboard
constructor(cslStyleName: String, provider: ItemDataProvider, locale: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The Bibliography derived from the provider's entry IDs.

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.