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

learn more… | top users | synonyms

5
votes
1answer
96 views

Emacs AucTeX Customization - Adding templates

Is it possible to customize emacs (with AucTeX) so that new templates can be added for quicker typesetting. For example, If I want to prepare a letter that has a particular format, then I would like ...
8
votes
1answer
728 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 ...
6
votes
1answer
53 views

All lines itemized when mark is active

In AUCTeX I would like the behaviour of LaTeX-environment and/or LaTeX-insert-item to create multiple items for every line when called with mark active.
6
votes
1answer
255 views

AucTeX Emacs Compilation Problems

I installed emacs23 on my Ubuntu 13.10 64-bit system. I also downloaded the AucTeX tarball and installed it (./configure then make and finally make install). Now I get the LaTeX commands in the menu ...
0
votes
1answer
186 views

Can not preview latex equation in org-mode. dvipng and imagemagick both failed

I have a tough problem now with my org-mode in windows 7, can anyone help me to find a solution? Here is my problem: When I preview my latex equation with org-preview-latex-fragment function, it ...
0
votes
1answer
103 views

AUCTeX and TikZ does not work in emacs for me : HELP T

This is no duplicate. I am unsure how things work here. But I wasn't able to save my last username as it was a temporary username and cannot access my previous post which was marked as duplicate. ...
0
votes
0answers
34 views

AucTeX turn off line breaks

In AucTeX I do not want line breaks to appear when I open the .tex with a different editor e.g. on writeLaTeX. I want lines to appear as if they are broken, so I can see everything in the default 80 ...
1
vote
0answers
50 views

AUCTeX and TikZ does not work in emacs for me : plz help? [duplicate]

I've looked around for resolutions however, could not find any. Indeed the one response that is pointed out, I already tried. I did the following sudo gedit .emacs and embedded the code provided ...
2
votes
1answer
53 views

Instant Rebuild & View of LaTeX Buffer in AUCTeX

Is there a command in latex-mode when using Emacs+AUCTeX that combines TeX-command-buffer and TeX-view into one single instant redisplay command? I don't see the point in having two separate key ...
4
votes
1answer
64 views

In Emacs (with AUCTeX), if i use <C-c '> to see errors, it copies the command <C-c %>

I don't know why, but since recently my Emacs is behaving strangely. As usual I compiled using C-c C-c to call LaTeX, then there were errors and it asked me to type (as usual) C-c '. but when I did it ...
2
votes
1answer
187 views

Adding an option to the PDFLaTeX call from AUCTeX

In my .emacs I have '(TeX-PDF-mode t) set. So I'm using PDFLaTeX. I'm not sure why this is not the default these days. I had also set '(LaTeX-command "latex -shell-escape") In hindsight this ...
3
votes
0answers
53 views

PreviewMacro for todonotes

I like auctex with Preview and would like my todonote \todo's shown in my emacs browser. However, this will either not show at all or consist of the \tikzpicture building blocks, namely each line ...
10
votes
2answers
309 views

Get emacs to automatically insert \end{} commands after a \begin{} command

I've recently switched from Kile to Emacs/AUCTeX for LaTeX editing. I like AUCTeX a lot more in general, in part because I've put a lot of effort into learning Emacs really well. One feature I really ...
1
vote
0answers
45 views

why did i only use sudo open emacs C-c C-c can work with AUCTeX? [closed]

two question: 1.use sudo open emacs the AUCTeX can work with C-c C-c and C-c C-v 2.sudo open emacs C-c C-c show Latex erros system mac OS X Mavericks, auctex11.87.2, emacs24, zsh.
5
votes
1answer
60 views

Auctex: bug in LaTeX-mark-environment?

Before I send this on to the developers, I'd like to know if others can confirm this problem. Consider these two environments: \begin{flalign*} sdfsdf \end{flalign*} \begin{flalign*} && ...
0
votes
2answers
64 views

Error message when compiling ConTeXt document from Emacs [duplicate]

The command texexec --once --texutil --engine=xetex --interface=en --nonstop tmp.tex' gives the following error message when called from Emacs, but not when called from Terminal: ...
3
votes
1answer
172 views

Emacs Indentation Problem

I started using Emacs/AUCTeX for writing my LaTeX documents. I now have an \begin{inparaenum}[(1)] \item An Item \item an other Item \item this is an item, too ! \end{inparaenum} ...
3
votes
1answer
281 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
374 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
115 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
58 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
88 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
93 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 ...
3
votes
1answer
114 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
42 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
149 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
52 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
58 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
242 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
66 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
109 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
180 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
169 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
116 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 ...
4
votes
2answers
112 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. ...
0
votes
0answers
23 views

LaTeX: \endnote doesn't work [duplicate]

The following sample LaTeX document is supposed to create an end note. In practice, it creates the superscript for the end note, but the end note's text is nowhere to be seen. What might be the ...
1
vote
1answer
47 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
146 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
306 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
1k 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
45 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 ...
3
votes
1answer
300 views

RefTeX broken in Emacs 24.3.1?

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 ...
1
vote
1answer
659 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
48 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
40 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
203 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
119 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
94 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
154 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 ...