pandoc uses the "lang" property
This commit is contained in:
parent
333f23f55c
commit
c8b811a733
10 changed files with 10 additions and 10 deletions
|
@ -12,7 +12,7 @@ import qualified Data.Map as Map
|
||||||
main :: IO ()
|
main :: IO ()
|
||||||
main = toJSONFilter filter where
|
main = toJSONFilter filter where
|
||||||
filter p@(Pandoc (Meta m) _) = do
|
filter p@(Pandoc (Meta m) _) = do
|
||||||
lang' <- toLang $ Map.lookup "lang" m
|
lang' <- toLang $ Map.lookup "conlang" m
|
||||||
let ?lang = lang'
|
let ?lang = lang'
|
||||||
fmap (walk makeEbnf .
|
fmap (walk makeEbnf .
|
||||||
walk (concatMap makeFigures) .
|
walk (concatMap makeFigures) .
|
||||||
|
|
|
@ -3,7 +3,7 @@ title: List of abbreviations
|
||||||
hidetoc: true
|
hidetoc: true
|
||||||
backname: Lántas
|
backname: Lántas
|
||||||
backlink: ../laantas
|
backlink: ../laantas
|
||||||
lang: lántas
|
conlang: lántas
|
||||||
...
|
...
|
||||||
|
|
||||||
:::threecol
|
:::threecol
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
title: Lántas examples
|
title: Lántas examples
|
||||||
backname: Lántas
|
backname: Lántas
|
||||||
backlink: .
|
backlink: .
|
||||||
lang: lántas
|
conlang: lántas
|
||||||
...
|
...
|
||||||
|
|
||||||
# The North Wind and the Sun
|
# The North Wind and the Sun
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: Lántas
|
title: Lántas
|
||||||
toc: false
|
toc: false
|
||||||
lang: lántas
|
conlang: lántas
|
||||||
...
|
...
|
||||||
|
|
||||||
:::splash
|
:::splash
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
title: Lántas nouns
|
title: Lántas nouns
|
||||||
backname: Lántas
|
backname: Lántas
|
||||||
backlink: .
|
backlink: .
|
||||||
lang: lántas
|
conlang: lántas
|
||||||
...
|
...
|
||||||
|
|
||||||
Lántas is unusual (as far as I know) in that words which are often considered
|
Lántas is unusual (as far as I know) in that words which are often considered
|
||||||
|
|
|
@ -3,7 +3,7 @@ title: Lántas numbers
|
||||||
hidetoc: true
|
hidetoc: true
|
||||||
backname: Lántas
|
backname: Lántas
|
||||||
backlink: .
|
backlink: .
|
||||||
lang: lántas
|
conlang: lántas
|
||||||
...
|
...
|
||||||
|
|
||||||
---- ------------------ ------ ------------------
|
---- ------------------ ------ ------------------
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
title: Lántas phonology
|
title: Lántas phonology
|
||||||
backname: Lántas
|
backname: Lántas
|
||||||
backlink: .
|
backlink: .
|
||||||
lang: lántas
|
conlang: lántas
|
||||||
...
|
...
|
||||||
|
|
||||||
# Vowels
|
# Vowels
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
title: Lántas pronouns, demonstratives, etc
|
title: Lántas pronouns, demonstratives, etc
|
||||||
backname: Lántas
|
backname: Lántas
|
||||||
backlink: .
|
backlink: .
|
||||||
lang: lántas
|
conlang: lántas
|
||||||
...
|
...
|
||||||
|
|
||||||
Pronouns are inflected for the same cases as other nouns, though their forms
|
Pronouns are inflected for the same cases as other nouns, though their forms
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
title: Lántas verbs
|
title: Lántas verbs
|
||||||
backname: Lántas
|
backname: Lántas
|
||||||
backlink: ../laantas
|
backlink: ../laantas
|
||||||
lang: lántas
|
conlang: lántas
|
||||||
...
|
...
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
title: Lántas writing
|
title: Lántas writing
|
||||||
backname: Lántas
|
backname: Lántas
|
||||||
backlink: .
|
backlink: .
|
||||||
lang: lántas
|
conlang: lántas
|
||||||
...
|
...
|
||||||
|
|
||||||
Lántas is written with a simple alphasyllabary, where most glyphs consist of
|
Lántas is written with a simple alphasyllabary, where most glyphs consist of
|
||||||
|
|
Loading…
Reference in a new issue