RefTeX is a feature of the emacs plugin AUCTeX, providing an easy way to navigate through your documents. It features an interactive table of contents with optional display of labels and citations.

learn more… | top users | synonyms

2
votes
1answer
64 views

How to use reftex in multiple files

I tried some solutions but fail so far. I divide large data into multiple files and then include all of them in main file. I used emacs24. Here is general of my main.tex file \include{chapter1} ...
1
vote
0answers
36 views

eqref in reftex [closed]

I'm using Emacs + AUCTeX + refTeX. I've added (setq reftex-plug-into-AUCTeX t) to my init.elfile and everything seems to work fine except for one thing. When I choose to reference a label using C-c ) ...
1
vote
1answer
49 views

AUCTeX/ RefTeX: ignore files by extension

I'm writing a very long document with dozens of figures that are all generated with matplotlib and exported as pgf files. Each figure environment then looks something like \begin{figure} ...
3
votes
1answer
87 views

How can I set RefTex default reference format?

I'm using RefTex and cleveref. When I want to add a cross-reference I need to enter C-c ) C <SPC> to select the uppercase (\Cref) reference format and show all label types. I use this method to ...
1
vote
0answers
20 views

Reftex: Problem with uppercase label environment type specification

I am using emacs 24.3.1 with auctex and reftex. Right now, I am trying to get reftex's label insertion mechanism to work with a custom environment "satz" that I defined via \newtheorem with the ...
2
votes
1answer
112 views

How can I link together outline-mode with RefTeX-TOC?

The question title says it, pretty much. How can I link together RefTeX's TOC functionality with outline-mode such that I can fold sections/subsections/etc.?
1
vote
1answer
66 views

Problem with \addtocounter that doen't affect \label

I've a little issue with \label. here's the code: \chapter{previous chapter} \phantomsection \addtocounter{chapter}{1} \addcontentsline{toc}{chapter}{\Alph{chapter}~~ the chapter} ...
4
votes
0answers
66 views

How can I 'uniquify' RefTeX label defaults?

When you create a new section within AUCTeX (using C-c C-s) and give the section a name, RefTeX will prompt you for a title, insert the section, and then prompt you for a label. This label is ...
9
votes
3answers
223 views

RefTeX: shortcut to open the .bib file of the current document

I would like the have a simple keyboard shortcut/command in emacs that opens the .bib file of the current (possible multifile) document. This should be possible with RefTeX, as it can figure out the ...
2
votes
1answer
388 views

Multiple bibliography/addbibresource in reftex

