From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/20150 Path: news.gmane.org!.POSTED!not-for-mail From: Stephen Mildenhall Newsgroups: gmane.text.pandoc Subject: yaml_metadata_block and bibliography Date: Wed, 2 May 2018 07:57:03 -0700 (PDT) Message-ID: <856c6edc-e70f-4e0c-9387-29c399679b28@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_28459_1250395291.1525273023080" X-Trace: blaine.gmane.org 1525272899 20938 195.159.176.226 (2 May 2018 14:54:59 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 2 May 2018 14:54:59 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDMNNDOUXYOBBQFDU7LQKGQEMLNCWUI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed May 02 16:54:55 2018 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ot0-f186.google.com ([74.125.82.186]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fDt9i-0005KK-0r for gtp-pandoc-discuss@m.gmane.org; Wed, 02 May 2018 16:54:55 +0200 Original-Received: by mail-ot0-f186.google.com with SMTP id b5-v6sf7229497otf.8 for ; Wed, 02 May 2018 07:57:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=kmENW8DEceYchYXM23b5eYuCieNVAVjIkfUj6FDdmJE=; b=P8Oqq62C8awRUR3dHaoxSySy5NkTfZcuPYSWmP+/WptShjRsFpyRqW5MJObaaBfgl4 6wse80AX5NtWpOGS6CI9oLRjiVT8MUFi3akh3ZcLDhjXQeBXjI88yozioKXj+hSp3VDb ONHzqnZtV4h7X2zdbWSXJZROe/R5wzkRGEuNrIdMEDoj5v1OXafq0qUZoe635qYMYKlm k2E/5C0w2MDnmYAAK6Hbhkdpcv7upwDzONJFyDg+zFJS5zv9rLWYMMG7tw8tMt7xl1UN RAEq1QHlSOsJ7YaBQG8dp+5CdejJ2yRQsaq9dT7NiYJ3p6ZATtLzjldIW7lwMrEKCpTb H9DQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=kmENW8DEceYchYXM23b5eYuCieNVAVjIkfUj6FDdmJE=; b=J2/h+8DpUwdzQMAjUfrczRAuX9CfJ7S4GRxiB+u9PH/G6rlJVKlaZzivcnLmYR9BeG Hhfctp1Cp4uVXnu01PNH0NIXP15tt5Dq0EI1XCW1nHX65WbDhUfpN0qtexqtJDJc2MuL 56qH/GH9az4KydCGWIRJDyyLn9ko5afXO0MCQJtt7lIY3h4KUmQt0p1P302kGal9cwuH 2zJpZaC55+7CEnltFGx8gGYzBBk3ML5/AvW7HRMn22+GZEie6SbtUiQ35Fno/AX/PuC5 uZxkqYTmsMG4kBNEVp6D4StOFkfHQ/hqIJ5i2OnmRQBE62sk+Xu2YQUK74gXFE7fk7bq KTxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=kmENW8DEceYchYXM23b5eYuCieNVAVjIkfUj6FDdmJE=; b=jRjgBiS1A+ZXy0hn9Ka14Ny6rc9KQvorMrw4tSYgMo3x4reS0HpuEnvtnTotQ1kwUq PpT2Ei5wBbn4GK8TwWRoc3qV1BVWw9hk4BnesqvaedMYAfTU3c5jpOovgi01sbN8yTzT jIkuziF5TUvkAeSz9OwbsKKq7q4VMsxzAEHl3GoIXouvAjJAhl7I/QFu/T2CSIw5FZG0 IzyYU047tW/vlAzFKBYOwrSrBBCS85UW4ltZoFVX1okdmI39bUGOlHNTAbR8PpTNBojA aBOvdpjVaqiVmcRg+XFBfXYNhNxJ2V5g4bt0/Rvy/3cbLuWjtS+XSCBSl3u+cr4u+xpM WUWA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ALQs6tDZ9w58/S3KUdgoiY9PHdPwXoA5SdGyNC9JGHLzUKl4t6uVllEy BR4/JBQ0xwDHsy75Nss1Gco= X-Google-Smtp-Source: AB8JxZqlsmqKfwTb/++RFTiDDcQTZmR1+TY+FK7pAcmHBRR7ctBEVuxOO369DOY3iO1r9xtY1DQcwQ== X-Received: by 2002:a9d:620d:: with SMTP id g13-v6mr1445689otj.3.1525273024862; Wed, 02 May 2018 07:57:04 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:25c7:: with SMTP id q65-v6ls7604692ota.2.gmail; Wed, 02 May 2018 07:57:04 -0700 (PDT) X-Received: by 2002:a9d:5511:: with SMTP id l17-v6mr1447345oth.14.1525273023794; Wed, 02 May 2018 07:57:03 -0700 (PDT) X-Original-Sender: Stephen.j.mildenhall-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Spam-Checked-In-Group: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:20150 Archived-At: ------=_Part_28459_1250395291.1525273023080 Content-Type: multipart/alternative; boundary="----=_Part_28460_2050198504.1525273023081" ------=_Part_28460_2050198504.1525273023081 Content-Type: text/plain; charset="UTF-8" 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@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. ------=_Part_28460_2050198504.1525273023081 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
My understanding is I can specify variables in yaml and us= e the yaml_metadata_block extension to pass them as metadata key value pair= s to pandoc. Thus if my input file is:

---
bib= liography: somefile.bib
---

Content and = @references


and I run=C2=A0

>> pandoc -f markdown+yaml_metadata_block [other op= tions]=C2=A0

I should get the same result as=C2=A0=

>> pandoc -f markdown -M bibliography=3Dsom= efile.bib [...]=C2=A0

and the same as=C2=A0
<= div>
>> pandoc -f markdown -bibliography=3Dsomefile.bib= .

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

What am I missing?=C2=A0

Bein= g 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 &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-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.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_28460_2050198504.1525273023081-- ------=_Part_28459_1250395291.1525273023080--