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

learn more… | top users | synonyms

1
vote
0answers
72 views

AUCTeX, “preview image not supported”?

I'm trying to set up Emacs 24.3.1 to work with AUCTeX on Win7. When I try to use the Preview feature on the testing 'circ.tex' file I get the following error: TeX Output exited as expected with code ...
1
vote
1answer
15 views

Emacs + Auctex: pdflatex command not found on terminal

I'm new to emacs and latex, in general. I'm trying to compile a basic latex file after having installed auctex on emacs. However, when I run C-c C-c on emacs (inside a terminal) I get bash: pdflatex: ...
0
votes
0answers
17 views

How do you set AUCTeX so that it displays the compilation buffer in a new frame?

I'm using AUCTeX with Aquamacs to work with ConTeXt. When I compile the document, it results in a split window with the compilation output displayed in the lower window. If I tell Aquamacs to show ...
1
vote
1answer
86 views

auctex: in-document emacs font style for latex macros and environments

Is it possible to define in the latex document also the auctex font for user macros and environments? Here is an example of what I would like to do: \newcommand{\nothing}[1]{} %% ;;; \nothing color ...
1
vote
0answers
57 views

Cygwin Emacs+Auctex+Evince?

I am trying to get emacs, auctex and evince working together on Cygwin. The forward search works, but not the reverse search (Evince->Emacs). I tried in vain to find out if the emacs bundled with ...
3
votes
1answer
94 views

AuCTeX startup is slow

I have Emacs 24.4 with AuCTeX 11.88, running on windows 8.1, on a strong computer. Any time I run emacs, opening the first tex file takes 6 seconds, even if the tex file empty. This happens either ...
0
votes
0answers
34 views

Emacs and Auctex, problem setting master file

I'm using emacs 25 and auctex 11.88. I have several tex files in the same folder, and one of them is the master file: main.tex: section1.tex %%% Local Variables %%% mode: latex %%% Local ...
3
votes
1answer
62 views

Auctex, view a pdf already opened in Emacs 25

I have emacs 25.0.50 and auctex 11.88. The auctex command C-c C-v opens a window with the pdf file (compiled with pdflatex). If that command is executed a second time, it does nothing. But in a ...
4
votes
1answer
53 views

Auctex font shortcut

In Aquamacs, I would like to create a keyboard shortcut for the following command: {\Hiero } for a text I want to select or type. I googled and I have not been able to find a working answer
1
vote
0answers
35 views

Indentation inside align environment in Emacs + AUCTeX

I use Emacs + AUCTeX for writing LaTeX. I want in my code to have 4 spaces of indentation so I used these in my .emacs file: (setq LaTeX-indent-level 4) (setq LaTeX-item-indent 0) Everything works ...
0
votes
1answer
98 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 ...
2
votes
1answer
41 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
27 views

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

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
41 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
40 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
68 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 ...
0
votes
0answers
23 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
118 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 ...
1
vote
0answers
77 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 ...
2
votes
0answers
78 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
193 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 ...
2
votes
1answer
228 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 ...
0
votes
2answers
326 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 ...
1
vote
0answers
104 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} ...
2
votes
1answer
130 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 ...
4
votes
1answer
114 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
61 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 ...
1
vote
0answers
76 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 ...
2
votes
0answers
98 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: ...
8
votes
2answers
182 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 ...
2
votes
0answers
68 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 ...
1
vote
1answer
38 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
1answer
78 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
117 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
66 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
53 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
55 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).
0
votes
0answers
55 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. ...
1
vote
1answer
102 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 ...
4
votes
1answer
224 views

auctex 11.88 bug(?) on LaTeX-env-label, cannot automatically insert label

I have recently been trying auctex 11.88 on emacs 24.4(win7+mac). it's great so far! I used to have the following in my .emacs emacs file when I was using auctex11.87 (I bumped into it on ...
1
vote
0answers
28 views

Call GNU Make from AucTeX [duplicate]

In most Emacs major modes targetting compiled programming languages, C-c C-c invokes make. In AucTeX, it lets me choose between any of BibTeX Biber Check ChkTeX Clean Clean All File Index ...
2
votes
2answers
423 views

Emacs + AUCtex on Windows 8.1

I tried to install Emacs and AUCtex on Windows 8.1 without success (at least, it does not seem to work to me). With the risk of being pedantic, here are the steps I followed: 1) Extracted the most ...
3
votes
1answer
262 views

TeX error: “Error occurred after last TeX file closed” How to fix this with emacs? [duplicate]

I have recently started to use Emacs editor to type latex documents. For a while everything was going smooth and fine but one good day I got this annoying error message while compiling my document. It ...
3
votes
1answer
153 views

How do I use AUCTeX to perform forward search/synchronization in an included document?

I’m trying to sync my .tex file with the .pdf output with a forward search on OS X using Emacs + AUCTeX and Skim.app. I have added the following code to my Emacs configuration: (setq TeX-auto-save t) ...
1
vote
1answer
107 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
117 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 ...
1
vote
1answer
89 views

ams math + AUCTeX + refTeX causing label references to always be \eqref not the desired \vref

As stated on the reftex documentation “Note that this is automatically done by the ‘amsmath.el’ style file of AUCTEX, see Section 7.8.2, page 38 – so if you use AUCTEX, this configuration will not be ...
3
votes
1answer
186 views

Auctex support for building using makefile in subdirectory?

I am editing my PhD thesis using Emacs & Auctex, but my elisp is quite weak. Additionally, I build my thesis in a subdirectory, using makefiles generated by CMake and the UseLATEX CMake package, ...
8
votes
1answer
137 views

Emacs / AUCTeX search/replace in multifile documents

Is there a way to let emacs automatically search and replace strings/regex in all files that are part of a multifile document? With C-s or M-% only the current buffer is included in the search, even ...
6
votes
1answer
1k views

AUCTeX View and Compile commands in Emacs 24.4

With Emacs 24.3 on Mac OS X, I have used the method described in the answer by CodeKingPlusPlus at Emacs AUCTeX View command to use C-c C-v to open compiled latex PDFs using Preview.app. After ...