It seems that reftex only scans the file associated with the first bibliography/addbibresource command: \usepackage[backend=biber,bibencoding=utf8,url=false, isbn=false, doi=false, ...
4
votes
1answer
444 views

Disabling the “select reference format” menu in reftex

I'm not sure if this is the right place to ask this question, so if not, please let me know where it would be more appropriate. Since upgrading to Ubuntu 13.10, something seems to have gone wonky ...
1
vote
1answer
99 views

Extra characters in reftex citation yasnippet

I am having an issue with a YASnippet for inserting a RefTeX citation. As many others have, I'm trying to use this snippet from GitHub with the following syntax \cite{${1:label$(unless ...
3
votes
1answer
162 views

Cross-ref an equation using RefTeX, AUCTeX and cleveref

After an updated of AUCTeX (to 11.87) the solution that worked wonderful from this answer stopped working. In particular, I got the following error: reftex-reference: Wrong number of arguments: ...
1
vote
0answers
61 views

AUCTeX/RefTeX, the `import` package and cross reference

Today I switched to the import package with the hope that it will simplify the management of the files of my text. It surely did that, but.... It broke RefTex in emacs. Now, I cannot lookup my labels ...
1
vote
1answer
545 views

RefTex Multiple files problems

I have multi files and each file refers to the master file properly and the document can be compiled without problems .... RefTeX can only refer to the environments , figures, equations, etc when it ...
7
votes
1answer
515 views

Cleveref: AUCTeX and RefTeX set-up

How can I set up cleveref to work with AUCTeX and RefTeX? I have tried the advice on Emacs, RefTeX and Cleveref – can they work together? but it didn't work. Additionally, when I hit enter, \ref{} ...
2
votes
1answer
332 views

Using \eqref with RefTeX

How can I open the equation selection buffer in RefTeX automatically when entering \eqref in Emacs? I have the following line in my .emacs file (setq reftex-label-alist '((nil ?e nil "~\\eqref{%s}" ...
4
votes
1answer
3k views

Problem with tilde in \bibliography using BibTeX and RefTeX

I have a problem using a tilde in the \bibliography{}. Consider the following code \documentclass{article} \begin{document} \cite{ref09:man} \bibliographystyle{plain} \bibliography{~/bug.bib} ...
2
votes
1answer
67 views

How to create label based on filename with reftex?

I'm using reftex under emacs. In my document, my label policy is the following : \label{<buffer name>:<env>:<key>} for example \label{derivability:thm:Rolle} Is there a way to ...
0
votes
1answer
170 views

Reftex \cite command binding [closed]

I have a computer where the char [ is made with AltGr+è so I can't use the command Ctrl+[ of RefTeX. Is there a solution to this?
4
votes
1answer
220 views

Renaming label names in AucTex to recover ordered sequence

By rearranging (copy-and-pasting) math environments the automatically RefTeX generated label numbers \begin{align} \label{eq:5} ... \end{align} texttexttext... \begin{align} \label{eq:3} ...
2
votes
1answer
140 views

Hide/show individual chapters/sections/… in the RefTeX TOC buffer

RefTeX/AucTeX allow to display the maximum level of toc entries displayed in the ‘toc’ buffer. Is it also possible to hide(collapse)/show(expand) individual chapters and sections in the ‘toc’ buffer? ...
6
votes
1answer
225 views

RefTeX how to search for multiple articles to be included in a single cite macro

The RefTeX manual clearly describes how to mark multiple entries in a search buffer an insert them into a single \cite command, but how can you get the search buffer to contain results from multiple ...
3
votes
1answer
352 views

AUCTeX: How to enable auto expansion of sub and superscript in custom math environment

With help from the question How to add custom math-environments I taught AUCTeX that IEEEeqnarray and its starred counterpart are math environments. I added the following to my .emacs ;; teach auctex ...
8
votes
2answers
437 views

Unable to reference new environments with RefTeX

I was trying to add new environments to AUCTeX doing what the RefTeX's manual says, so I added the following to my .emacs: (add-hook 'LaTeX-mode-hook 'turn-on-reftex) (setq reftex-label-alist ...
17
votes
3answers
3k views

RefTeX won't find my .bib file in local library tree

RefTeX gives out the following error when trying to insert a citation: No valid bibliography in this document, and no default available I keep a master .bib file in ...
5
votes
1answer
330 views

Enable parentheses bib entry with RefTeX

I have built my .bib file using parentheses, like this: @ARTICLE(Campbell2006, author="Campbell, K. and McKay, M.D. and Williams, B.J.", title="Sensitivity Analysis when Model Outputs are Functions", ...
3
votes
2answers
244 views

How to include date for each item in *RefTeX Select*?

With RefTeX C-c [ invokes reftex-citation which first asks for a citation format (what citation macro to use, e.g. \cite or \footcite), then it asks for a regex to search the bibliography database and ...
4
votes
2answers
447 views

Cross References using multiple documents

I'm trying to solve a problem that's come up in producing a large document that I'm breaking up into smaller ones. The basic structure is this. A main document (main.tex) that includes formatting ...
5
votes
3answers
989 views

RefTeX doesn't turn on automatically when loading AUCTeX after upgrade to TeX Live 2011

Has anyone had this issue? I can't sort out why this would occur but I didn't change anything in the setup. If I call it manually and turn on reftex-mode it works fine.
4
votes
1answer
429 views

How to define file input commands with optional arguments?

So here is the situation : I wanted latex to read some commands when I include another file, and for that I defined a new \include command like this : \newcommand{\foo}[1]{} ...
14
votes
3answers
2k views

Setting up RefTeX with biblatex citation commands

How do I setup RefTeX with biblatex's citation commands? In Workflow for managing references? Seamus describes a workflow with RefTeX and mentions that it wouldn't be too tricky to add \autocite ...
4
votes
1answer
708 views

Creating a Keyboard Shortcut in Emacs for a Command in Auctex

I have created a custom command in the command list in Auctex. I want to be able to set it to a key binding like the View command which is C-c C-v. I know how to set global key bindings in the .emacs. ...
3
votes
1answer
1k views

Is there a LaTeX editor for Windows with an equivalent to RefTeX ?

I am currently using TexMaker on Windows to write my LaTeX documents. However, I would be very interested in a feature like RefTex (emacs module for bibtex) that would allow me to search directly in ...
1
vote
1answer
797 views

Default bibliography database path in reftex

I just discovered reftex and am very happy with it, including the manual. However, I am not too happy with how the path to the bibliography file is set and would like to change it, but haven't found ...
16
votes
3answers
1k views

Emacs, RefTeX and Cleveref – can they work together?

Trying to look for an answer in the net yielded only one questions and one answer which I could neither understand nor use. On tex.stackexchange I found only this question which was answered but I'm ...