Skip to main content

Module text_case

Module text_case 

Source
Expand description

Title text-case transform functions. Title text-case transforms.

Implements structured-title-aware casing for bibliography output. All transforms operate on Djot-markup-bearing strings and respect .nocase span protection via the rich-text renderer.

Functionsยง

apply_text_case
Apply a text-case transform to a single plain-text segment.
apply_to_structured_parts
Apply text-case to a structured title (main + subtitles).
is_english_language
Returns true if the given language tag indicates English.
resolve_text_case
Resolve the effective text-case, applying language fallback.