Skip to content

Commit

Permalink
feat(filters): Catch sentance-leading abreviations in Turkish so foot…
Browse files Browse the repository at this point in the history
…notes don't wrap
  • Loading branch information
alerque committed Aug 22, 2024
1 parent 3b222aa commit 9c6ad26
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pandoc-filters/sentence_lines.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,23 @@ local locale = os.getenv("LANGUAGE") or "en"
local eos = "%P.+[%.%!%?]+%)?$"

local tr_non_terminal = {
["Bkz."] = true,
["bkz."] = true,
["(bkz."] = true,
["Krş."] = true,
["krş."] = true,
["(krş."] = true,
["Örn."] = true,
["örn."] = true,
["(örn."] = true,
["Ör."] = true,
["ör."] = true,
["(ör."] = true,
["Ç.N."] = true,
["Ç.n."] = true,
["ç.n."] = true,
["ÇN."] = true,
["çn."] = true,
}

local en_non_terminal = {
Expand Down

0 comments on commit 9c6ad26

Please sign in to comment.