git.iko.soy/typeable/pandoc
on master help sign in
LaTeX reader: Support `\addbibresource`.
commitaa019448d6eef010922ea778597a2b7a0f3bd58f authorJohn MacFarlane <fiddlosopher@gmail.com> dateMon 12 May 2014, 13:06 (12 years ago) parent2348f07
1 file changed+2
src/Text/Pandoc/Readers/LaTeX.hs+2
src/Text/Pandoc/Readers/LaTeX.hs+2
@@ -309,6 +309,8 @@ blockCommands = M.fromList $
309309 , ("PandocEndInclude", endInclude)
310310 , ("bibliography", mempty <$ (skipopts *> braced >>=
311311 addMeta "bibliography" . splitBibs))
312+ , ("addbibresource", mempty <$ (skipopts *> braced >>=
313+ addMeta "bibliography" . splitBibs))
312314 ] ++ map ignoreBlocks
313315 -- these commands will be ignored unless --parse-raw is specified,
314316 -- in which case they will appear as raw latex blocks