Citations are how credit is given to original sources. Use this tag to discuss ways to present or format citations via code. Questions about what obligation you have to cite original works are off-topic
Questions tagged [citations]
258 questions
10
votes
1 answer
Pandoc citations without appending the references bibliography
Main Question:
Is there a way to flag Pandoc to turn off appending the bibliography but still have it insert the correct inline citations?
I am writing a Markdown / Knitr document that has a main file (article.Rmd) and several "child" files that are…

Kalin
- 1,691
- 2
- 16
- 22
8
votes
6 answers
Latex: Citations in section headings put into table of contents first
I have some citations for sections of my document that I have put in the section heading:
\section{The title \cite{abc}, \cite{def}}
Text
I am also using the table of contents function, but Latex must look at the citations in the headings (for the…
Mark Ainslie
8
votes
1 answer
Use advanced cite commands (e.g., citetitle, citeauthor, footcite from biblatex/natbib) in R markdown file compiled as both PDF & HTML
Both natbib and biblatex offer a great variety of commands to insert citations.
However, only a few of them seem to be available in R markdown:
Description
R markdown
natbib Command
biblatex Command
Classical Citation: Author, year, and…

mavericks
- 1,005
- 17
- 42
8
votes
1 answer
Citing multiple publications by same author in same year in RMarkdown
I have two citations by the same author, and they were published in the same year.
Right now, my code looks like this
blah blah Hansen [-@Hansen2015a; -@Hansen2015b]
and I get this
blah blah Author (2015; 2015) blah blah
I want the result to look…

mdawgig
- 83
- 4
8
votes
2 answers
Use custom citation style in markdown using YAML header
I am trying to use a custom citation style in a markdown file, but the citation uses the default (Chicago) style each time I knit. I have tried changing the output format from a JS reveal presentation to an HTML document to a PDF document, but it…

J. Carew
- 323
- 3
- 11
8
votes
1 answer
citeseerx search api
Is there a way to access CiteSeerX programmatically (e.g. search by author and/or title?) Surprisingly I cannot find anything relevant; surely others too are trying to get scholarly article metadata without resorting to scraping?
EDIT: note that…

dan3
- 2,528
- 22
- 20
7
votes
0 answers
pandoc citations in revealjs from markdown
I use pandoc to generate Reveal.js slides from a Markdown file. All the citations are dumped in in the last slide, so I finish the .md file with the title # References, which is fitting. However, all references are in the same slide, and they would…

Trylks
- 1,458
- 2
- 18
- 31
7
votes
0 answers
How do you cite a GitHub issue or GitHub answers in paper
I looked up on this subject but couldn't find an appropriate answer as to how should one cite a GitHub issue in a research paper's references section.
I wanted to cite this issue in the references. Could anyone tell the correct and complete way to…

Tanishq Vyas
- 1,422
- 1
- 12
- 25
7
votes
1 answer
How to export an R citation output into endnote?
How can I easily import citations from R into endnote obtained by for instance
citation("ggplot2")
Is there a good workflow for this or do I manually have to do it?

Misha
- 3,114
- 8
- 39
- 60
6
votes
5 answers
Cite/Reference OpenMP in a Paper
I am writing a paper and implemented an algorithm using OpenMP. Since Visual Studio directly supports OpenMP, am I required to cite OpenMP in my paper?

A-A
- 663
- 1
- 13
- 17
6
votes
1 answer
Rmarkdown nocite does not display citations in pdf
It has been a hard time finding what does not work. I want to use the nocite command to display bibiography entries that I don't cite in the document, but I cannot figure why it does not work.
Here is a MWE
---
title: "Test"
date: "`r…

Antoine
- 269
- 1
- 10
6
votes
1 answer
Retrieve citations of a journal paper using R
Using R, I want to obtain the list of articles referencing to a scientific journal paper.
The only information I have is the title of the article, e.g. "Protein measurement with the folin phenol reagent".
Is anyone able to help me by producing a…

shazz
- 387
- 1
- 13
5
votes
5 answers
Seeking citation parser
I need a parser that will scan scholarly texts, extract citations, and parse those citations into their component parts (author, title, publication date, etc).
I've tried Paracite, but it is abominably slow and doesn't produce high quality…

Mike Sokolov
- 6,914
- 2
- 23
- 31
5
votes
2 answers
getting a papers references using Elsevier Scopus API
I'm using the Scopus API made by Elsevier.
http://dev.elsevier.com/sc_apis.html
I've written a short python scrip to extract information about papers such as the title, DOI number and the DOI numbers of papers citing the paper in question.
However…

Jon
- 171
- 3
- 12
5
votes
1 answer
Is there a standard way to attribute/cite python code?
I'm using someone else's code verbatim and I would like add commented link to attribute the code to them.
Right now I have:
#this code was taken from this page:
#https://www..com
Is there a stylistic standard or common practice for…

Slicedbread
- 2,208
- 3
- 21
- 28