Questions tagged [bibtex]

a file format or tool for specifying bibliography entries, mostly used in tex-based document builders

Bibtex is a bibliography data format which is widely used in tex/latex documents. A bibtex entry consists of a subset of about 20 different data entries; the subset often depends on the document type.

A sample bibtex entry may look like this:

@article{consensus,
  author = {Jeroen Bruggeman and V.A. Traag and Justus Uitermark},
  year = {2012},
  title = {Detecting communities through network data.},
  journal = {American Sociological Review},
  volume = {77},
  number = {6},
  pages = {1050-1063},
  note = {A comment on 
    <a href="http://asr.sagepub.com/content/75/6/817.abstract">
    The temporal structure of scientific consensus formation
    </a>, with <a href="http://asr.sagepub.com/content/77/6/1064.extract">
    reply</a> from authors.},
  doi = {10.1177/0003122412463574},
  url = {http://asr.sagepub.com/content/77/6/1050.abstract},
  gsid = {3563051433438701877},
  pdfurl = {publications/ASR-comment.pdf}
}
410 questions
5
votes
2 answers

Fix encoding of incoherently encoded text file

I have a long text file which uses apparently different encodings in subsequent blocks of text (iso or utf-8). It is the result of appending text using >> file.bib and copy and paste from different sources (webpages). The blocks can in principle be…
highsciguy
  • 2,569
  • 3
  • 34
  • 59
4
votes
1 answer

Editing multiple entries in Jabref

Is there a way to edit multiple Jabref entries? E.g. add the same data to an empty field, like "keywords", of multiple files?
David Brown
  • 205
  • 1
  • 3
  • 8
4
votes
1 answer

In Rmarkdown, is there a way to create a .bib file for only those keys cited in a document?

I have written a manuscript using bookdown in Rstudio for a specific project that cites references from a bibtex file. This is a single .bib file that I use for many documents, so it is outside my project folder and contains many references that…
tellis
  • 152
  • 6
4
votes
2 answers

Create a .bib file from bibitem (thebibliography)

I have like 200 bibitem entry in the environment \begin{thebibliography} \bibitem{Bermudez} Berm\'udez, J.D., J. V. Segura y E. Vercher (2010). \emph{Bayesian forecasting with the Holt-Winters model}. Journal of the Operational Research Society,…
LuisMoncayo
  • 125
  • 2
  • 9
4
votes
1 answer

Changing citation style to number-letter in papaja Rmarkdown package

I'm writing a scientific manuscript in RMarkdown using the papaja package, which enables me to report my statistics beautifully. However, the journal now requires me to submit a Word document with number-letter referencing. Is it possible to change…
4
votes
1 answer

Encoding problems reading .bib into R using RefManageR

I'm trying to follow this blog post to automatically generate .md files for each of my publications, for use in blogdown. The function in the post uses the package RefManageR to read entries from a BibTeX file, and creates a .md file for each entry.…
rasenior
  • 81
  • 11
4
votes
1 answer

bibtex to html with pybtex, python 3

I want to take a file of one or more bibtex entries and output it as an html-formatted string. The specific style is not so important, but let's just say APA. Basically, I want the functionality of bibtex2html but with a Python API since I'm…
Ender
  • 95
  • 9
4
votes
1 answer

List of all BibTex entries in a .bib file, to generate Hakyll publication list?

I'm making a personal website with Hakyll, and I'd like to list my publications. I've found this module and this guide for how to print the references from a markdown document at the bottom. The problem with this is, it assumes you've got some…
jmite
  • 8,171
  • 6
  • 40
  • 81
4
votes
4 answers

Convert string of words to a custom acronym/abbreviation in R and concatenate it with data from other rows?

Here is an example data set: data <- data.frame (author = c('bob', 'john', 'james'), year = c(2000, 1942, 1765), title = c('test title one two three', 'another test title four…
David LeBauer
  • 31,011
  • 31
  • 115
  • 189
4
votes
1 answer

How can I force R markdown / LaTeX to display 'note' field in bibliography (display additional information)?

I use bibliography in my .Rmd file: bibliography: bibliography.bib My sample .bib entry looks as follows: @misc{XYZ, author = "Somebody", note = "Accessed: 2017-01-10", title = "{Global database of LaTeX}", url =…
matandked
  • 1,527
  • 4
  • 26
  • 51
4
votes
1 answer

How to use bibliography in different directory when knitting rmarkdown document to beamer presentation?

I'm knitting some beamer slides in an RMarkdown script in Rstudio on a Windows 7 PC. The slides are in the directory C:/me/slides/myslides.Rmd I have a master bibliography that lives in C:/me/bib/masterbib.bib I cannot figure out how to link to…
BarkleyBG
  • 664
  • 5
  • 16
4
votes
2 answers

bibTeX citation for stackoverflow

(I am not sure if this question belongs to the meta website or not, but here we go) I want to add stackoverflow to the bibliography of a research paper I am writing, and wonder if there is any bibTeX code to do so. I already did that for gnuplot I…
Vinicius Placco
  • 1,683
  • 2
  • 14
  • 24
4
votes
1 answer

regex to eliminate field in bibtex file

I am trying to slim down the bib text files I get from my reference manager because it leaves extra fields that end up getting mangled when I put it into LaTeX. A characteristic entry that I want to clean up is: @Article{Kholmurodov:2001p113, author…
dtlussier
  • 3,018
  • 2
  • 26
  • 22
4
votes
2 answers

Splitting a bibliography: how to overcome Multibib/Latex's file limitation (16 max)

I'm writing a thesis where I'm asked to split the bibliography into different sections, and so far I've been using Multibib which was really perfect for what I wanted to do: \newcites{ltex}{\TeX\ and \LaTeX\…
Kevin
  • 4,618
  • 3
  • 38
  • 61
4
votes
1 answer

Latextools does not display cite keys if .tex file is in subfolder

The wonderful LatexTools plugin for Sublime Text 2 autocompletes references when using \cite. Everything works perfectly when the .bib filed is in the same folder as the .tex file, and the .tex file includes the \bibliography command. Unfortunately,…
David
  • 167
  • 1
  • 6