Questions tagged [auctex]

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

Filter by
Sorted by
Tagged with
5
votes
3answers
988 views

Indentation in AUCTEX and algorithmic package

When working with EMACS+AUCTEX I encountered the problem of proper indentation when using the algorithmic package. In this MWE: \documentclass[12pt]{article} \usepackage{algorithmic} \begin{...
29
votes
4answers
38k views

How to preview LaTeX in Emacs?

I want a similar layout as in SO, I use it currently as my editor but I would like to find such tool under my fingers. I am more vi-prone so having hard time to get preview-latex working with emacs. I ...
4
votes
1answer
15k views

How to solve Undefined-Control-Sequence Error for biblatex in AucTeX

After reading many great things about biblatex in the forum, I would like to start using it. I tried the steps given in What to do to switch to biblatex? on a file on which I am already using BibTeX, ...
3
votes
3answers
5k views

Problem with AUCTeX, graphicx, pdfTeX and \pdfoutput not equaling 1

I've been using Emacs + AUCTeX for several years now, and all of a sudden I started getting the follow error on all documents that have compiled fine before: ERROR: Package pdftex.def Error: PDF mode ...
18
votes
3answers
2k views

Emacs, RefTeX and Cleveref – can they work together?

Trying to look for an answer in the net yielded only one questions and one answer which I could neither understand nor use. On tex.stackexchange I found only this question which was answered but I'm ...
7
votes
2answers
2k views

Getting Emacs to choose between LaTeX/ConTeXt mode depending on file?

I have lots of LaTeX files, and my AucTeX has been set up to automatically open up all *.tex files in LaTeX-mode. But more recently I've started using ConTeXt, and for those files (which also end in ....
3
votes
3answers
3k views

Aquamacs + AUCTeX inline preview

I tried to search for the solution, but I couldn't even find references to this problem. I'm trying to use Aquamacs+AUCTeX as my LaTeX editor. One of the major features available in this setting is ...
8
votes
4answers
4k views

Customizing pdfLaTeX for a particular file with AUCTeX?

I'm trying to use the TikZ 'external' library, available as of PGF 2.10. This requires running pdfLaTeX with the option -shell-escape. I usually run pdfLaTeX from AUCTeX with the option (TeX-PDF-...
14
votes
3answers
10k views

Launching an external PDF viewer from Emacs/AUCTeX on a Mac OSX fails.

I am trying to set Emacs/AUCTeX to invoke an external PDF viewer so I can view the document output, preferably with source correlation via SyncTeX. AUCTeX, by default, suggested evince file.pdf; ...
2
votes
0answers
291 views

preview-LaTeX: Specific scaling for graphics [closed]

I'm using Emacs 23 with AUCTeX/preview-LaTeX for all my LaTeX editing. Mostly I am very happy with this, but I do not like the included graphics previewed in full size. For now my solution is to ...
5
votes
3answers
1k views

In emacs AucTeX mode, why is C-c C-j not working

I am having an issue with my newline's within itemized lists in AucTeX mode of Emacs. If I do, C-c C-e RET itemize RET, I expect the following \begin{itemize} \item \end{itemize} but instead get ...
6
votes
3answers
3k views

emacs / AuCTeX and itemize

I am having an issue with my newline's within itemized lists in AucTex mode of Emacs. If I do, C-c C-e RET itemize RET, I expect the following \begin{itemize} \item \end{itemize} but instead get ...
4
votes
1answer
948 views

Can I compile .tex to .html from within AUCTeX?

Can I compile .tex to .html from within AUCTeX? What are the keybindings? Thanks!
5
votes
2answers
4k views

What is the \name macro?

Is anyone familiar with the macro \name{}? The AucTeX configuration uses it to avoid spell-checking people names, but it does not seem to be defined. Is it just a mock macro, or it has some real ...
5
votes
2answers
1k views

Force different TeX engine for specific files

I use Emacs and AucTeX as my writing environment. Pleasantly, I can pick an engine (PDFTeX, LuaTeX, XeTeX) and have it execute as default for all my compilations. However, I have one project where I ...
2
votes
1answer
1k views

Getting AUCTeX and amsmath to work with multiple files

I'm using Emacs 23.1.1, with AUCTeX plugged in, to edit my .tex files, but I'm having a small problem with my amsmath environments. The current document I'm editing is divided into multiple files. ...
12
votes
3answers
3k views

Formatting Bibtex entries using auctex

In general auctex makes a good job of formating latex. However, the formating for Bibtex doesn't seem that great. For example, I would tend to format my bibtex entries in this way: @article{Smith, ...
9
votes
1answer
6k views

Installing new packages from ctan through command line or AUCTeX on Mac OS?

I've needed a few new packages for some macros to draw diagrams that I'm working with. I've heard that some LaTeX editors can automatically download the correct packages from CTAN when they're not ...
5
votes
3answers
5k views

Aquamac, AUCTeX should open PDF in external viewer, not render it in Emacs buffer

I use AUCTeX in my Mac Emacs, which is Aquamac 23.1. Typically in AUCTeX, when I type C-c C-c it runs pdflatex, then C-c C-c again and it opens it in a PDF viewer. But in this Aquamac emacs version, ...
14
votes
2answers
5k views

How to turn on flyspell mode with AUCTeX?

I'm using flyspell mode, but unfortunatly I have to M-x flyspell-mode in each AUCTeX buffer. Somehow (add-hook 'LaTeX-mode-hook 'flyspell-mode) doesn't work for me. What is the correct flyspell-hook ...