diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2014-05-12 13:06:06 -0700 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2014-05-12 13:06:06 -0700 |
commit | aa019448d6eef010922ea778597a2b7a0f3bd58f (patch) | |
tree | 0e345ab2e5a97043d29f013b801383fdbd73fd16 /src | |
parent | 2348f07b11700e685cd194c93c5891d2c288dbc0 (diff) | |
download | pandoc-aa019448d6eef010922ea778597a2b7a0f3bd58f.tar.gz |
LaTeX reader: Support `\addbibresource`.
Diffstat (limited to 'src')
-rw-r--r-- | src/Text/Pandoc/Readers/LaTeX.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs index 4b9e424d9..6f870318f 100644 --- a/src/Text/Pandoc/Readers/LaTeX.hs +++ b/src/Text/Pandoc/Readers/LaTeX.hs @@ -309,6 +309,8 @@ blockCommands = M.fromList $ , ("PandocEndInclude", endInclude) , ("bibliography", mempty <$ (skipopts *> braced >>= addMeta "bibliography" . splitBibs)) + , ("addbibresource", mempty <$ (skipopts *> braced >>= + addMeta "bibliography" . splitBibs)) ] ++ map ignoreBlocks -- these commands will be ignored unless --parse-raw is specified, -- in which case they will appear as raw latex blocks |