We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee850ea commit cadbfb5Copy full SHA for cadbfb5
pandoc/paper.lua
@@ -20,8 +20,12 @@ function yamldata(data)
20
newdata.title = pandoc.utils.stringify(data["title"])
21
newdata.url = pandoc.write(pandoc.Pandoc{data["url"]}, 'html')
22
newdata.authors = data["authors"] or {}
23
- newdata.venue = pandoc.utils.stringify(data["venue"])
24
- newdata.year = pandoc.utils.stringify(data["year"])
+ if data.venue then
+ newdata.venue = pandoc.utils.stringify(data["venue"])
25
+ end
26
+ if data.year then
27
+ newdata.year = pandoc.utils.stringify(data["year"])
28
29
local files = data["files"] or pandoc.List()
30
31
newdata.files = files:map(function(data)
0 commit comments