From 9ae10b43524e85fb90273f99e307da66607293c7 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 3 Jan 2014 10:11:21 -0800 Subject: The `--bibliography` option now sets the `biblio-files` variable. So, if you're using `--natbib` or `--biblatex`, you can just use `--bibliography=foo.bib` instead of `-V bibliofiles=foo`. --- pandoc.hs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pandoc.hs b/pandoc.hs index 2c81db9f2..e49b3b9cf 100644 --- a/pandoc.hs +++ b/pandoc.hs @@ -667,6 +667,9 @@ options = (\arg opt -> return opt{ optMetadata = addMetadata "bibliography" (readMetaValue arg) $ optMetadata opt + , optVariables = + ("biblio-files", dropExtension arg) : + optVariables opt }) "FILE") "" -- cgit v1.2.3