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

learn more… | top users | synonyms

4
votes
0answers
21 views

How to properly add biblatex to TeX-active-styles of AUCTeX (for reftex to work with multiple files)?

I saw a comment in here that support for multiple addbibresource has been integrated into Emacs. However I'm using a few custom stys from where I require biblatex package with all the necessary ...
0
votes
0answers
14 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
39 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 ...
0
votes
0answers
22 views

Spacing in a two-column document in Emacs+AUCTeX and ShareLatex

I have the following source code. When I compile it in Emacs+AUCTex I have the expected result, but when I compile it in ShareLaTeX there are huge gaps between paragraphs as ,I can only guess, ...
1
vote
0answers
45 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
36 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
112 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
42 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 ...
0
votes
0answers
7 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
40 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
37 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
33 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
30 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
36 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
33 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
42 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
116 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
180 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
59 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 ...
2
votes
1answer
65 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) ...
0
votes
1answer
69 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
72 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
52 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
104 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
78 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
569 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 ...
3
votes
1answer
164 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?
3
votes
1answer
254 views

latex preview in emacs unable to run ghostscript

So, on Windows 8, emacs, trying to use preview-latex. Each time I get the same error: Preview-PDF2DSC finished at Mon Oct 13 12:55:42 PDF2DSC sentinel: Searching for program: permission denied, ...
2
votes
0answers
118 views

Auctex and beamer: TeX-error: Error occured after last TeX file closed

I use Auctex to create a beamer document. Frequently I run into this rather uninformative error message: TeX-error: Error occured after last TeX file closed I found a similar thread here and ...
1
vote
1answer
43 views

AUCTeX error with utf8 package recognizing “ \%CW”

I'm in AUCTeX in a 32-bit Win7 machine. When compiling the master file with pdflatex I'm getting the error msg given below. Can you help me understand the error and correct it? ERROR: Package ...
4
votes
0answers
125 views

AuCTeX Preview “Finds No Preview Images”

I am currently trying to set up AuCTeX in emacs, but I'm encountering difficulty in getting the preview feature to work. For reference, I'm using Windows 7 64-bit, GNU Emacs 24.3.1, AuCTeX 11.87.7 ...
0
votes
0answers
97 views

AucTex minted package not finding pygmentize

I am trying to compile a latex document with the minted package. I can do this quite happily from the terminal (I'm using texlive on os x) with the following code: xelatex --shell-escape demo.tex ...
0
votes
0answers
85 views

Emacs not rendering PDF correctly

I'm using AUCTeX, preview-latex and latex-preview-pane to compile and preview documents written in LaTeX. However, whenever I compile my document and it is shown in the preview pane, it is not ...
1
vote
0answers
36 views

Do I use preview-latex correctly?

I open a LaTeX file in Emacs, and press C-c C-p C-b (M-x preview-buffer) to generate math/graphics previews for the entire buffer. I find that a pdf file is generated with each page containg a math ...
0
votes
0answers
18 views

Strange interaction between emacs (auctex) and hyperref [duplicate]

I just upgraded from Precise Pangolin to Trusty Tahr (Ubuntu) and found that both the new emacs24 and the older emacs23 are now not able to locate compile errors when I use the hyperref package. This ...
2
votes
0answers
86 views

Error adding new value to LaTeX-math-list with custom function

I am using Auctex with math mode enabled. One of my favorite features is insert \mathcal with the key sequence "[backtick] c". I decided to try and customize the variable LaTeX-math-list so I can do ...
6
votes
2answers
162 views

Automatic indentation with AucTeX within \[…\] environment

AucTex works fine automatically indenting most environments, for example \begin{displaymath} \cos x \end{displaymath} but doesn't indent when I use \[ and \], and automatically takes away any ...
4
votes
0answers
55 views

Disabling input method inside a math formula in Emacs with AUCTeX

I am typing a math document in Russian using Emacs 24.3.1 and AUCTeX 11.87. I am using the russian-computer input method to type Russian. It would be very convenient to disable this input method ...
1
vote
0answers
63 views

How to disable inline preview in certain parts of document while editing?

I'm using AUCTeX+emacs, and have inline preview enabled (although it could apply to other preview enabled editor like TeXstudio). My document has a TiKZ plot generated using gnuplot, and it has lots ...
0
votes
0answers
92 views

Auctex and Skim - basics

I am new to Emacs and Auctex. For a couple of days I've been experimenting with the programms adding codes from the internet to my init.el, sadly most of the codes are very complicated to understand ...
3
votes
1answer
113 views

AucTeX insert-environment C-c C-e (no label prompt)?

Does anybody know how to configure Emacs or Auctex such that when you insert an environment for example with C-c C-e equation RET? Avoid having to type RET for (Optional) What label? question? Or ...
15
votes
2answers
198 views

How can I avoid AUCTeX wrongly inferring the language of a document?

A colleague using a class I wrote reports that AUCTeX is inserting guillemets when he hits the double-quote key. Investigation showed that TeX-language-fr-hook is being called even though the document ...
2
votes
2answers
58 views

`a, `b etc not giving \alpha, \beta etc in auctex

I am using Auctex in Emacs for typing mathematical documents. I am very new to emacs and tex in general. I heard it from a friend that `a will expand as \alpha and so on in auctex, but this is not ...
0
votes
1answer
146 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
2answers
88 views

Adding math behavior to custom macro in AUCTeX

I have defined a custom macro for my equations, to simplify and decrease the amount of code I write \newcommand{\eqn}[1]{ \begin{equation} #1 \end{equation} } \eqn{\alpha + \beta = \gamma} ...
5
votes
1answer
749 views

What is the best side-by-side preview method for Emacs24 AUCTeX?

I am new to the Emacs world. I did this transition from one of the best latex editors and despite of the complexity of Emacs at every turn, I can still see there is future in learning it on the long ...
2
votes
0answers
247 views

Emacs + Skim + Live Preview?

I have been using Latexian for a while, but some of its limitations and my natural tendency to use emacs, is prompting me to take a look at my work environment again (OSX 10.9.2). I have seen some ...
3
votes
0answers
112 views

AUCTeX folding and square brackets in math mode

I want to use the folding functionality of AUCTeX, mainly to replace math macros with the corresponding symbols. But at the same time I want to continue to use square or curly brackets additionally to ...
4
votes
2answers
603 views

Auctex, how to use doc-view-mode?

Newbie here. I have just installed emacs/auctex on my mac. I don't like xdvi to view the dvis, I like to use emacs' builtin pdf viewer to view pdf on its own split window on the right. It used to be ...