Questions tagged [bibtex]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
19
votes
3answers
12k views

Loading bibtex file in org-mode file

I'm trying to use org-mode to do almost everything. In my scientific writing activity, I would like to sketch a whole paper in an .org file and then export in LaTeX. I don't want to load the .bib ...
13
votes
1answer
297 views

Highlighting missing references

Is it possible for auctex to display missing references differently to ones which are in the bib file? Currently, all references look identical so it's impossible to tell at a glance which citation ...
8
votes
4answers
930 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 ...
8
votes
3answers
189 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 ...
8
votes
1answer
2k views

Org-Ref: Managing multiple projects, each with own notes.org files and bibtex-pdfs folders

When using org-ref, the bibliography:ref.bib directive in the notes.org file can be used to direct it to the corresponding ref.bib bibliography. Is there a similar such directive or approach to enable ...
6
votes
1answer
129 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 ...
5
votes
2answers
149 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 ...
5
votes
1answer
199 views

bibtex2html options in org-mode publishing

How do I pass the bibtex2html option -nobibsource when publishing via ox-bibtex.el? I have added it directly to the ox-bibtex.el file by commentling out line 265 and adding my own: ;;'("-a" "-nodoc" "...
5
votes
1answer
233 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 ...
5
votes
1answer
103 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 ...
5
votes
1answer
514 views

Org-mode latex pdf export command doesn't find citations

I'm trying to write my thesis in org-mode, and so far it feels amazing. The integration with my todo system, the easy markup language, integration with latex. Wow. But recently (since I upgraded to ...
5
votes
1answer
200 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 ...
4
votes
1answer
120 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")...
4
votes
1answer
3k views

org-mode and bibtex latex export problem

I followed this and can grab stuff (with Google Scholar) and put it in my ref.org, as described. However when I create a testbibtex.org with this lone line: \bibliography{ref} all I get with Latex ...
4
votes
1answer
152 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.
4
votes
2answers
392 views

Possible to view more options in helm-bibtex?

When I use helm-bibtex, I get a screen showing some of the properties of the articles in my .bib file. For example, I get some sort of table where the columns are |author | title | year | articletype|...
4
votes
0answers
417 views

Helm-bibtex and Bibdesk bibtex intergration

Currently using Bibdesk to organise my references and various associated documents. I would like if possible to use the great addons Helm-bibtex and org-ref. To specify the location of the PDF ...
3
votes
2answers
164 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 ...
3
votes
1answer
243 views

AUCTeX: Turn on syntax highlighting for natbib commmands under BibLaTeX

I'm using natbib commands like \citep and \citealt under BibLaTeX thanks to the option natbib=true. Yet AUCTeX won't highlight them the way it highlights, for example, \cite (or \parencite, which is ...
3
votes
1answer
236 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 ...
3
votes
1answer
68 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 ...
3
votes
0answers
59 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 ...
2
votes
3answers
70 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 ...
2
votes
1answer
974 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 ...
2
votes
1answer
211 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 ...
2
votes
1answer
38 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) ...
2
votes
0answers
50 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 ...
2
votes
1answer
346 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 ...
2
votes
1answer
204 views

align (indent) in bibtex file

I have a bibtex file, and would like to have indentation as follows. @book{moon70:trees, AUTHOR = {John W. Moon}, TITLE = {Counting labelled trees}, YEAR = 1970, ...
1
vote
1answer
203 views

How to modify existing major-mode?

I've made a minor change to the existing code in bibtex.el; to be more precise, I've modified the function bibtex-generate-url-list so that it can generate URLs for several more fields (in addition to ...
1
vote
2answers
294 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?
1
vote
1answer
229 views

org-mode and reftex giving this error: reftex-using-biblatex-p: Stack overflow in regexp matcher

I'm trying to set upt org-mode and reftex-mode but I'm getting some troubles. Here is my init.el file: ;; ORG-MODE (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode)) (setq org-agenda-files '("...
1
vote
1answer
27 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-...
1
vote
1answer
55 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 ...
1
vote
2answers
466 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 $< -...
1
vote
1answer
30 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 ...
1
vote
1answer
93 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 ...
1
vote
1answer
258 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 ...
1
vote
1answer
168 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 ...
1
vote
1answer
221 views

How do I replace html <p> tag contents from one html file to another html file

I am having difficulty with bibliography citations in HTML export. I am able to generate two html files with citations, one from the standard html export from an org file, and another from exporting ...
1
vote
0answers
57 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 ...
1
vote
0answers
466 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 #+...
0
votes
2answers
119 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 ...
0
votes
1answer
2k 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....
0
votes
1answer
367 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 ...
0
votes
1answer
359 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 ...
0
votes
1answer
168 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. ...
0
votes
1answer
9 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: #+...
0
votes
1answer
60 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 ...
0
votes
1answer
142 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 ...