FLM Feature flm.feature.quote

Provides block quotation environments (quote, blockquote, address) with support for structured quote sections (\text, \lines, \attributed, \block). Content can be auto-wrapped into a default section type, and \lines sections support per-line \indent and \\ line breaks.

class flm.feature.quote.FeatureQuote(quote_environments: Mapping[str, TypeQuoteEnvironmentDef] | None = None)

Bases: Feature

Feature plugin for block quotations. Registers configurable quote-type environments (by default quote, blockquote, and address), each with its own set of enabled section commands and optional auto-wrapping of bare content. Does not require document- or render-level manager state.

feature_name: str | None = 'quotation'

A name that should uniquely identify this feature.

feature_title: str | None = "Quote other people's words, with attribution"

Descriptive name or title for this feature.

feature_flm_doc = '\n    Provides the \\verbcode+\\begin{quote} ... \\end{quote}+ environment to produce\n    block literary quotations.\n    '
DocumentManager: Type[FeatureDocumentManagerBase] | None = None

The document manager class to use for this feature. Instances of this class will automatically be created when a new flmdocument.FLMDocument is instantiated. This class is expected to be a subclass of flm.feature.FeatureDocumentManagerBase. Alternatively, set this class attribute to None in your feature subclass to indicate that this feature does not need any document manager instance.

RenderManager: Type[FeatureRenderManagerBase] | None = None

The render manager class to use for this feature. Instances of this class will automatically be created when rendering a flmdocument.FLMDocument (see flm.flmdocument.FLMDocument.render(), and more specifically flm.flmdocument.FLMDocument.make_render_context()). This class is expected to be a subclass of flm.feature.FeatureRenderManagerBase. Alternatively, set this class attribute to None in your feature subclass to indicate that this feature does not need any document manager instance.

add_latex_context_definitions()
flm.feature.quote.FeatureClass = <class 'flm.feature.quote.FeatureQuote'>

Feature plugin for block quotations. Registers configurable quote-type environments (by default quote, blockquote, and address), each with its own set of enabled section commands and optional auto-wrapping of bare content. Does not require document- or render-level manager state.