My understanding is I can specify variables in yaml and use the yaml_metadata_block extension to pass them as metadata key value pairs to pandoc. Thus if my input file is:

---
bibliography: somefile.bib
---

Content and @references


and I run 

>> pandoc -f markdown+yaml_metadata_block [other options] 

I should get the same result as 

>> pandoc -f markdown -M bibliography=somefile.bib [...] 

and the same as 

>> pandoc -f markdown -bibliography=somefile.bib.

The last two versions, where I pass the biblio filename explicitly, work as expected. But going through the yaml block and using the extension does not. The csl= options is also ignored. But link-citations: true works from yaml when I use the explicit version. 

What am I missing? 

Being able to control everything from the yaml would be fantastically helpful....so I hope there is a solution.

Thanks!

Steve

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/856c6edc-e70f-4e0c-9387-29c399679b28%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.