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 = toJSONFilter filter where
|
||||
filter p@(Pandoc (Meta m) _) = do
|
||||
lang' <- toLang $ Map.lookup "lang" m
|
||||
lang' <- toLang $ Map.lookup "conlang" m
|
||||
let ?lang = lang'
|
||||
fmap (walk makeEbnf .
|
||||
walk (concatMap makeFigures) .
|
||||
|
|
|
@ -3,7 +3,7 @@ title: List of abbreviations
|
|||
hidetoc: true
|
||||
backname: Lántas
|
||||
backlink: ../laantas
|
||||
lang: lántas
|
||||
conlang: lántas
|
||||
...
|
||||
|
||||
:::threecol
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
title: Lántas examples
|
||||
backname: Lántas
|
||||
backlink: .
|
||||
lang: lántas
|
||||
conlang: lántas
|
||||
...
|
||||
|
||||
# The North Wind and the Sun
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
title: Lántas
|
||||
toc: false
|
||||
lang: lántas
|
||||
conlang: lántas
|
||||
...
|
||||
|
||||
:::splash
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
title: Lántas nouns
|
||||
backname: Lántas
|
||||
backlink: .
|
||||
lang: lántas
|
||||
conlang: lántas
|
||||
...
|
||||
|
||||
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
|
||||
backname: Lántas
|
||||
backlink: .
|
||||
lang: lántas
|
||||
conlang: lántas
|
||||
...
|
||||
|
||||
---- ------------------ ------ ------------------
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
title: Lántas phonology
|
||||
backname: Lántas
|
||||
backlink: .
|
||||
lang: lántas
|
||||
conlang: lántas
|
||||
...
|
||||
|
||||
# Vowels
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
title: Lántas pronouns, demonstratives, etc
|
||||
backname: Lántas
|
||||
backlink: .
|
||||
lang: lántas
|
||||
conlang: lántas
|
||||
...
|
||||
|
||||
Pronouns are inflected for the same cases as other nouns, though their forms
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
title: Lántas verbs
|
||||
backname: Lántas
|
||||
backlink: ../laantas
|
||||
lang: lántas
|
||||
conlang: lántas
|
||||
...
|
||||
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
title: Lántas writing
|
||||
backname: Lántas
|
||||
backlink: .
|
||||
lang: lántas
|
||||
conlang: lántas
|
||||
...
|
||||
|
||||
Lántas is written with a simple alphasyllabary, where most glyphs consist of
|
||||
|
|
Loading…
Reference in a new issue