Skip to content
greek conversion

CapitalMarksOrthography

CapitalMarksOrthography = "preserve" | "omit"

Defined in: src/options.ts:89 (opens in a new tab)

Selects the marks of a word in capitals in Greek output. "omit", the default, follows Greek usage, which writes words in capitals without accents: a word in capitals takes no accent, breathing, coronis, or quantity mark, keeps its diaeresis, and takes one on the second of two vowels where a mark on the first showed their hiatus (Μάιος → ΜΑΪΟΣ, ἀίδηλος → ΑΪΔΗΛΟΣ), or an iota adscript, which it cannot tell from a hiatus (Ἅιδης → ΑΪΔΗΣ); the disjunctive ή keeps its accent, which tells it from the article (Ή, from ή, ἤ, or ἢ). A word is in capitals when all its letters are, and a word of one letter when the nearest word on either side is in capitals and neither is in small letters (Ο ΛΟΓΟΣ, Η Δ’ ΟΣ), or the text is set in capitals (text.letterCase: "uppercase"); a capital that begins a word in small letters keeps its marks (Έλληνας). The search for the nearest word passes the words of one letter, and stops at a number or a numeral, past which it finds none (ΘΕΟΣ ιβʹ Ὁ keeps its marks). The iota subscript follows iotaSubscript, whose "capital-adscript" writes it as a letter after a capital (ΤΗΙ ΩΙΔΗΙ). Each mark removed and each diaeresis written is reported. "preserve" writes every mark the document has (ΜΆΙΟΣ, ἈΘΗ͂ΝΑΙ), as an edition that prints them does. Beta Code and transliteration keep the marks, which they write on capitals.