Questions tagged [bibtex]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
37 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 ...
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: #+...
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 ...
0
votes
1answer
68 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 ...
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 ...
2
votes
3answers
68 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 ...
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-...
0
votes
1answer
59 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
0answers
15 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 ...
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 ...
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 ...
1
vote
2answers
289 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?
0
votes
0answers
24 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-...
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 ...
3
votes
1answer
229 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 ...
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....
2
votes
1answer
37 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) ...
8
votes
4answers
929 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 ...
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 ...
2
votes
1answer
344 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 ...
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 ...
0
votes
1answer
356 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
356 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
0answers
151 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-...
3
votes
1answer
67 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 ...
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 ...
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 ...
5
votes
1answer
230 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
115 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")...
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 ...
0
votes
1answer
73 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
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
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
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
0answers
464 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
167 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
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 ...
0
votes
0answers
278 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 ...
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 ...
1
vote
1answer
219 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
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.
8
votes
3answers
187 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 ...
4
votes
2answers
388 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
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 ...
13
votes
1answer
296 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 ...
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 ...
5
votes
1answer
510 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
973 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
147 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
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 $< -...