Writing System

The writing system of the text or part of it.

Why specify the writing system separately from the language, as is done in EpiDoc (IETF BCP 47 standard)? Because the identity of the writing system does not correspond to linguistic identity.

Syntax

Any valid metadata key referring to the writing system followed by an equal sign = and a valid ISO 15924 writing system code, enclosed within dollar signs $…$.

Overview

NotationSimplified ASTPaper Output
$kₘ=Cᵢ$WritingConv{writing_system: WsCode(Cᵥ), …}
  • kₘ = any valid metadata key (listed below).
  • Cᵢ = ISO 15924 writing system code.
  • Cᵥ = validated code.

Supported Metadata Keys and Values

KeyMeaningFormattingMinification
writing_system, wswriting systemwsws

Examples

NotationPaper Output
$ws=latn$ abc /
abc
$writing_system=phli$ 𐭠𐭡𐭢 /
𐭠𐭡𐭢

EpiDoc Outputs

NotationEpiDoc (XML)
$ws=latn$ abc /
<ab>
    <lb/> abc</ab>
$writing_system=phli$ 𐭠𐭡𐭢 /
<ab>
    <lb/> 𐭠𐭡𐭢</ab>

Structural Analysis (Conceptual AST)

NotationAST
$ws=latn$ abc /
WritingConv(ws=Latn)
WS
Plain("abc")
LineBreak
$writing_system=phli$ 𐭠𐭡𐭢 /
WritingConv(ws=Phli)
WS
Plain("𐭠𐭡𐭢")
LineBreak