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

learn more… | top users | synonyms

3
votes
1answer
412 views

AUCTex Installation

I installed Emacs with AUCTex using the following code in Ubuntu 13.10: sudo apt-get install texlive-base emacs23 auctex preview-latex I followed these instructions, but the Code that should be ...
1
vote
0answers
634 views

Emacs 24 with AUCTeX in Ubuntu 13.10

I installed AUCTeX from the Emacs package manager. Then I configured it by typing ./configure OPTIONS. It doesn't complain and I typed make and make install. I tried to open a simple LaTeX document. ...
1
vote
1answer
151 views

Journal of Statistical Software class breaks preview in AUCTeX

I'm using AUCTeX 11.86-11 on Debian stable. The jss.sty style file contained in the JSS style file zip archive breaks AUCTeX's preview for me even with a simple file. NOTE: the jsslogo.jpg file is ...
4
votes
0answers
69 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 ...
2
votes
0answers
126 views

Emacs' Preview LaTeX: Using different background colors depending on environment

In Emacs' Preview LaTeX, I would like included graphics (e.g., what's inside \includegraphics) to look different than all other previewed environments. Otherwise, graphics that have black lines ...
6
votes
1answer
102 views

Why does AUCTeX have \autocite taking two arguments?

Obviously, compiling this just yields A sample citation: [1, p. 1]arg two?no arg three. so \autocite itself definitely isn't using the argument. Why is this so, and how can it be fixed? Note ...
4
votes
1answer
152 views

Configuring auctex for pdf viewer

