Questions tagged [reftex-mode]

Reftex mode is a minor mode with distinct support for `\label`, `\ref` and `\cite` in LaTeX.

51 questions
20
votes
3 answers

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 bibtex file in the init.el as I could have multiple…
petrux
  • 665
  • 1
  • 5
  • 18
11
votes
2 answers

RefTex searching for multiple articles with Helm

I recently started using Helm and am really enjoying it. However, I use emacs to write a lot of LaTeX. When I cite articles, I often need to cite several in the same cite macro - I could search my bibliography file for two separate entries very…
user2178117
  • 133
  • 8
8
votes
1 answer

Emacs setup for LaTeX after (use-package) verse

How to make this configuration file work with use-package with regard to AucTeX, RefTeX and LaTeX. I usually write latex rahter than pure tex documents. Current Working Emacs Configuration (load "auctex.el" nil t t) (setq-default TeX-master nil) ;…
doctorate
  • 1,789
  • 16
  • 39
8
votes
1 answer

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 the ref.bib file to "discover" its corresponding…
nyameko
  • 545
  • 2
  • 15
5
votes
1 answer

Can RefTeX be used with Org #+LABEL:?

RefTeX doesn't support Org #+LABEL: syntax by default, but can it be customized to do so? For example, if I have #+LABEL: foo, I'd like to be able to insert a reference to that label using RefTeX. I've been browsing the customize options, and it…
mankoff
  • 4,108
  • 1
  • 22
  • 39
4
votes
1 answer

Company Reftex slow when searching for labels

I am writing on a large LaTeX Document using Emacs with AUCTeX, RefTeX and Company for autocompletion. RefTeX for citations is working fine and finds my bibliography entries really fast. However, when company searches for labels it has to scan every…
ls.ptr
  • 61
  • 3
4
votes
1 answer

Evil keybindings in reftex-toc

I would like to bind j to reftex-toc-next and k to reftex-toc-previous whilst in a reftex-toc buffer. According to the documentation, the keymap active in *toc* buffers is reftex-toc-map. I'm using use-package to load reftex, so I've…
red
  • 53
  • 4
3
votes
1 answer

Make reftex-mode work with a different citation format

By default reftex-mode recognizes LaTeX-like citations, which have a format like \cite{Smith15}. (Locating the cursor above a reference shows a description of it in the mini-buffer and pressing C-& opens the bibliography file in the right spot). I…
scaramouche
  • 1,772
  • 10
  • 24
3
votes
1 answer

How to debug reftex not working with multiple files

I am using reftex and auctex with emacs 27.1 on Ubuntu 21.10 to write a large latex document that consists of many .tex files in a single directory. Between various weekly Ubuntu updates and editing my ~/.emacs file, something broke such that reftex…
2
votes
0 answers

custom labels of environment in auctex

I want to customize label of an environment I've created. I use Emacs/AucTex/Reftex. I've customized my .emacs file and it works well so far to automatically create a label when inserting my environment. (setq reftex-label-alist '(("point" ?p…
Guillaume
  • 179
  • 4
2
votes
1 answer

How to use labels inserted in .dtx files?

I wonder if there is a way to have reftex print and use labels inserted in a .dtx file from the TOC menu. As every line in a .dtx file begins with %, reftex seems unable to display labels. For example, from the TOC menu (C-c =), hitting on l has no…
2
votes
0 answers

Custom folding citations in AUCTeX

By default, only \cite is folded by AUCTeX. If you want other citation commands to be folded as well, you have to add them to LaTeX-fold-macro-spec-list manually. For example, with (push '("[nc]" ("nocite")) LaTeX-fold-macro-spec-list), I tell…
2
votes
0 answers

AUCTeX: 'reftex-cleveref-cref' inserts '\eqref' instead of '\cref' for equations

When I run 'reftex-cleveref-cref', which is supposed to insert a '\cref' command in my LaTeX file, I get the expected behaviour for figures and sections, but not for equations: I get the '\eqref' command for equations. What is making the function…
Giuseppe
  • 455
  • 2
  • 14
2
votes
1 answer

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 what is their purpose or if more than one of those…
Kirk Walla
  • 219
  • 1
  • 8
2
votes
1 answer

Jump to equation by label in auctex

While writing latex I sometimes have to reference an equation. I do that using reftex-reference (bound to C-c ( by default). However, I sometimes want to copy some text from the equation text I just referenced. Ideally, I would like to position my…
Tohiko
  • 1,589
  • 1
  • 10
  • 22
1
2 3 4