Questions tagged [auctex]

is for AUCTeX package that extends basic `tex-mode` Emacs provides for editing TeX files. AUCTeX integrates many built-in and external macro packages for creating, editing, printing, publishing, and managing multilingual TeX documents. AUCTeX works with several TeX compilers, extensions, and dialects of TeX and LaTeX. AUCTeX supports customizable bibliographies, indexes, and tables of content.

Use the tag as a generic tag for many issues:

  • for AMS-TeX, ConTeXt, and other TeX dialects.
  • for LuaTeX, Omega, and XeTeX engines.
  • for other file types besides .tex, such as .aux, .dtx, .idx, .ind, and so on, which are part of AUCTeX's normal handling of TeX files.

Use additional tags, such as or , when appropriate.

Besides augmenting with the right tags, include the name of tool pertinent to the question using the tool's commonly known spelling: for example, bibtex, xindy, ps2pdf, RefTeX, dvips, , makeindex, etc.

Useful Links:

520 questions
17
votes
1 answer

How to indent items in LaTeX/AUCTeX itemize environments?

Q: how can I get "proper" indentation of LaTeX itemize environments in auctex? Here's where I'd like to be with an item in an itemize environment: \item line is indented two spaces relative to the beginning of the environment continuation lines in…
Dan
  • 32,584
  • 6
  • 98
  • 168
14
votes
2 answers

How can I preview TeX formulas inline in arbitrary modes?

How can I get TeX previews inside modes other than AUCTeX or org-mode? I'd love to see TeX equations in jabber, erc and markdown. If I ever switch to Emacs for email, I'd presumably like to see previews there too.
Tikhon Jelvis
  • 6,152
  • 2
  • 27
  • 40
13
votes
2 answers

How to call pdflatex under TeX-PDF-mode?

I am already in TeX-PDF-mode. When C-c C-c and type in pdflatex, it doesn't run. How can I run pdflatex in TeX-PDF-mode? Note: I don't change my emacs configuration file. Thanks.
Tim
  • 4,987
  • 7
  • 31
  • 60
13
votes
1 answer

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 keys are defined in the bib file, and which are…
cazgp
  • 231
  • 1
  • 3
12
votes
3 answers

How to delete a LaTeX macro while preserving its text content?

In TeXStudio by hitting ALT+DEL in a LaTeX macro like this \macroname{content} while the cursor stands just before the first { will result in deleting all that except its content (as shown below). Put the cursor (point) just before the first…
doctorate
  • 1,789
  • 16
  • 39
12
votes
3 answers

How to make auto-complete work in AucTeX mode?

I want auto-complete (ac) to work when I am inside AucTeX mode. I get all packages from MELPA by package installation. This is my relevant code in init.el file: (require 'package) (package-initialize) (require…
doctorate
  • 1,789
  • 16
  • 39
12
votes
1 answer

how to detect if inside a LaTeX math environment?

Q: is there a way to detect if point is inside a LaTeX math environment? How would one detect whether point is or is not inside a LaTeX math environment, whether delineated inline by $...$ or by named environments (equation, displaymath, etc.)?
Dan
  • 32,584
  • 6
  • 98
  • 168
12
votes
1 answer

Auto-Indenting \if statements with AUCTeX

The current AUCTeX behaviour for primitive tex code involving if-like statements is to indent the conditional statement at the same level as the surrounding condition. I.e. code such…
elemakil
  • 2,517
  • 1
  • 18
  • 26
12
votes
2 answers

Aligning multi-lined equations and tables in latex-mode

Let's say I'm editing a latex in Auctex's latex-mode, and I have the following equation. This is just indented with indent-region. \begin{align} \phi & = a + b + c + d \\ & = a + b + c + d + e \end{align} The above alignment is what…
Malabarba
  • 22,878
  • 6
  • 78
  • 163
12
votes
1 answer

How to let AUCTeX open PDF with pdf-tools

Some TeX/LaTeX editor has support for embedding PDF viewer, and forward/backward search support. I want to configure AUCTeX and pdf-tools to this result. I found a discussion in mailing…
stardiviner
  • 1,888
  • 26
  • 45
11
votes
1 answer

Arara integration in Emacs?

Is there a way to integrate Arara as a way to automate the building process of a LaTeX document in Emacs/AUCTex?
Francis
  • 113
  • 3
11
votes
1 answer

Gradually learning the keybindings provided by AUCTeX

If I do M-x forward-char, Emacs gives a very useful message You can run the command "forward-char" with C-f. Considering the fact that Emacs can find all LaTeX keybindings in the file latex.el under LaTeX-math-default provided by AUCTeX, is it…
Name
  • 7,689
  • 4
  • 38
  • 84
11
votes
2 answers

How to find out what my AUCTeX version is?

How can I find out what my AUCTeX version is? I have Googled this question to no avail.
Evan Aad
  • 1,461
  • 1
  • 14
  • 29
11
votes
1 answer

changing the role of the underline and the minus-sign just in LateX-mode

During the work with tex files with auctex+emacs (LateX-mode), I use more frequently _ (underline) instead of - (minus sign). The same as ^ instead of 6. The inconvenience is that I should press more frequently the shift-key. It would be desirable…
Name
  • 7,689
  • 4
  • 38
  • 84
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
1
2 3
34 35