Questions tagged [bibtex]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
28 views

How do I add a new bibtex entry while working in Emacs?

I am attempting to create bibtex entries of any sort (especially WWW links) while writing a paper on Emacs without having to get out of the buffer. I would need to know how to create on the fly these ...
user avatar
1 vote
1 answer
24 views

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 ...
user avatar
0 votes
1 answer
13 views

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&...
user avatar
0 votes
1 answer
49 views

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}}, ...
user avatar
0 votes
0 answers
77 views

Org-ref not exporting citations properly to ODT format

I recently started using Org-ref to manage my references in Emacs. I have three devices that all share the same Emacs configuration. While org-ref exports successfully to Libreoffice/ODT on two of my ...
user avatar
0 votes
1 answer
61 views

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 ...
user avatar
  • 499
0 votes
1 answer
18 views

org-babel pass bibtex sample to python code block

Is it possible to pass a sample bibtex document into a python source code block to be evaluated? :PROPERTIES: :ID: d7154890-6d45-44c0-9b0c-9c0f6533c11e :header-args: :session bibtex :END: #+...
user avatar
  • 635
1 vote
1 answer
35 views

Looking to name pdf files with a string different to bibkey

I recently started to incorporate Emacs as part of my workflow. Specifically, I am looking forward to a system that allows me to maintain and manage my bibliography. For this purpose I am now using ...
user avatar
1 vote
1 answer
34 views

How to use a delayed evaluation function where a string is expected?

