public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: A A <amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: What keys / values are allowed in the `references` field in YAML metadata?
Date: Fri, 3 Mar 2023 13:42:01 +0100	[thread overview]
Message-ID: <CAMwawgN0wkff+=Pb0Jnudsu2ipNcp6aJS-=hx-Psf1m9jKQhow@mail.gmail.com> (raw)
In-Reply-To: <ZAHqPd/i/tlw41oN@localhost>

[-- Attachment #1: Type: text/plain, Size: 7276 bytes --]

Worked like a charm. Thanks.

On Fri, 3 Mar 2023 at 13:38, Bastien DUMONT <bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org>
wrote:

> Add -s to your command.
>
> Le Friday 03 March 2023 à 01:05:28PM, A A a écrit :
> > 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’s my .bib file:
> >
> > @manual{software_guide,
> >   author = {{Organization Name}},
> >   title = {Software Name User Guide},
> >   date = {2023},
> >   organization = {Software Company},
> >   url = {[1]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 <[2]amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> >
> >     Thanks. In my opinion, it would be useful if this was clearly
> expressed in
> >     the official docs.
> >
> >     On Fri, 3 Mar 2023 at 12:53, <[3]denis.maier-NSENcxR/0n0@public.gmane.org> wrote:
> >
> >
> >         Check: [4] https://pandoc.org/MANUAL.html#citation-rendering
> >
> >
> >
> >         The format here is CSL YAML. Check the CSL specification for
> allowed
> >         types and variables: [5]
> https://docs.citationstyles.org/en/stable/
> >         specification.html#appendix-iii-types
> >
> >
> >
> >         Best,
> >
> >         Denis
> >
> >
> >
> >         Von: [6]pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <[7]
> >         pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> Im Auftrag von A A
> >         Gesendet: Freitag, 3. März 2023 12:49
> >         An: [8]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
> >         multiple formats (BibTeX, CSL, etc.) so what different key-value
> pairs
> >         are allowed 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: [9]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
> >         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.google.com
> >         /d/msgid/pandoc-discuss/
> >         CAMwawgOQ_1G9wkA4-monUExPuA%3Dk1H0Yof6XTm%2BNKACC6SCWLw%
> 40mail.gmail.com
> >         .
> >
> >         --
> >         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 [12]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> >         To view this discussion on the web visit [13]
> https://groups.google.com/
> >         d/msgid/pandoc-discuss/9b8cbc4fabcb4930bd12742369a2f49f%
> 40unibe.ch.
> >
> > --
> > 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.
> >
> > References:
> >
> > [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-monUExPuA%3Dk1H0Yof6XTm%2BNKACC6SCWLw%40mail.gmail.com?utm_medium=email&utm_source=footer
> > [12] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> > [13]
> https://groups.google.com/d/msgid/pandoc-discuss/9b8cbc4fabcb4930bd12742369a2f49f%40unibe.ch?utm_medium=email&utm_source=footer
> > [14] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> > [15]
> https://groups.google.com/d/msgid/pandoc-discuss/CAMwawgMF9JGUF1PFNcmz1-0W3vabVRNXQmDpz52V2LC2WbZLOQ%40mail.gmail.com?utm_medium=email&utm_source=footer
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/pandoc-discuss/ZAHqPd/i/tlw41oN%40localhost
> .
>

-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAMwawgN0wkff%2B%3DPb0Jnudsu2ipNcp6aJS-%3Dhx-Psf1m9jKQhow%40mail.gmail.com.

[-- Attachment #2: Type: text/html, Size: 12640 bytes --]

      reply	other threads:[~2023-03-03 12:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-03 11:48 A A
     [not found] ` <CAMwawgOQ_1G9wkA4-monUExPuA=k1H0Yof6XTm+NKACC6SCWLw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-03-03 11:53   ` AW: " denis.maier-NSENcxR/0n0
     [not found]     ` <9b8cbc4fabcb4930bd12742369a2f49f-NSENcxR/0n0@public.gmane.org>
2023-03-03 11:55       ` A A
     [not found]         ` <CAMwawgNDeWgjqB7Z-aL8hhGS-sZXx4qo_HZztECLK_-Jv3VubA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-03-03 12:05           ` A A
     [not found]             ` <CAMwawgMF9JGUF1PFNcmz1-0W3vabVRNXQmDpz52V2LC2WbZLOQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-03-03 12:38               ` Bastien DUMONT
2023-03-03 12:42                 ` A A [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAMwawgN0wkff+=Pb0Jnudsu2ipNcp6aJS-=hx-Psf1m9jKQhow@mail.gmail.com' \
    --to=amine.aboufirass-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).