From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32263 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: A A Newsgroups: gmane.text.pandoc Subject: Re: What keys / values are allowed in the `references` field in YAML metadata? Date: Fri, 3 Mar 2023 13:05:28 +0100 Message-ID: References: <9b8cbc4fabcb4930bd12742369a2f49f@unibe.ch> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000091a25605f5fdc3d3" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7484"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDJ77HUDRUCBBFOFQ6QAMGQEMRJMHLQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Mar 03 13:05:45 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-qv1-f59.google.com ([209.85.219.59]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pY4AS-0001hj-Po for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 03 Mar 2023 13:05:44 +0100 Original-Received: by mail-qv1-f59.google.com with SMTP id x10-20020ad440ca000000b005800220da38sf131800qvp.14 for ; Fri, 03 Mar 2023 04:05:44 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1677845143; cv=pass; d=google.com; s=arc-20160816; b=Qx5bNXVYLks4sMwQzOmLvw9QZI7v0dGq7QPRm8WtossHWEnnCcZW/nh63Fs8zb+JAi 1Pd46GmtBKVPRj3pwdFvLoor9Hn55Axfo5Llu4Rw2/u/lhv9MAuto5MBNAK2uw2I/4FB DdtztMr+0mauH3RxZhBLJnAlOBflb4PdS7kchwbrwLRD8TFs/JNDJeEKkYtw6jtW/cb0 T6CWhwBTxJ3Cgt/wxDKVWcMnIAO1AYvn+uKKcip2DCV/WyECQX8Cw81viYgAZlpapk1P dSTlLBVzSgCu61b6Zex33ptF+i2gwBk2YuXgyYZcfj/810HYJAYjVs5Bxw34VM+H7kE+ SlJw== 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:to:subject:message-id:date :from:in-reply-to:references:mime-version:sender:dkim-signature :dkim-signature; bh=AgC2feY7U717qG13mJTCoutQvJifAZxeAO+XyItz3+4=; b=Vbj8uJTxKaSbvuHFD3gRIppGTXzWLjPEHoCUcF+144JZoq5KurwiJz2IMMDRBbB1A8 OG6n7S0o41FZTGE0eWkP83RzIka6jeTvHc5Xa9aBwyZhbUv6y/qWEZ6TJ9HI9wrU8ZTJ huIOB7gYWZrda8VtpzR0S8C/XVyOaTTx0VUaoq2U9PsHINvKFifTEuwK/xhWLMReB69i NaFQBrtdaMeRe7TEj1jLiHuZrhD9jmbdcJLb/Dc3MJAD9rQmvkV+o/4ko0ZiVKOMbWm3 pmRKoIz0Qxt5QgP2Qon/MtL09yEmro4DE79qP8u1BTWNqVvjuWU7K1YEJJdtcp62dft7 6gUg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=W8tVNiV6; spf=pass (google.com: domain of amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::435 as permitted sender) smtp.mailfrom=amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; t=1677845143; 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:to:subject :message-id:date:from:in-reply-to:references:mime-version:sender :from:to:cc:subject:date:message-id:reply-to; bh=AgC2feY7U717qG13mJTCoutQvJifAZxeAO+XyItz3+4=; b=beI8RX+8VwPAIJnsFSL+qvJ4fnkGfbsVxLk2EOyxG6gFUGG6rF3t6SGBrEYQi1x37c 3neaykpLVdMYMvOkCb/osHnIsOImuXw2IOKAzlf8YcjFI+f5zvaPt7VT1Ip/GEWMTjX/ llhSG2Uns8m6E4Ou/qAvp7JgawpdbLsRuJdbrqf79m/8PgdNoRhjI38UwLrdiG5srR+a Z0p1jmmfyNh/sxNuVcpsUwNTxsUw3+pzw3XCoMljlPoWG2eVf/D9/otlT5WfzXOpOwet 0VsC/ap7LXRYHe0p2dhc45+F5Uve/HzX2aI3KRMQm/PpsNK42wTSMYjKJJFKw9zAG7lm JWdw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1677845143; 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:to:subject :message-id:date:from:in-reply-to:references:mime-version:from:to:cc :subject:date:message-id:reply-to; bh=AgC2feY7U717qG13mJTCoutQvJifAZxeAO+XyItz3+4=; b=HF6e8DT/dTAvFHNHTGURt8vPvYmYW2o0kPrskfIhNrcpsKtaOZSBpyvuq/mKqbC+CM xer2fkn85Zaf9vMmqdH5L3ReZg4QapNIVmqEkqvQ8ReODx50Xgdl+yFR1Mj1j7smFVUS Q+DobkxIzkW6MggDRPprxtSSBlaa7O1BZ1dazFQCcS94nXfO5mJyCC361l9mZINS49G3 aH2bdgFoXx2z+mk7VGf5NmQ2UaGnMmXf8F1CxMFvMtbUgR/ZDd4X+gvSwWR3LnkYE8dc txaetsqIPQBw8JxGYPUQxjPPCHFEhMejUPziwp3KY9rYjoUjTkt/7UIwfXDdOVjpLIvG jTfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677845143; 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:to:subject :message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=AgC2feY7U717qG13mJTCoutQvJifAZxeAO+XyItz3+4=; b=epPmBEHHWkOzszMhvPGFnF/3WQu9buPo7i0n7MulkStSnAzqZjne0SI8dhPSAlFlw5 JcvqP6VxNMrYSvjIV+B4tVnP6W8IhXvoGyAjfFBoeTuXjA2IrJkk+Z7d+BzhHWJnlkF9 EUaRFNciHI3K6giDktpJ7Rr4ZP28Ecmi/fAcC5hE6HK9E1hmdwH4f/lsCD6VTVOCE7lC gePmPDZxQsllRYY0PuN3KiYvY3C1pM5kcOHvuPklD+loaeNsmTAi9oblPPzVKf+tc7jq A1dsy8O5v0GFbj3TlWn+DSvpAyGqpwXH Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AO0yUKV9j2p/RuUlOXHfXkpkwGb3AT89e60uBuj72PpEcrgXJr8PBEwN nSr9zN4SYH3qzYqgUf79e7s= X-Google-Smtp-Source: AK7set856SKL/Yjf2JlfiQHI8aBDrDGkv6A/P4ZVdbSgF5J5cDKi99rhcXvQDwPBJD1P+uiRnSu17Q== X-Received: by 2002:a05:622a:4204:b0:3bf:da0f:ed7c with SMTP id cp4-20020a05622a420400b003bfda0fed7cmr462859qtb.11.1677845143685; Fri, 03 Mar 2023 04:05:43 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:ac8:5459:0:b0:3bf:a3ac:d13c with SMTP id d25-20020ac85459000000b003bfa3acd13cls2737023qtq.2.-pod-prod-gmail; Fri, 03 Mar 2023 04:05:41 -0800 (PST) X-Received: by 2002:a05:622a:1042:b0:3bf:db0a:c105 with SMTP id f2-20020a05622a104200b003bfdb0ac105mr2545024qte.6.1677845141078; Fri, 03 Mar 2023 04:05:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677845141; cv=none; d=google.com; s=arc-20160816; b=LfLxmz418zFYR/lI6TthS1ufWx8YiGHelC1df/hj9GB5Csdc5VfMkuoRcp5rE0XCHK bXGLri0a7WyOqK5HlPSSXofxIFRPlq438tcojdv5essfy1SIDIFAy5YTeqUrN1KasCcE ts/2rzsNiMUUVIF7abTAi2WJ3GYOY4a6sXnD2E1Yzgo6vpn9uLDr+nA8z5u2Mxj5bZ9x MuOl5DClPfu1uthH4BpBWu/4LvDySIJSUOUhZIgaVuFNKYKbOEC2KsgGEmVUdF/VJpVz gpDZw5zJgAmX7b+/8mf+oOraN8MbOqO3ILYZ2t6FamNNtkgUnL3SEdP5sGTS2Ue1pf+i 3x0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=ncZ8imomgDxaC1JZ/tWPew37W+l/YgZb2Pz5H3JPPcs=; b=lNizUOQyZnBek8eNVkw1zcXOpmTrInoJld9Qk7QSDsxLNF8UHhyxb7WaLM3FuAdl7d 1vC6oXgmZvdINkqeSKkL32fuN4WQ9W8D3TiRoWVdgLuAMinZiVk6MLk1eN1NfEV3K7dc 0mHHEWUcWzsPOfAq2NqNqk19voLdj3bIQ2lRO352W7f1OITTvfwpMrIJsxnbFvQ0X4bB zMUk+k6PLYyzOTOvEYjm/nnsJpc87qPPPOlHjGF27KGX7ISj+bcMap1I6JtsNwob4m4l nRQiCC1imC9KaIHOOAazvyJA1tHbmWUg3VaObYUL/MFzFVvRuSV7hzwSdXKy7/bAi/QM uTYQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=W8tVNiV6; spf=pass (google.com: domain of amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::435 as permitted sender) smtp.mailfrom=amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-pf1-x435.google.com (mail-pf1-x435.google.com. [2607:f8b0:4864:20::435]) by gmr-mx.google.com with ESMTPS id g13-20020a05620a108d00b007426692e029si92986qkk.0.2023.03.03.04.05.41 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 03 Mar 2023 04:05:41 -0800 (PST) Received-SPF: pass (google.com: domain of amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::435 as permitted sender) client-ip=2607:f8b0:4864:20::435; Original-Received: by mail-pf1-x435.google.com with SMTP id z11so1394853pfh.4 for ; Fri, 03 Mar 2023 04:05:41 -0800 (PST) X-Received: by 2002:a63:7d03:0:b0:503:a268:b81e with SMTP id y3-20020a637d03000000b00503a268b81emr429763pgc.5.1677845140183; Fri, 03 Mar 2023 04:05:40 -0800 (PST) In-Reply-To: X-Original-Sender: amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=W8tVNiV6; spf=pass (google.com: domain of amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::435 as permitted sender) smtp.mailfrom=amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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:32263 Archived-At: --00000000000091a25605f5fdc3d3 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 hassle of having to define the CSL YAML from scratch. Here=E2=80=99s my= .bib file: @manual{software_guide, author =3D {{Organization Name}}, title =3D {Software Name User Guide}, date =3D {2023}, organization =3D {Software Company}, url =3D {https://www.example.com/software_guide.pdf}, } However when I try the following I get no output: pandoc --from bibtex --to markdown .\test.bib On Fri, 3 Mar 2023 at 12:55, A A wrote: > Thanks. In my opinion, it would be useful if this was clearly expressed i= n > the official docs. > > On Fri, 3 Mar 2023 at 12:53, wrote: > >> Check: https://pandoc.org/MANUAL.html#citation-rendering >> >> >> >> The format here is CSL YAML. Check the CSL specification for allowed >> types and variables: >> https://docs.citationstyles.org/en/stable/specification.html#appendix-ii= i-types >> >> >> >> Best, >> >> Denis >> >> >> >> *Von:* pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org = *Im >> Auftrag von *A A >> *Gesendet:* Freitag, 3. M=C3=A4rz 2023 12:49 >> *An:* pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >> *Betreff:* What keys / values are allowed in the `references` field in >> YAML metadata? >> >> >> >> Is there a spec for the `references` filed in YAML metadata in Pandoc >> markdown? The `references` field is supposed to be compatible with multi= ple >> formats (BibTeX, CSL, etc.) so what different key-value pairs are allowe= d >> in it? >> >> >> >> The only example provided in the docs is the following: >> >> --- >> >> references: >> >> - type: article-journal >> >> id: WatsonCrick1953 >> >> author: >> >> - family: Watson >> >> given: J. D. >> >> - family: Crick >> >> given: F. H. C. >> >> issued: >> >> date-parts: >> >> - - 1953 >> >> - 4 >> >> - 25 >> >> title: 'Molecular structure of nucleic acids: a structure for >> >> deoxyribose nucleic acid' >> >> title-short: Molecular structure of nucleic acids >> >> container-title: Nature >> >> volume: 171 >> >> issue: 4356 >> >> page: 737-738 >> >> DOI: 10.1038/171737a0 >> >> URL: https://www.nature.com/articles/171737a0 >> >> language: en-GB >> >> >> >> >> >> Which appears to follow a BibTeX-like format but there's no way to tell. >> I mean, not all references are articles or journals right? >> >> -- >> You received this message because you are subscribed to the Google Group= s >> "pandoc-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send a= n >> email 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/CAMwawgOQ_1G9wkA4-monUE= xPuA%3Dk1H0Yof6XTm%2BNKACC6SCWLw%40mail.gmail.com >> >> . >> >> -- >> You received this message because you are subscribed to the Google Group= s >> "pandoc-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send a= n >> email 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/9b8cbc4fabcb4930bd12742= 369a2f49f%40unibe.ch >> >> . >> > --=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/CAMwawgMF9JGUF1PFNcmz1-0W3vabVRNXQmDpz52V2LC2WbZLOQ%40mail.g= mail.com. --00000000000091a25605f5fdc3d3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

On another note, I thoug= ht it might be smart to define a bibtex file and then convert it to CSL yam= l using pandoc. This would potentially save me the hassle of having to defi= ne the CSL YAML from scratch. Here=E2=80=99s my .bib file:

@manual{software_guide,
  author =3D {{Organization Name}},
  title =3D {Software Name User Guide},
  date =3D {2023},
  organization =3D {Software Company},
  url =3D {https://w=
ww.example.com/software_guide.pdf},
}

However when I try= the following I get no output:

pandoc --from = bibtex --to markdown .\test.bib




On Fri, 3 Mar 2023 at 12:55, A A <amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Thanks. In = my opinion, it would be useful if this was clearly expressed in the officia= l docs.

On Fri, 3 Mar 2023 at 12:53, <denis.maier-NSENcxR/0n0@public.gmane.org> wrote:

Check: https://pandoc.org/MANUAL.html#citation-rendering<= /p>

=C2=A0

The format here is CSL YAML. Check the CSL specification for allowed types= =C2=A0and variables: https://docs.citationstyles.org/en/stable/specification.html#appendix-iii-t= ypes

=C2=A0

Best,

Denis

=C2=A0

Von: pan= doc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> Im Auftrag von A A
Gesendet: Freitag, 3. M=C3=A4rz 2023 12:49
An: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Betreff: What keys / values are allowed in the `references` field in= YAML metadata?

=C2=A0

Is there a spec for the `references` filed in YAML m= etadata in Pandoc markdown? The `references` field is supposed to be compat= ible with multiple formats (BibTeX, CSL, etc.) so what different key-value = pairs are allowed in it?

=C2=A0

The only example provided in the docs is the followi= ng:

---=
references:
- type: artic=
le-journal
=C2=A0 id: Wa=
tsonCrick1953
=C2=A0 author=
:
=C2=A0 - fami=
ly: Watson
=C2=A0=C2=A0=
=C2=A0 given: J. D.
=C2=A0 - fami=
ly: Crick
=C2=A0=C2=A0=
=C2=A0 given: F. H. C.
=C2=A0 issued=
:
=C2=A0=C2=A0=
=C2=A0 date-parts:
=C2=A0=C2=A0=
=C2=A0 - - 1953
=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0 - 4
=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0 - 25
=C2=A0 title:=
 'Molecular structure of nucleic acids: a structure for
=C2=A0=C2=A0=
=C2=A0 deoxyribose nucleic acid'
=C2=A0 title-=
short: Molecular structure of nucleic acids
=C2=A0 contai=
ner-title: Nature
=C2=A0 volume=
: 171
=C2=A0 issue:=
 4356
=C2=A0 page: =
737-738
=C2=A0 DOI: 1=
0.1038/171737a0
=C2=A0 URL: <=
a href=3D"https://www.nature.com/articles/171737a0" target=3D"_blank">https=
://www.nature.com/articles/171737a0
=C2=A0 langua=
ge: en-GB
=C2=A0

=C2=A0

Which appears to follow a BibTeX-like format but the= re's no way to tell. I mean, not all references are articles or journal= s right?

--
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 pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAMwawgOQ_1G9wkA4-monUExPu= A%3Dk1H0Yof6XTm%2BNKACC6SCWLw%40mail.gmail.com.

--
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 pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.goo= gle.com/d/msgid/pandoc-discuss/9b8cbc4fabcb4930bd12742369a2f49f%40unibe.ch<= /a>.

--
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 view this discussion on the web visit https://groups.= google.com/d/msgid/pandoc-discuss/CAMwawgMF9JGUF1PFNcmz1-0W3vabVRNXQmDpz52V= 2LC2WbZLOQ%40mail.gmail.com.
--00000000000091a25605f5fdc3d3--