Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [bibtex]

The tag has no usage guidance.

0
votes
1answer
13 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 ...
1
vote
1answer
38 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 ...
5
votes
1answer
47 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 ...
4
votes
1answer
44 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")...
0
votes
1answer
33 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: \...
1
vote
1answer
26 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
1answer
84 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 ...
4
votes
1answer
45 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 ...
1
vote
0answers
53 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
1answer
55 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. ...
2
votes
0answers
28 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 ...
1
vote
1answer
73 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 ...
2
votes
1answer
71 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 ...
0
votes
0answers
86 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 ...
2
votes
1answer
188 views

Cannot cite anything

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 ...
7
votes
1answer
105 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 ...
7
votes
3answers
83 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 ...
2
votes
1answer
74 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
0answers
51 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
1answer
112 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 ...
5
votes
1answer
128 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 ...
7
votes
3answers
531 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 ...
0
votes
1answer
406 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 ...
5
votes
2answers
85 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 ...
1
vote
2answers
259 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 $< -...
6
votes
1answer
909 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 ...
2
votes
1answer
1k 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 ...
0
votes
2answers
73 views

How to write an e-lisp function to extract a sub-string between two given characters (not their positions) in a given string?

I am writing an e-lisp function in my .emacs file to help process Bibtex entries I copy from Google-Scholar. Let's consider this example: @article{jacobsen2011full, title={A full hydro-and ...
4
votes
1answer
140 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 ...
5
votes
1answer
220 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 ...
2
votes
1answer
123 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
170 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 ...
4
votes
2answers
144 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|...
3
votes
0answers
318 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 ...
1
vote
1answer
87 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 ...
13
votes
1answer
204 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 ...
5
votes
1answer
142 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" "...
15
votes
2answers
7k 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 ...
1
vote
1answer
213 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 '("...