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

learn more… | top users | synonyms

3
votes
2answers
69 views

Impossible to select text and, then, autoformat it with Emacs+AUCtex

With Emacs+AUCTeX, I was able to select text (with the shortcut CTRL+SPACE) and, then, format this text. For example, it was possible to select a sentence (the text is highlighted) and to press C-c ...
4
votes
1answer
47 views

Turning off line-wrapping in auctex for smooth transition with ess in same file

I sometimes use auctex + ess for Sweave/knitr documents. Every time I switch from auctex to ess and vice versa, there is a pause/jolt while the auctex lines re-wrap themselves. Previously, I also ...
2
votes
1answer
71 views

How to get AucTex to prompt me for a name, when inserting an environment using Ctrl-C, Ctrl-E?

I'm using emacs auctex. I've defined an environment template, as follows. \documentclass{article} \newtheorem{definition}{Definition}[section] \begin{document} \end{document} I insert instances ...
3
votes
1answer
165 views

Auto convert LaTeX escape codes to UTF-8 characters?

How do I—e.g., with AucTeX—automatically convert escaped characters like \~n to ñ for use with \usepackage[utf8]{inputenc}? I could do something like this: sed \ -e "s/\\'a/á/" \ -e ...
1
vote
0answers
241 views

LaTeX file compiles on two computers but not on the third [closed]

I have tried to troubleshoot a problem for several days and cannot solve it. I have a LaTeX document that compiles on two computers but not on a third computer. (Other documents have compiled fine on ...
1
vote
2answers
75 views

Run viewer command works only from master tex But not from child tex file

i am using Auctex under emacs 24.3.1 on mac. I am making master .tex file and many what i call it child .tex files. Run Latex and Run bibtex commands are working nicely from either the master ...
4
votes
0answers
177 views

Maths without paper sheet

I would like to know if it is possible to write Maths on latex without having to write a first draft on paper? As far as I'm concerned latex writing seems to demand a separation between the thinking ...
1
vote
1answer
170 views

Problem with yasnippet in emacs + autex

I am newbie in Emacs + AucTeX and trying to get familiar with auto-complete mode in editing LaTeX. Auto-complete is a fantastic attribute, but I don't understand the follow problem: Auto-complete ...
13
votes
5answers
13k views

Mavericks upgrade screwed up my pdflatex (command not found)

so everything was working fine ... until i upgraded to os x mavericks (version 10.9.2) a couple days ago. using emacs version 24.3 (9.0) auctex version 11.87.3 after upgrade, tried to compile and ...
2
votes
1answer
205 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 ...
1
vote
1answer
47 views

Creating 'document' environment using AUCTeX leaves a blank line after \end{document}

If I type C-c C-e document in AUCTeX mode using Eamcs, I end up with a blank line after \end{document}; see Can I stop AUCTeX from producing this extra line at the end? Notes: I use Emacs 24.3-13 ...
2
votes
1answer
98 views

Running latex (pdf) interactively in AucTeX

When I am Running latex interactively, as I like, emacs is opening a new buffer-window with output from the LaTeX compiling process. Fine! -- I like to see the processing outut. BUT I am used to that ...
1
vote
0answers
36 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 ...
5
votes
1answer
113 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
1k 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
483 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
292 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
141 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
36 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
62 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
67 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
237 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
67 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
386 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
47 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
64 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
74 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
235 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
306 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
500 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
122 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
63 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
107 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
97 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
123 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
45 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
192 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
55 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
68 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
330 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
69 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
131 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
243 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
193 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
122 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
135 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 ...