AUCTeX is a package for writing (La)TeX, ConTeXt, docTeX and TeXinfo in Emacs and XEmacs.

learn more… | top users | synonyms

0
votes
1answer
52 views

LaTeX error for siunitx in a longtable environment

I've been working on a large document which makes frequent use of \include{}ed longtable environments and siunitx. Recently, longer expressions using siunitx have been causing compile errors which I ...
22
votes
3answers
4k views

Uninformative error message when using AUCTeX

I often have this error when using AUCTeX: TeX-error: Error occured after last TeX file closed However, when running for instance pdflatex on the command line, I have a proper error message. But the ...
2
votes
1answer
20 views

Show document structure in AucTeX

I'm writing a large document using AucTeX (in Linux), and I'm getting lost in the document. I previously used TexMaker and it has a vertical panel that shows you the document structure to navigate it ...
1
vote
0answers
20 views

Why the option label are always put in before command in Auctex mode and How to fix it

dMy editing LaTeX environment is Emacs with Auctex. When I used C-c C-s to create section or C-c Ret to create environments, I am always asked to input some label for options the section or ...
1
vote
1answer
87 views

Add key binding to emacs in AucTeX does not fully work

Based on the discussion in these questions (1, 2, 3), I created the following key bindings for AucTeX in emacs. (defun AucTeX-LaTeX-beginendgroup () (local-set-key (kbd "C-{") "\\begingroup ") ...
4
votes
1answer
258 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
1answer
18 views

Indentation of tabular-like environments in AUCTeX 11.88

AUCTeX 11.88 introduced a new style of indentation for tabular-like environments. I understand this is implemented in LaTeX-indent-tabular. Is there an easy way to revert to the old style?
0
votes
1answer
24 views

Strange behaviour when compiling auctex from MELPA inside Cygwin's Emacs (w32 version)

I tried to compile the auctex from Emacs MELPA. The version is: 11.88.4 When I first open a .tex file, compile AUCTEX, and change to "TeX-latex-mode", Emacs will work properly, the menu bar also ...
2
votes
1answer
31 views

Make a new AucTEX command

I'm writing a document using eps graphics so I need to compile with Latex to produce a dvi file. In that file graphics don't show (they're a combination of .tex and .eps files), but if I do dvipdf ...
2
votes
1answer
898 views

Getting AUCTeX and amsmath to work with multiple files

I'm using Emacs 23.1.1, with AUCTeX plugged in, to edit my .tex files, but I'm having a small problem with my amsmath environments. The current document I'm editing is divided into multiple files. ...
5
votes
3answers
4k views

Aquamac, AUCTeX should open PDF in external viewer, not render it in Emacs buffer

I use AUCTeX in my Mac Emacs, which is Aquamac 23.1. Typically in AUCTeX, when I type C-c C-c it runs pdflatex, then C-c C-c again and it opens it in a PDF viewer. But in this Aquamac emacs version, ...
12
votes
2answers
2k views

How to turn on flyspell mode with AUCTeX?

I'm using flyspell mode, but unfortunatly I have to M-x flyspell-mode in each AUCTeX buffer. Somehow (add-hook 'LaTeX-mode-hook 'flyspell-mode) doesn't work for me. What is the correct flyspell-hook ...
0
votes
0answers
11 views

How to use AucTeX error handing

I can't figure out how to use it. Here's what happens if I process a LaTeX file that has multiple errors: C-c C-c (process LaTeX) [errors found] C-c ` (goto first error) fix errors in ...
2
votes
1answer
60 views

Adding keybord shortcut for AUCTeX in Emacs

Disclaimer: This is a question about Emacs and AUCTeX. Sorry if this is out of the scope of tex.sx. How can I add a new command to AUCTeX? I want my AUCTeX mode to have the command C-c C-f C-p ...
0
votes
1answer
244 views

Problem setting master file to current file with Emacs/AucTeX

I have a TeX file containing these few lines at the end: %%% Local Variables: %%% mode: latex ...
2
votes
0answers
34 views

emacsclient issue when using pdfsync on Mac OS X

I'm trying to sync between emacs and skim, and this is the site that I reference: http://stackoverflow.com/questions/7899845/emacs-synctex-skim-how-to-correctly-set-up-syncronization-none-of-the-exi ...
2
votes
1answer
70 views

Auctex's C-c C-c issue with latexmk

This is my Emacs information. GNU Emacs 24.4.1 (x86_64-apple-darwin14.1.0, NS apple-appkit-1344.72) of 2015-02-16 I installed Auctex 11.88.2 with package-install. When I open the main tex, and ...
1
vote
0answers
31 views

AUCTeX (wrong-type-argument stringp nil) error when clicking the button

I have my AUCTeX/emacs setup following this site: http://www.stefanom.org/setting-up-a-nice-auctex-environment-on-mac-os-x/. Everything works fine, C-c C-c gives me correct pdf, and C-c C-v shows the ...
47
votes
1answer
3k views

AucTeX extension for TikZ

Is there an AucTeX extension which supports the TikZ syntax and that one of the tkz-collection as well? In particular I want thinks like: syntax highlighting proper indentation that ...
8
votes
3answers
5k views

Emacs AUCTeX View command

I need help using the View command in AUCTeX running in Emacs. This is essential for viewing PDFs and without it I can not make TeX documents. In my .emacs file I have the following (which was created ...
2
votes
1answer
112 views

Biblatex: How can I get same bibliography when compiling region in AUCTEX as in the complete “master” document?

Preliminary remark This problem is constantly annoying me, so I'd like to find a solution. From my experience with biber I thought I would just need to copy/rename some files created by bibtex to ...
2
votes
1answer
84 views

How to get Emacs to load Auctex using an init file in my HOME directory?

I am making the transition to Emacs from TexStudio because I can see that it's gonna really speed up things even though it's going to be a tough learning curve. So far all my initialisation code ...
4
votes
1answer
2k views

How to uninstall TeX Live on Mac which is installed through command “sudo port install texlive +full”?

At the beginning, my purpose is to set up AUCTeX with Emacs. I just do like below Download AUCTeX, then cd to the directory, make and sudo make install. It works well when the .tex file only ...
1
vote
1answer
27 views

Auctex command on region - backward search leads to region.tex instead of main.tex

In auctex I can run a command only on a certain region to speed up compiling. This works great, however if then I use the backward search to jump from the .pdf to the .tex source code, it opens the ...
1
vote
0answers
49 views

Auctex preview for included documents

I've two *.tex documents, a main one and another one included in main. main.tex: \documentclass{article} \begin{document} \section{Hello} \begin{equation} \label{eq:1} \frac{1}{9000} ...
0
votes
1answer
133 views

Emacs gives me “Latex: problems after [0] pages”

Yesterday, out of the blue, my emacs+auctex configuration stopped working and I started getting the following error when trying to do pdflatex, "Latex: problems after [0] pages". Hitting Ctrl+C+L I ...
3
votes
0answers
206 views

How can I change the color of a \enquote quotation inside Emacs?

When I paste a text inside quotation marks into Emacs+AUCTeX, AUCTeX formats it with a soft red color (see the screenshot below at the first line). I like this color. However, I'm using csquotes ...
1
vote
0answers
59 views

citing from zotero for workflow in emacs/AUCTex

I am trying to develop a workflow as I begin writing my dissertation (in the social sciences). I am using emcas as my LaTeX editor, Zotero as my citation manager, and Linux Mint as OS. I had a ...
0
votes
1answer
44 views

Editor with mode-sensitive syntax highlightning

Is there a text editor with support for the following (somewhat special) syntax highlightning. I want to be able to set a different background color for math mode and for normal mode. (I realize this ...
7
votes
1answer
795 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{} ...
1
vote
0answers
61 views

Two installations of texlive

I installed TeXLive 2014 complete from a DVD on Fedora 21. I have set the PATH as per the instructions to /usr/local/texlive/2014/bin/x86_64-linux and it is working correctly. While installing auctex ...
1
vote
0answers
50 views

How to disable Emacs+AUCTex formating for a particular chapter

Emacs+AUCTeX formats automatically the titles (section, part, ...) by increasing the font and changing the color. I would like to disable this behavior for one (and only one) chapter. This chapter is ...
8
votes
2answers
148 views

Best way to use multi-lingual quotes using csquotes package in AUCTeX Emacs

When I write in Arabic (Rt-to-Lt) language I get the quotation marks reversed (the right instaed of left and vice versa) if I want to keep font-locking of AUCTeX setup. Emacs editor using AUCTeX ...
5
votes
2answers
210 views

Add own macros to “.emacs”

I'm using KOMA-script, which offers the use of letter-class-options, which can be stored in a file: *.lco. One command I define in a "zrp.lco" is very simple: \newcommand{\Beweis}[1]{Beweis: #1} ...
2
votes
0answers
68 views

Options problem with LaTeX using AucTeX

In my file, I use the package minted that require to use the option -shell-escape . In order to use this option, I need to add the following line in AucTeX : %%% TeX-command-extra-options: ...
17
votes
4answers
13k views

How to preview LaTeX in Emacs?

I want a similar layout as in SO, I use it currently as my editor but I would like to find such tool under my fingers. I am more vi-prone so having hard time to get preview-latex working with emacs. I ...
2
votes
0answers
58 views

AucTeX on Android? [closed]

How hard is it to get AucTeX (LaTeX + Emacs) set up on an Android device? Right now that's the biggest hurdle to me considering buying a tablet (I'd get one of those covers with a built-in ...
18
votes
3answers
5k views

Does AucTeX Autocomplete?

The quick start guide for AUCTeX says As nearly everywhere in AUCTeX, you can use the TAB or SPC key to get a list of available level names, and to auto-complete what you started typing. Which ...
4
votes
1answer
95 views

Cannot get TeX-command-extra-options to work in AucTeX 11.88

I am using the minted package, which requires "-shell-escape" to function. I use XeLateX as my command. I updated auctex using ELPA in emacs 24.3.1, which has 11.88. According to this question, I can ...
11
votes
2answers
3k views

How to configure Emacs and AUCTeX to perform Forward and Inverse Search

I have emacs23 and AucTeX installed on my Ubuntu system. I would like to change the default pdf viewer in emacs and enable forward and inverse search. How do I do it? I would like to share my ...
4
votes
1answer
266 views

How to set up forward/inverse searches with AUCTeX and Zathura

I haven't been able to find much on how to set up Zathura to work with AUCTeX/Emacs in terms of forward/inverse-searching. Has anyone been successful in this?
1
vote
1answer
54 views

How can I configure AUCTeX to automatically switch to the compilation log after hitting C-c?

I would like to see the compilation results after hitting C-c, however, AUCTeX always asks me to additionally hit C-l to swich to the log window and automatically scroll down. I would prefer C-c to ...
2
votes
0answers
89 views

Use dollar sign in verbatim environment within auctex

I am using something similar to the following, \documentclass{article} \usepackage{listings} \lstnewenvironment{shellsession}[1][] {\lstset{language=bash basicstyle=\small\ttfamily, ...
3
votes
1answer
48 views

Turn off AUCTeX's changing double quotes to single quotes

I use Emacs, with AUCTeX. When I type a double quote character " AUCTeX changes it to a pair of single quotes, either `` or ''. I often need double quotes in this document; how can I turn that ...
3
votes
1answer
40 views

How to limit auctex search for style subdirectories

I've used emacs as a basic editor for a little while and decided to try setting up AUCTeX+Skim for my TeX needs. I'm using emacs 24.4.1 and AUCTeX 11.88. When I open a *.tex file, a get the error ...
2
votes
1answer
48 views

Recompile with C-c C-c in AUCTeX

Is therer a way to recompile the document when there were no changes? Currently hitting C-c C-c a second time only runs the document viewer (Skim.app in my case).
1
vote
1answer
65 views

Auctex evince synchronization problematic with accented characters in file paths

I recently stumbled on this nice problem (bug ?) : I can use evince to visualize foo.pdf output from LaTeX obtained in AUCTeX and Synctex synchronization,as long as none of the files referenced in ...
0
votes
0answers
44 views

How to cleanly post-process PDF compilation in AUCTeX and ESS?

This question is somewhat related to this one, but separate. Thanks to Jan Gleixner's utility, One can obtain synchronization between a source foo.Rnw compiled by knitr and the resultant foo.pdf. ...
3
votes
2answers
455 views

How to replace AUCTeX's “LaTeX” command with latex->dvips->ps2pdf chain?

What is the proper way of solving this problem with respect to AUCTeX's design - I mean, how to do that in a way that it will still recognize the errors, display log on demand, make "View" command ...
5
votes
1answer
161 views

Open images from AUCTeX with your favourite image editor

Suppose I edit a LaTeX-file with AUCTeX and the point is on a \includgraphics{myimage.jpg} line. Is there a possibility in AUCTeX to open myimage.jpg with my favourite image editor, say gimp by just ...