Questions tagged [csl]

CSL stands for Citation Style Language, "a popular open XML-based language to describe the formatting of citations and bibliographies".

CSL stands for Citation Style Language, "a popular open XML-based language to describe the formatting of citations and bibliographies" https://citationstyles.org/.

85 questions
9
votes
3 answers

Specify CSL styles on RMarkdown

I am trying to specify a CSL style on my RMarkdown Document as below --- documentclass: article fontsize: 12pt linkcolor: blue output: pdf_document bibliography: bibliography.bib csl: biomed-central.csl --- but it gives me an…
Keniajin
  • 1,649
  • 2
  • 20
  • 43
8
votes
1 answer

How does pandoc-citeproc sort citations?

I have a pandoc-style Markdown text where I cite two papers by the same author in the same place: Lorem ipsum [@Author2000;@Author2001] dolor sit amet. This is rendered as Lorem ipsum (Author 2001, 2000) dolor sit amet. Why are these citations…
A. Donda
  • 8,381
  • 2
  • 20
  • 49
7
votes
1 answer

rmarkdown: hanging-indent citation

The rmarkdown package uses the biblatex with the chicago author-date style as default. I would like to use hanging-indent in the references, like it the biblatex-chicago package. This suggestion by David Sanson of using…
Bastiaan Quast
  • 2,802
  • 1
  • 24
  • 50
6
votes
1 answer

How to move superscript citation numbers inside of punctuation in Markdown file?

I am using Rmarkdown to write a paper with citations. When I use Nature's CSL (or any superscript numeric style) and render with Pandoc and pandoc-citeproc, the in line citations are outside of the punctuation. How can I move them inside the…
Daijiang Li
  • 697
  • 4
  • 16
5
votes
2 answers

References in Rmarkdown: use title capitalization as is in the .bib file

I'm writing a manuscript using Rmarkdown with RStudio and knitr. To format the references, I'm using the .csl file for the journal Global Ecology and Biogeography, which I got from https://www.zotero.org/styles. My problem is that the titles are…
5
votes
1 answer

Add a link to the title of references

I'm creating a document with rmarkdown (pandoc), which includes some bibliography in a .bib file. What I'd like to do is add a link to the title of the references, so that each of them links to a page of the form http://sample.com/citation-key.html,…
Julián Urbano
  • 8,378
  • 1
  • 30
  • 52
4
votes
1 answer

Style and link citations in Pandoc

I am using the IEEE citation style from http://www.zotero.org/styles/ieee with Pandoc in a project. When I cite a reference, it shows up as 1 in the text, whereas I would like it to show up as [1]. I have located this fragment in the ieee.csl file…
henrikstroem
  • 2,978
  • 4
  • 35
  • 51
3
votes
0 answers

Citations in KableExtra table missing when format = "latex" and using custom csl

After updating a Bookdown project to include a custom .csl file for citations, citations included within a kableExtra table stop working but only when format = "latex" when creating a PDF book. Steps to reproduce: Create new project with RStudio…
3
votes
1 answer

Organizing references by year in Pandoc when generating HTML

I am relatively new with Pandoc and I am trying to generate an HTML file with my publications to put up on my website. I'd like to have the publication list numbered and organized by year first, with the most recent first and the oldest last. I can…
TomCho
  • 3,204
  • 6
  • 32
  • 83
3
votes
1 answer

How to set references to 'sentence case'?

Although my entries in bibliography.bib are all sentence cased, my references become Title Cased (red underlines). How could I solve this? Edit: @user2554330's answer indicates that the *.csl file has to be edited. Since rmarkdown uses Chicago…
jay.sf
  • 60,139
  • 8
  • 53
  • 110
3
votes
1 answer

Is it possible to italicize "et al." in a CSL style?

I'm trying to create a CSL style to automate my citations for research papers (and lab reports). My department has decided that other places make citations too complicated, so they have created their own style that students have to use. One of the…
3
votes
1 answer

How do I cite papers with multiple authors using YAML metadata with RMarkdown + knitr?

I'm writing my package's vignette and I'm trying include a paper containing multiple authors as reference, using something like this in the beginning of the code: --- references: - id: doe2009 title: A Method for Something author: - family:…
jbrettas
  • 323
  • 1
  • 7
3
votes
2 answers

Mendeley's standard IEEE CSL file creates improper bibliography

I have been using Mendeley's Microsoft Word plugin to easily reference papers in my Mendeley Desktop library. However, I've noticed that the IEEE format for the bibliography/citation is incorrect with regards to referencing conference proceedings…
Jordan
  • 31
  • 1
  • 3
3
votes
1 answer

Pandoc, CSL - em dash to separate author names

I am using pandoc to generate pdf document (through latex). In the references and in citations, I would like to separate author names with em dash. To achieve that, I changed the delimiter to " --- " in the citation style file (.csl) I am using. I…
paljenczy
  • 4,779
  • 8
  • 33
  • 46
2
votes
1 answer

Citation-Style-Language (CSL): Missing indentation of second line in docx and odt output

RMarkdown generates a nice bibliography with pandoc (using the citeproc option) via LaTeX, where the second line is aligned to the second field (i.e. after the number of the citation) like in 1. Long title of the first citation However, when…
NicolasBourbaki
  • 853
  • 1
  • 6
  • 19
1
2 3 4 5 6