Allow citation-abbreviations in defaults file.
This commit is contained in:
parent
bd7c9eb32b
commit
bc3f16b0c1
2 changed files with 6 additions and 0 deletions
|
@ -1533,6 +1533,7 @@ csl: ieee
|
|||
bibliography:
|
||||
- foobar.bib
|
||||
- barbaz.json
|
||||
citation-abbreviations: abbrevs.json
|
||||
|
||||
# Filters will be assumed to be Lua filters if they have
|
||||
# the .lua extension, and json filters otherwise. But
|
||||
|
|
|
@ -367,6 +367,11 @@ doOpt (k',v) = do
|
|||
foldr addItem o xs)
|
||||
<|>
|
||||
(parseYAML v >>= \(x :: Text) -> return $ \o -> addItem x o)
|
||||
"citation-abbreviations" ->
|
||||
parseYAML v >>= \x ->
|
||||
return (\o -> o{ optMetadata =
|
||||
addMeta "citation-abbreviations" (T.unpack x)
|
||||
(optMetadata o) })
|
||||
"ipynb-output" ->
|
||||
parseYAML v >>= \x -> return (\o -> o{ optIpynbOutput = x })
|
||||
"include-before-body" ->
|
||||
|
|
Loading…
Add table
Reference in a new issue