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
6
votes
1 answer

BibTex grammar for ANTLR

I'm looking for a bibtex grammar in ANTLR to use in a hobby project. I don't want to spend my time for writing ANTLR grammar (this may take some time for me because it will involve a learning curve). So I'd appreciate for any pointers. Note: I've…
systemsfault
  • 15,207
  • 12
  • 59
  • 66
6
votes
3 answers

Latex/Miktex: Undefined citations

I am writing a latex script for my work, and I am having infinite trouble in getting the references in the PDF. My code is shown below, and I am using MikTex 2.9 on RStudio. Some background information that might be relevant: I am using Mendeley…
Marjanne
  • 63
  • 1
  • 1
  • 4
6
votes
1 answer

How to preserve quotes in BibTeX

I'm new to LaTeX and BibTeX, so excuse my ignorance. I have the following entry: @Article{Hart, author = {P.E. Hart, N.J. Nilsson, B. Raphael}, title = {Correction to \"A Formal Basis for the Heuristic Determination of Minimum Cost Paths\"…
Herman Schaaf
  • 46,821
  • 21
  • 100
  • 139
6
votes
2 answers

How do I enter angle brackets in bibtex?

I want to put a title field in a bibtex citation that includes angle brackets: @article{ title= { } } but when it compiles I get upside down '!' and '?' instead. How to escape the angle bracket?
timdisney
  • 5,287
  • 9
  • 35
  • 31
6
votes
2 answers

Library for parsing BibTeX

I am looking for Javascript library for parsing BibTeX files. Ideally, I would like to be able to cite papers and generate publication lists from BibTeX database (files with .bib extension). Any tips regarding what I should go with? I am aware of…
blazs
  • 4,705
  • 24
  • 38
6
votes
2 answers

Does pybtex support accent/special characters in .bib file?

from pybtex.database.input import bibtex parser = bibtex.Parser() bibdata = parser.parse_file("sample.bib") The above code snippet works really well in parsing a .bib file but it seems not to support accent characters, like {\"u} or \"{u}(From…
Drake Guan
  • 14,514
  • 15
  • 67
  • 94
6
votes
2 answers

a bib style to capitalize book titles but not paper titles

I've heard that title capitalization in bibliography is the bibliography style's role (the bst file). Is there a bibliography style file that capitalizes book titles but not paper titles? For example, a paper title should be like Hello world and…
Yoo
  • 17,526
  • 6
  • 41
  • 47
5
votes
5 answers

Odd Bibtex behaviour in a Latex document

I added a line "\cite{test}" as a test to my working Latex document. When I compiled the bibtex "!bibtex name_of_my_file, I got the expected error: Warning--I didn't find a database entry for "test" Then, I removed the line and compiled the bibtex…
Léo Léopold Hertz 준영
  • 134,464
  • 179
  • 445
  • 697
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

Is it possible to remove parentheses from in-text citations in R?

I'm trying to remove a parenthesis from a citation that is already within a parenthesis. At the moment my markdown text looks as follows: The questionnaire Patient Health Questionnaire 9-Item Scale (PHQ-9; [@Kroenke2010]) was used to assess symptoms…
Glusch
  • 53
  • 6
5
votes
1 answer

LaTex not compiling on VS Code due to BibTex

I am having trouble compiling a book of editing using LaTex via VS Code and the following is the error message I get: Latexmk: Summary of warnings from last run of (pdf)latex: Latex failed to resolve 15 reference(s) Latex failed to resolve 4…
Yocoxcanemitia
  • 265
  • 1
  • 4
  • 9
5
votes
2 answers

Include the text of a `bibentry` in the (R)markdown text body output

I have been looking for a solution to include the full text of a reference item (bibentry) in the body of the (R)markdown text document, that is, before the reference list. This can be done with LaTeX…
Samuel-Rosa
  • 339
  • 3
  • 10
5
votes
1 answer

Import Word 2007 bibliography into JabRef?

I have a bibliography list in Word 2007, but want to import them into JabRef (bibTex). I have searched around, the bibliography in Word is stored in an XML file, but JabRef does not import via such format? I wonder if there is an efficient way to do…
Simon Hughes
  • 4,739
  • 4
  • 19
  • 12
5
votes
2 answers

How to indicate "accessed" attribute in Bibtex file when citing urls with IEEE?

According to the IEEE citation style reference, in case we cite urls the access time of the url should be indicated as well. Does anybody know how to indicate this when using BibTeX?
zoltanctoth
  • 2,788
  • 5
  • 26
  • 32
5
votes
1 answer

deleting a specific entry from a bibtex file based on cite key using Python

how can a delete a specific entry from a bibtex file based on a cite key using python? I basically want a function that takes two arguments (path to bibtex file and cite key) and deletes the entry that corresponds to the key from the file. I played…
user2503795
  • 4,035
  • 2
  • 34
  • 49