From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32264 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bastien DUMONT Newsgroups: gmane.text.pandoc Subject: Re: What keys / values are allowed in the `references` field in YAML metadata? Date: Fri, 3 Mar 2023 12:38:21 +0000 Message-ID: References: <9b8cbc4fabcb4930bd12742369a2f49f@unibe.ch> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16387"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDCINCES2QJRBQGUQ6QAMGQEFWLCSBY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Mar 03 13:38:28 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ed1-f62.google.com ([209.85.208.62]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pY4g7-00044v-UB for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 03 Mar 2023 13:38:27 +0100 Original-Received: by mail-ed1-f62.google.com with SMTP id p36-20020a056402502400b004bb926a3d54sf3806430eda.2 for ; Fri, 03 Mar 2023 04:38:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1677847107; cv=pass; d=google.com; s=arc-20160816; b=GiCopODYRtX8OkPSChgASSUAJZhRqiVT+ZpPuSwrjhGP14Fd3hCGMTC/p7qP+4C1aD F6Op9KkkDiDnJbOkn2NGlP8BiZk9ZWUbaqK5qB/EJnSyflIWmYn0Q2/F0PZ6F21jKWD6 YnphqykxNQVmFUyxhk1Xe9ra0yKjplyNiCzLUnSjkj+HXtmehI5reFi97ioGSWAO+WOt 8jdZsSa4L8HVC/awgIltrGJEm/ydbrW1P4kamzjL8aI9TWzBviwPeQOMNEu0ToDg41mc R5BcbqWziUwepE7lsBVfSuzaUw7bbs9lnhZGUMYmkhDL4ELI1wbEiWWfys2qzZ8m72JH zmUw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:sender:dkim-signature; bh=U9gau6eQffSqRKoQVGQutDptswI5AFFZgAmYVRzJ8mo=; b=vS8TCilua4ojE36ATK6WddoYFXr3h6RPfgOFG5H4c2YD3r25wjHGtUfju3zPe/CAmA rkTO9kCeUT8Zcel7x9vVffKt7dp6NGjQCSerwHWqYS53TE1dCLyCmDkOb5R0o6t3kXf0 fH+jHBNlq/MD3bIuYwe4Ea01WWALwptVMWZNc6gq7UGpgcK8klqWVlGCiUXvg9MVq+oG oOA5Ja0dksK3jDkzIlFM/2hAT/kyLiqvNuVJUEhxjU4Omnl7waDpYqSg0BonulySG9OU dsZ3mY7wqkR7q77brAlJ28bo9o72i4xol7yiWxIu5emmjGUXmSrcMrD5fuS2YE//L8Y2 BaKQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b="BzN70u/4"; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; t=1677847107; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:sender:from:to:cc :subject:date:message-id:reply-to; bh=U9gau6eQffSqRKoQVGQutDptswI5AFFZgAmYVRzJ8mo=; b=sa353DTCrYIYjwgIKOCeuDtwpNTFFUpv/qsm5S9cR1FenU6xs8eutsF5PMMtIqbObR gdCTtbxKQRWEJxMZmSykZlwda8fhDBCxC1QYh9weJHz9FXy/iZIqmrSwPUjFKCabZ48z vWKhsQNWbgapqJrHt5zIescNJmVllgHslP+k8hb1XMm8HShx5qy/xzYRzeRaVuQWt6G+ SaxjhHTRtB6wB10XEVpcTpQAvpD9o/OsTekz+4DS0ilcmM9NMrVmdUeB3Dvz8sLSrQT9 6d4WQnRZ8JLjKVawhmwxzcn6dqFug48 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677847107; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:x-gm-message-state :sender:from:to:cc:subject:date:message-id:reply-to; bh=U9gau6eQffSqRKoQVGQutDptswI5AFFZgAmYVRzJ8mo=; b=gm6hEH+PoM+rs9wXJMJk+DoURc9cg5rX6l+f+qdXkr6jeQjQYENXn08/qE0qZrhK9R AbieW0RJTj00jUAe5yIbKlcU11q/SmnjWBda4ANdIKnC6WA8bjn0GUFNbNx8S6IX9VIu BUkSpUf/YBAyMc0+WCq8uPObN68icNA1GKdO6aG6/0JSGU6UFcGEe49gT6BpBkCF9dIw 7sgvBV1jh+N6uA70pVoqGYLez7D5QBnYqCIV+St+peFv1aOdy3/JUvfmMH4rmWxc Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AO0yUKVq1TtOE2CjMWEy/OpSQoX8yW/mTyAW9fyvSLR2FUvbbfZJy2+o OmFoWgSxvRBG/c34vWRUAnQ= X-Google-Smtp-Source: AK7set+/Ijni9TOB1qqQk0Ws0dW/PadPkUniLYZJFjTRJRq+FHGGWZyvuSDCq7sLQFKe2hHj/sprwQ== X-Received: by 2002:a17:906:6dc1:b0:888:b471:8e18 with SMTP id j1-20020a1709066dc100b00888b4718e18mr724171ejt.8.1677847107127; Fri, 03 Mar 2023 04:38:27 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:906:451:b0:906:3986:efd with SMTP id e17-20020a170906045100b0090639860efdls1871187eja.3.-pod-prod-gmail; Fri, 03 Mar 2023 04:38:23 -0800 (PST) X-Received: by 2002:a17:907:888b:b0:877:573d:e919 with SMTP id rp11-20020a170907888b00b00877573de919mr1593511ejc.20.1677847103140; Fri, 03 Mar 2023 04:38:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677847103; cv=none; d=google.com; s=arc-20160816; b=tTfkoVp3uUfAHDupxHcncm1goKSNgzNVBc0h15b7SkPX2AoPlbWTwhtDXqPJJB+rgv PbqBODIxSmeTyaaOXMaQibix+zkUSS/qyWCeVm6WpB/E5b0vUuqOoX0q8p+ZGSGqL/Iu 08AK5QHEsaVvilCmsS8EXp0bCmA6Ledj5GzuY1V0TsZHOkb4i6ZqgjJlAuna1cHCCFaZ qDB07ZtfFY/KApjpe6RljQPSRflzvRORQoMKzwZyeU4CmStP0ia1vsdJ9QWKHn1anwXP Os5lXWMbH5Vt3nauXuxfeN57Ks/gnY38NDZSaz5WVdweVsZAA/vkhxczVsD4oKJS1izA a0Tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:to:from:date :dkim-signature; bh=+09arZ2ZJsBU4mgaULOTik8fFbg1o5B2WaVG+iJ4B/M=; b=oZNXWw+VLMz9Odf4QIXHNoC2E9Bjj98jNJrHvnbYRuesqg1iTKAynv9/0bKc4xYkq5 noooepsoOMT62mbWQGs3i+xegaIklHhKRe2lv/iFD0KwU7KnUAunvsC1DsfF7U30dfOu bDCQ3DKpvrKUAlyYYAuf5w0jJKJHUndSts60zhZdziiiEFZhuw6Z8VDtGANJ/uMpZnKZ 2GXLDgmoFAjtqFwdDbkYxYOoF8qO/xpzQ57q4oTjh43v9gea8qeN0Av54FKMgJ789xoX KgleDYbDqjpX/TGfLxQ5w3y+0Ts50N7bB2dexBnNNkcBRZv61r+YYWthZOFB0noQkpaM AEhw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b="BzN70u/4"; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net Original-Received: from mout01.posteo.de (mout01.posteo.de. [185.67.36.65]) by gmr-mx.google.com with ESMTPS id cq22-20020a056402221600b004bc501f1c76si126680edb.1.2023.03.03.04.38.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Mar 2023 04:38:23 -0800 (PST) Received-SPF: pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) client-ip=185.67.36.65; Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 9BBBD24061F for ; Fri, 3 Mar 2023 13:38:22 +0100 (CET) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PSnZQ14t2z6ts0 for ; Fri, 3 Mar 2023 13:38:22 +0100 (CET) Content-Disposition: inline In-Reply-To: X-Original-Sender: bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b="BzN70u/4"; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:32264 Archived-At: Add -s to your command. Le Friday 03 March 2023 =C3=A0 01:05:28PM, A A a =C3=A9crit : > On another note, I thought it might be smart to define a bibtex file and = then > convert it to CSL yaml using pandoc. This would potentially save me the h= assle > of having to define the CSL YAML from scratch. Here=E2=80=99s my .bib fil= e: >=20 > @manual{software_guide, > author =3D {{Organization Name}}, > title =3D {Software Name User Guide}, > date =3D {2023}, > organization =3D {Software Company}, > url =3D {[1]https://www.example.com/software_guide.pdf}, > } >=20 > However when I try the following I get no output: >=20 > pandoc --from bibtex --to markdown .\test.bib >=20 >=20 >=20 >=20 > On Fri, 3 Mar 2023 at 12:55, A A <[2]amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >=20 > Thanks. In my opinion, it would be useful if this was clearly express= ed in > the official docs. >=20 > On Fri, 3 Mar 2023 at 12:53, <[3]denis.maier-NSENcxR/0n0@public.gmane.org> wrote: >=20 >=20 > Check: [4] https://pandoc.org/MANUAL.html#citation-rendering >=20 > =C2=A0 >=20 > The format here is CSL YAML. Check the CSL specification for allo= wed > types=C2=A0and variables: [5] https://docs.citationstyles.org/en/= stable/ > specification.html#appendix-iii-types >=20 > =C2=A0 >=20 > Best, >=20 > Denis >=20 > =C2=A0 >=20 > Von: [6]pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <[7] > pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> Im Auftrag von A A > Gesendet: Freitag, 3. M=C3=A4rz 2023 12:49 > An: [8]pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > Betreff: What keys / values are allowed in the `references` field= in > YAML metadata? >=20 > =C2=A0 >=20 > Is there a spec for the `references` filed in YAML metadata in Pa= ndoc > markdown? The `references` field is supposed to be compatible wit= h > multiple formats (BibTeX, CSL, etc.) so what different key-value = pairs > are allowed in it? >=20 > =C2=A0 >=20 > The only example provided in the docs is the following: >=20 > --- >=20 > references: >=20 > - type: article-journal >=20 > =C2=A0 id: WatsonCrick1953 >=20 > =C2=A0 author: >=20 > =C2=A0 - family: Watson >=20 > =C2=A0=C2=A0=C2=A0 given: J. D. >=20 > =C2=A0 - family: Crick >=20 > =C2=A0=C2=A0=C2=A0 given: F. H. C. >=20 > =C2=A0 issued: >=20 > =C2=A0=C2=A0=C2=A0 date-parts: >=20 > =C2=A0=C2=A0=C2=A0 - - 1953 >=20 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 - 4 >=20 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 - 25 >=20 > =C2=A0 title: 'Molecular structure of nucleic acids: a structure = for >=20 > =C2=A0=C2=A0=C2=A0 deoxyribose nucleic acid' >=20 > =C2=A0 title-short: Molecular structure of nucleic acids >=20 > =C2=A0 container-title: Nature >=20 > =C2=A0 volume: 171 >=20 > =C2=A0 issue: 4356 >=20 > =C2=A0 page: 737-738 >=20 > =C2=A0 DOI: 10.1038/171737a0 >=20 > =C2=A0 URL: [9]https://www.nature.com/articles/171737a0 >=20 > =C2=A0 language: en-GB >=20 > =C2=A0 >=20 > =C2=A0 >=20 > Which appears to follow a BibTeX-like format but there's no way t= o > tell. I mean, not all references are articles or journals right? >=20 > -- > You received this message because you are subscribed to the Googl= e > Groups "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it,= send > an email to [10]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit [11] https://groups.goog= le.com > /d/msgid/pandoc-discuss/ > CAMwawgOQ_1G9wkA4-monUExPuA%3Dk1H0Yof6XTm%2BNKACC6SCWLw%40mail.gm= ail.com > . >=20 > -- > You received this message because you are subscribed to the Googl= e > Groups "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it,= send > an email to [12]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit [13]https://groups.googl= e.com/ > d/msgid/pandoc-discuss/9b8cbc4fabcb4930bd12742369a2f49f%40unibe.c= h. >=20 > -- > 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 [14]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit [15]https://groups.google.com/d/= msgid/ > pandoc-discuss/ > CAMwawgMF9JGUF1PFNcmz1-0W3vabVRNXQmDpz52V2LC2WbZLOQ%40mail.gmail.com. >=20 > References: >=20 > [1] https://www.example.com/software_guide.pdf > [2] mailto:amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > [3] mailto:denis.maier-NSENcxR/0n0@public.gmane.org > [4] https://pandoc.org/MANUAL.html#citation-rendering > [5] https://docs.citationstyles.org/en/stable/specification.html#appendix= -iii-types > [6] mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [7] mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [8] mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [9] https://www.nature.com/articles/171737a0 > [10] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [11] https://groups.google.com/d/msgid/pandoc-discuss/CAMwawgOQ_1G9wkA4-m= onUExPuA%3Dk1H0Yof6XTm%2BNKACC6SCWLw%40mail.gmail.com?utm_medium=3Demail&ut= m_source=3Dfooter > [12] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [13] https://groups.google.com/d/msgid/pandoc-discuss/9b8cbc4fabcb4930bd1= 2742369a2f49f%40unibe.ch?utm_medium=3Demail&utm_source=3Dfooter > [14] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [15] https://groups.google.com/d/msgid/pandoc-discuss/CAMwawgMF9JGUF1PFNc= mz1-0W3vabVRNXQmDpz52V2LC2WbZLOQ%40mail.gmail.com?utm_medium=3Demail&utm_so= urce=3Dfooter --=20 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 e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/ZAHqPd/i/tlw41oN%40localhost.