I have a variable that expects a string, and I want to set it to a function that will return a string whenever the variable is used. Right now, I have (setq bibtex-autokey-prefix-string (format-time-...
user avatar
  • 97
2 votes
3 answers
98 views

Generate .bib local bbliography with all the bibtex entries cited in an org document

I have a large refs.bib file where I collect all my bibliography. I'd like to export only the relevant bibtex entries cited in a org document. So then I can email the document.bib and document.tex ...
user avatar
0 votes
0 answers
18 views

Each time I save a file, Spacemacs will try and parse my bibliography bibtex file. How can I stop that?

I use Spacemacs and it is great. But for some reason, each time I save a file--usually an org file, Spacemacs will try and parse my default bibtex file. And that file is relatively large, so it adds a ...
user avatar
  • 509
0 votes
1 answer
44 views

Org ref not exporting authordate when using natbib

I am trying to export an org file with rounded brackets: In order to be proficient in mathematics students must be able to perform fundamental skills with fluency (Williamson 2017:18). But when ...
user avatar
  • 3
0 votes
0 answers
38 views

Cannot capture notes into separate org file when entering reference into Bibtex with ivy

I am using emacs 27.1-4.1 with Spacemacs v.o.200.13 Ivy and vims. I am relatively new to emacs and am expanding into bibtex with ivy-bibtex. in my .spacemacs file is: (autoload 'ivy-bibtex "ivy-...
user avatar
0 votes
2 answers
134 views

org-ref Error: org-ref-list-index: No catch for tag: --cl-block-nil--, 0 #813

On a fresh install of Emacs I am unable to get org-ref to produce citations in my pdfs. I simply get question marks and in Org PDF Latex Output I get a lot of LaTeX Warning: Citation XXX on page XX ...
user avatar
2 votes
2 answers
485 views

What does =slug= means in the context of =org-roam=?

I'm trying of configuring org-roam-bibtex (not there yet), but I keep finding this ${slug} function, which I don't understand. See for example This post. What is it? What is its utility?
user avatar
  • 865
1 vote
1 answer
126 views

Run latexmk inside z shell instead of shell

Problem I am using latexkm to compile .tex documents, and recently I got this error while compiling: Running `latexmk' on `AF2021_serie5' with ``latexmk -bibtex-cond -pdf -synctex=1 AF2021_serie5'' Rc ...
user avatar
3 votes
1 answer
316 views

How to generate cited references with biber and xelatex

I would like to generate cited references and bibliography using biber and xelatex through org mode, but have not figured out how to do so. I have to use xelatex because I am working with Chinese ...
user avatar
  • 635
1 vote
1 answer
3k views

How to configure org-roam-bibtex properly?

I'm using org-roam with doom-emacs and I want to know how to properly configure org-roam-bibtex? I copied the org-roam-bibtex config from https://github.com/jethrokuan/dots/blob/master/.doom.d/config....
user avatar
0 votes
1 answer
91 views

bibtex customize sort-field in bibtex-entry-format

I am trying to customize the behavior of M-x bibtex-entry-format function to reformat a bibtex entry in a bib file. I want that the various fields in an entry are sorted to a given ordering. In my ...
user avatar
2 votes
1 answer
49 views

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) ...
user avatar
  • 195
1 vote
0 answers
60 views

Error message when reading org file containing bibtex block

I have an org file containing bibtex source blocks. Some time after I open it, I get the message Error running timer `bibtex-parse-buffers-stealthily': (wrong-type-argument number-or-marker-p ...
user avatar
  • 2,904
0 votes
1 answer
437 views

Org-ref with biblatex - is it feasible or should bibtex be preferred?

I am contemplating setting up org-ref to use within org mode for drafting scientific texts. However, as I go through various blogs etc. on the subject, it seems that org-ref is tailored for the ...
user avatar
0 votes
0 answers
195 views

Use custom BibLaTeX fields with Org-ref

I am managing my bibliography with John Kitchin's org-ref package. I want to create an @film entry type with a few custom fields. So in my init.el file, I have: ;; Create fields for Film type (add-to-...
user avatar
  • 1,775
0 votes
1 answer
400 views

Org-ref associate entry with local file

I am a mendeley user trying to sync org-ref with my local biliography (bibtex format). I'm having some trouble to run the function org-ref-open-pdf-at-point. Running this function while the cursor ...
user avatar
4 votes
1 answer
93 views

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 ...
user avatar
  • 345
0 votes
1 answer
149 views

What does it mean in ebib when a field of an entry is preceeded with an asterisk '*'?

When viewing entries in a database in ebib, some fields of some entries are marked with an asterisk (*). In my case, these are usually year or month field. I don't see a rhyme or reason to the types ...
user avatar
1 vote
1 answer
101 views

Reorder fields using bibtex-mode

I would like to clean up BibTeX entries so that fields always appear in the same order. For example, I would like the order of fields to always be: author, year, title, journal. So, pressing C-c C-q ...
user avatar
  • 1,730
5 votes
1 answer
265 views

Changing the order of the entries of the bibtex-autokey generator-*

I am trying to migrate from Zotero to org-ref, and got stuck when trying to use the doi-utils-add-bibtex-entry-from-doi command. After reading the Automatic Reference Key Generation section and ...
user avatar
  • 546
4 votes
1 answer
137 views

initialization of bibtex package

When i ran the following code in just started emacs (with-temp-buffer (insert "@article{aaaa, author = {AAA}, title = {BBBB} }") (bibtex-mode) (bibtex-autokey-get-field "title")...
user avatar
  • 105
0 votes
1 answer
82 views

Change location of latex options (\bibliography{}) in exported .tex file

I just spend hours trying to figure out why bibtex citations don't work. Turns out it's because \bibliography{testbib} needs to come after begin{document}. This is my test.org: #+LATEX_HEADER: \...
user avatar
1 vote
1 answer
60 views

How to insert and populate field in multiple bibtex entries automatically

I was wondering if anyone knows what's the function in bibtex that allows you to check if a field exist in an entry? What I am trying to achieve is use the bibtex-clean-entry but as it is, it throws ...
user avatar
1 vote
1 answer
266 views

What is the difference or functionality between the available tex packages enumrated below

sorry to disturb you. I am trying to migrate all the workflow of writing tex files and managing citations into emacs but I'm completely lost by the overwhelmed plethora of packages and I'm not sure ...
user avatar
5 votes
1 answer
115 views

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 ...
user avatar
1 vote
0 answers
524 views

Org-mode export to text: exporting citation to plain text

I am trying to generate text files from org files(originally intended for latex>PDF outputs), for submissions that require plain text. org-file: #+TITLE: Foo #+latex_class: article-no-defaults #+...
user avatar
0 votes
1 answer
188 views

Copy formatted citation from helm-bibtex menu

I'm hoping to add a function "Copy formatted citation" to the helm-bibtex menu. i.e. When I open helm-bibtex, press tab on an entry and have the option there to copy a full formatted reference. ...
user avatar
  • 495
2 votes
0 answers
56 views

Enabling fuzzy matching in helm-bibtex

Is it possible to enable fuzzy matching in helm-bibtex? The following example illustrates why it would be very useful to enable it. Imagine that typing "sm" returns these two matches. Smith 2015 ...
user avatar
  • 1,730
1 vote
1 answer
187 views

get more fields with bibtex-completion-candidates

In Helm-bibtex the function bibtex-completion-candidatesretrieves selected fields (authors, editors, title, year, type, and key of the entry) from the .bib file. Is there a way to make it retrieve ...
user avatar
  • 103
3 votes
2 answers
187 views

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 ...
user avatar
  • 1,419
0 votes
0 answers
307 views

How to specify a color theme specifically for Latex editing (the buffers with .tex files)?

I am using Emacs and there are various 'themes', eg. link to examples, but they do not appear to be dedicated to Latex. Some have modes for Latex, but I am wondering if there are theme files that can ...
user avatar
  • 693
2 votes
1 answer
370 views

Cannot cite anything [closed]

I've seen this question: Loading bibtex file in org-mode file as well as this one: https://tex.stackexchange.com/questions/114864/how-to-get-bibtex-to-work-with-org-mode-latex-export I've tried ...
user avatar
  • 10.8k
6 votes
1 answer
130 views

How to create a small bibtex file from a bigger one?

Q: how do I create a stripped-down bibtex file based on the citations used in a given paper? I have a single, master bibtex file that contains thousands of entries. For most papers, I only ever use ...
user avatar
  • 31k
8 votes
3 answers
231 views

Split a complicated string?

Q: how do I split a complicated string when whitespace delimiters aren't discriminating enough? Background I'm working with BibTeX files. I want to split an author string of the form "first-name ...
user avatar
  • 31k
4 votes
1 answer
163 views

Extract title from bibtex

I want to extract the title of a bibtex entry by using a convenient org-ref function. Is there a way? How? Im using org-ref with org-mode in spacemacs.
user avatar
  • 221
3 votes
0 answers
65 views

Ignoring curly braces in search

Journal article titles in my BibTeX appear as follows: Title="{{E}nsure {C}onsistence {C}apitalization in {T}itles}", This produces consistence output, which I am happy with. However, searching for ...
user avatar
  • 1,278
2 votes
1 answer
222 views

How to set field separators in bibtex-mode's autokey generator?

Q: how do I set a specific separator in bibtex-mode's autokey generator? Background I am working with bibtex-mode. It has a feature to auto-generate the entry key, which is customizable. Goal My ...
user avatar
  • 31k
4 votes
1 answer
212 views

Syntax highlighting is breaking in long bibtex files (spacemacs bibtex layer)

So I have a long papers.bib bibtex file that I edit with emacs (spacemacs bibtex layer), but the syntax highlighting only ever goes about halfway down. Here it is at about line 790: Other times this ...
user avatar
  • 473
9 votes
4 answers
1k views

How to make emacs align and indent a bibtex entry?

I want bibtex-mode to align and properly indent fields. I copied a bibtex entry for the following article into Emacs: (Article source here) But, with a simple paste, the alignment is lost in Emacs ...
user avatar
  • 665
2 votes
1 answer
1k views

AUCTeX doesn't run bibtex even though .emacs file is set up appropriately

I created a simple BibTeX file as well as a simple LaTeX file that references said BibTeX file. However, when I printed out the LaTex file in pdf format by running C-c C-a (which, according to the ...
user avatar
  • 1,389
5 votes
2 answers
161 views

How to turn every ALL CAP word in a buffer into Title case?

I need to fix a large .bib file where all proper names are in ALL CAPITALS (thanks ProQuest!) Is there an elisp function that searches a buffer/region for words in all capitals and turns all ...
user avatar
  • 155
1 vote
2 answers
487 views

org-export with ox-bibtex outside emacs

I want to write a Makefile that handles org-export with ox-bibtex, e.g. %.pdf: %.org emacs $< --batch -l emacs-load.el -f org-latex-export-to-pdf --kill %.html: %.org emacs $< -...
user avatar
  • 111