I'm on Ubuntu 13.10, Emacs 24.3.50.1, TeX Live 2013, AucTeX 11.87.2 (from ELPA). I've followed the instructions given by this page on enabling Okular (I'd rather use Evince, though), but this doesn't ...
2
votes
0answers
47 views

Are AUCTeX forward search and inverse search meant to work with C-c C-r and C-c C-b too?

Background: C-c C-r is like C-c C-c except it's for compiling & viewing just a fixed portion (specified by the user) of a TeX buffer. C-c C-b is like C-c C-c except it's for compiling & ...
1
vote
1answer
260 views

latex in org mode of emacs and regular latex

What is the difference, advantage or disadvantage of using org mode in emacs? If there are advantages, would you like to explain how it is used and what codes goes into using it. I am new (3 days) to ...
1
vote
0answers
59 views

LaTeX tricks with emacs+auctex [duplicate]

I am interested by Emacs+AUCTex tricks. By "tricks" I understand lines of code to put in the .emacs and which enhance the use of Emacs+AUCTex for producing .tex documents. My .emacs uses only reftex ...
3
votes
0answers
85 views

Is it possible to make AUCTeX preview of equations work with beamer?

When I generate preview images (using C-c C-p C-p) for the following document, the images are correctly generated but they are placed in wrong places in the buffer. Is it just me or MS Windows users? ...
6
votes
3answers
504 views

How to organize a .bib file edited by hand?

Normally I use zotero and its bibtex/biblatex export tool to create a .bib file. But this method doesn't put you in charge of the bibliography and you could reproduces errors in the references if ...
6
votes
1answer
78 views

How to make AUCTeX recognize asymptote environment for correct commenting out

Is it possible to make AUCTeX recognize the asy and asydef environments to use the correct symbol for commenting out? In latex-mode the command comment-region does add % at the beginning of the line. ...
2
votes
1answer
167 views

tikz library calc and auctex preview in emacs fails

The emacs-variable preview-default-preamble contains the statement \PreviewEnvironment{tikzpicture} so tikz pictures are processed by preview, which usually works fine. But preview in emacs fails if ...
2
votes
1answer
292 views

Make predictive mode default emacs

Every time I fire up Emacs, I run M-x predictive-mode. Is there a way to automate that and preferably while editing TeX.
4
votes
1answer
302 views

How can I streamline insertion of LaTeX-math-mode symbols in AUCTeX?

In AUCTeX, you can enable a minor mode called LaTeX-math-mode that instructs the prefix character ` to insert various common macros. For example, ` t inserts \tau@ when you are in a math environment ...
2
votes
0answers
45 views

Wrong autodetection of biblatex backend [duplicate]

I'm using the biblatex package with option backend=bibtex. However, AUCTeX C-c C-c suggests running biber. How can I have the backend detected correctly, or override this and configure AUCTeX to ...
5
votes
1answer
130 views

Choosing TeX distribution in AUCTeX

I'm using AUCTeX version 11.86 in GNU Emacs 23.2.1 in Windows 7, and I've just updated MiKTeX from version 2.8 to 2.9. How do I tell AUCTeX to use version 2.9 rather than 2.8? A similar hypothetical ...
5
votes
2answers
177 views

How to make auctex not prompt me on C-c C-c

The C-c C-c bind runs TeX-command-master. It always asks me "is this what you want to do?" and I'm always hitting return to do it. I'd like a version of this command which just does it without asking. ...
1
vote
1answer
71 views

Folding file-specific macros in AUCTeX

What is the best way to have AUCTeX fold some math macros specifically for one file? For example in this very trivial example: \documentclass{minimal} \newcommand{\foo}{\lambda} \begin{document} ...
3
votes
1answer
176 views

AucTeX and Chapterbib

Executing BibTeX via Auctex (RefTeX) in emacs (24.2.1) only creates a .bbl file for the master file in a multifile document. Yet, if one wants bibliographies for each chapter, BibTeX has to be run on ...
2
votes
1answer
435 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, ...
2
votes
0answers
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 ...
2
votes
1answer
52 views

Set csquote macros in AUCTeX preference to work also with included files

I use to keep most of my documents in separate branch files and then /include them in the main tree document. Of course I don't need a preamble for all separate files. In my AUCTeX preferences I set ...
4
votes
1answer
504 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 ...
2
votes
1answer
1k views

Skim and Aquamacs: backward search does not work anymore

I've set up pdf syncing between Aquamacs and Skim, (setq server-use-tcp t) (server-start) (custom-set-variables '(LaTeX-command "latex -synctex=1") '(TeX-view-program-list (quote (("Skim" ...
0
votes
0answers
71 views

In Auctex, bibtex cannot create reference

Everything goes well in TeXshop. In Emacs, I went through following steps: C-c C-c latex C-c C-c bibtex C-c C-c latex C-c C-c latex but it keeps saying insolvable reference. Log file says: ...
3
votes
1answer
46 views

Is Inverse Search possible after the PDF file has been modified (e.g. annotated) (with Auctex and Okular)

I have configured Okular and Auctex so that forward and inverse search work like a charm when I have the *.tex file open and after I compiled the PDF file. I do, however, often encounter a scenario ...
2
votes
1answer
363 views

finding tex-site.el from emacs on mac os x 10.8

I am writing a question hoping to find some clue what's going on in my auctex/emacs combination. I use emacs/auctex to typeset latex document. In my macbook pro, I am using GNU emacs 22.3.1. With ...
5
votes
0answers
121 views

“Standardizing” LaTeX code? [duplicate]

Is there a program for LaTeX code akin to HTML Tidy that "standardizes" or "canonically" formats (automatically indents, spaces, etc.) LaTeX code? AucTex formats code, but it doesn't appear to create ...
1
vote
1answer
103 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 ...
2
votes
1answer
235 views

How to use code folding with Aquamacs?

I would like to use code folding with Aquamacs but I don't find any reference to do it. I would like to fold the figure and the paragraph. I've already tried all the combination listed here. Can ...
4
votes
1answer
198 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
74 views

Command: Emacs selection → \command{regexp'ed-selection}

Suppose I have the following text: …as shown in figure (24). Now, suppose I select "(24)." Then, I want a command to convert it to: …as shown in figure \command{eq:24}. Viz., how would I ...
5
votes
1answer
85 views

Navigating arguments with AUCTeX

Is there a key combination to move the insertion point backward and forward through arguments using AUCTeX? For example, where "|" is my insertion point: \frac{|}{} Then I would want a command to ...
1
vote
0answers
66 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 ...
5
votes
1answer
306 views

Changing AUCTeX processor in the file itself

I'm using AUCTeX 11.86 in Emacs 23.3.1, under Linux (Ubuntu 12.04.1). Some of my files I compile with LaTeX, a few with XeLaTeX. I'd just like to be able to enter C-c C-c to compile, and have the file ...
2
votes
1answer
480 views

How to fix in ConTeXt problems after pages and warning 'no GlyphToUnicode entry has been inserted yet!'

Is the warning no GlyphToUnicode entry has been inserted yet! exclusive of texexec or is it caused by patches loaded by mkii or by using 'cont-sys.rme' instead of cont-sys.tex? The funny thing is, ...
3
votes
0answers
158 views

Can't get AUCTeX to do a preview

I'm running Arch Linux, latest version of Emacs, and trying to get a preview of the document using c-c c-p c-p or any that will do a preview after c-c c-p ... and just can't get the thing to preview. ...
1
vote
1answer
110 views

Preview problems in AUCTeX when using certain document classes

I just changed document class to lipics (class files here) which is used for various conference proceedings, i.e. \documentclass[a4paper,UKenglish]{lipics} I now have problems rendering previews in ...
0
votes
0answers
160 views

Control Auctex Preview colors

In the Auctex Preview Appearance section in customize, it is possible to set "Preview Reference Face". This is the only place I can find where the colour of the small .png files created by Preview ...
9
votes
1answer
694 views

get emacs to automatically use biber instead of bibtex

I was reading the question titled Customizing emacs to use biblatex-biber instead of bibtex. In that question, user @PLK mentions that as of auctex 11.87, auctex should automatically check if you are ...
4
votes
1answer
101 views

Emacs, preview-latex, sseq

I like using preview-latex in Emacs. I have been working a lot with spectral sequences lately and so I would like to get the figures I draw in sseq to show up in preview-latex. So far no luck. Does ...
3
votes
1answer
82 views

Maintain display of arguments for certain folded environments with AUCTeX

When working with some environments (function and friends from l3doc prompted this), it is desirable to have the environment's arguments visible at all times: Some text that, in reality, shouldn't be ...
1
vote
1answer
245 views

Beamer Multifile and Figure Issues in Emacs 24.3.1 / AucTeX-11.87 in Ubuntu 12.04

I'm trying to edit multifile beamer presentation documents in AUCTeX. I use Emacs 24.3.1 / AucTeX-11.87 / TeX 3.1415926 (TeX Live 2012/Debian) in Ubuntu 12.04. The most simple code that explains my ...
3
votes
2answers
547 views

Xdvi to Emacs inverse search not working in Emacs 24.3.1 / AucTeX-11.87 in Ubuntu 12.04

I'm trying to use AUCTeX to write my LaTeX documents. However I'm having issues with performing inverse search from Xdvi to Emacs. Software Specifications I currently use Emacs 24.3.1 / AUCTeX-11.87 ...
6
votes
1answer
586 views

AUCTeX/Emacs not recognizing correct commands automatically

On my previous OS install, Debian Squeeze with FluxBox, my workflow was as follows: With *.bib file open, I enter C-c C-c. The BibTeX command was recognized as necessary and ret executed it. Then I ...
5
votes
1answer
1k views

Emacs and latexmk setup for --shell-escape

If I want --shell-escape, do I just need to add it to my .latexmkrc file as $pdf_mode = 1; $pdflatex = 'pdflatex --shell-escape -interaction=nonstopmode %O %S -file-line-error -synctex=1'; ...
5
votes
2answers
6k views

BibTex doesn't create .bbl file (Using Emacs/AUCTEX)

I am having a real issue with compiling BibTeX (has previously worked fine). When I compile LaTeX, an aux file is created. Here is my test.aux \relax \citation{carron2013big} \bibdata{rhian} ...
20
votes
3answers
3k 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 ...