Questions tagged [bibtex]
74 questions
5
votes
1 answer
How to add 'timestamp' and 'owner' to 'bibtex-clean-entry'?
I am a recent and happy user of BibTeX mode (bibtex.el), but there is one thing I can't get to work as I wish. When I create a template, I can enforce insertion of timestamp and owner with:
(defun current-date ()
(format-time-string "%Y.%m.%d"))…

Mathieu Basille
- 53
- 3
4
votes
1 answer
BibTeX Line Breaks in fields
I'd like to have linebreaks within fields of a BibTeX entry that are preserved even after I format the entry with C-q. Currently, what happens in my BibTeX buffer is this. I produce an entry with a long annotation that includes a linebreak, like…

Bernhard
- 365
- 1
- 9
3
votes
2 answers
How to convert a BibTeX entry into formatted string?
I'd like to be able to export BibTeX entries as (flexibly formatted) strings.
For example, a BibTeX entry like this one:
@Article{Chomsky:59,
author = {Noam Chomsky},
title = {On Certain Formal Properties of Grammars},
year =…

Timm
- 1,589
- 12
- 24
2
votes
1 answer
bibtex-reformat and bibtex-sort hangs emacs
I am running emacs 25.3 and have been having issues with my bib files. Whenever I edit the bib file and reformat/sort the entries it takes a long time to carry out the reformatting (15-20 seconds) and after it is finished emacs hangs. I noticed…

tnknepp
- 270
- 3
- 11
1
vote
1 answer
bibtex-field-strings-alist usage
I'd like bibtex-clean-entry to change a few strings within titles for me - for example I'd like it to replace "CO2" with "CO$_2$". Setting up variable bibtex-field-strings-alist like this
(setq bibtex-entry-format '(opts-or-alts required-fields…

Timothy W. Hilton
- 135
- 4
0
votes
0 answers
Ebib: edit completions
I am trying to change ebib--field-edit-functions in Ebib to add address to its fields with completions. The manual says that you need to customize the user option ebib--field-edit-functions, but I can't find it. Nor can I do it manually in the init…

Jabot
- 15
- 4
0
votes
1 answer
bibtex-field-braces-alist syntax
I'm struggling with using bibtex-field-braces-alist to format titles in Bibtex entries. I've set this as
(setq bibtex-field-braces-alist
'((("title") . ("N2O" "European"))))
My interpretation of the variable's documentation (below) is that…

Timothy W. Hilton
- 135
- 4
0
votes
1 answer
How to produce sensible bibtex config file?
I have the following bib file:
@article{blei2017_review,
title = {Some {Inference}: {A} {Review} for
{ECM}},
volume = 112,
shorttitle = {Some {Inference}},
number = 518,
journal = {Journal of the…

Kirk Walla
- 219
- 1
- 8
0
votes
1 answer
Add bibliographic entry by DOI without using bib-files
This question is not about org-bibtext, org-ref or something like that which are all based on underlying existing bib-files.
I have a simple text-file (e.g. *.org) open in a buffer. I wan't to insert the full reference/bibliographic information of…

buhtz
- 729
- 5
- 23