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 = {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 <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, <denis.maier-NSENcxR/0n0@public.gmane.org> 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-iii-types

 

Best,

Denis

 

Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> Im Auftrag von A A
Gesendet: Freitag, 3. März 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 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: 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 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-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 pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit 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 pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAMwawgMF9JGUF1PFNcmz1-0W3vabVRNXQmDpz52V2LC2WbZLOQ%40mail.gmail.com.