AUCTeX is a package for writing (La)TeX, ConTeXt, docTeX and TeXinfo in Emacs and XEmacs.
7
votes
1answer
495 views
How can I tell AUCTeX that breqn is a math environment?
I have recently been trying to use the breqn package to automatically break up my equations. However, I use emacs (and/or Aquamacs, depending on the machine I'm on) with Auctex, and it does not ...
4
votes
1answer
303 views
Parse \input statements in AucTeX, TeX-insert-quote
AucTeX recognizes for example the statement
\usepackage[german]{babel}
in a .tex file. Then typing " twice will result in "` before a word resp. "' after a word. However if ...
6
votes
3answers
2k views
AUCTeX and Xetex
I use emacs+AUCTeX to write my *-tex. Using the PDF mode, I can run pdflatex automatically with the C-c C-c command. However, I don't see a way to run xelatex automatically, or even set up a command ...
15
votes
2answers
524 views
Predictive mode: Only auto-complete LaTeX keywords
I typeset documents in French, and I don't really need auto-completion of the words that I type. I do, however, love the completions features that Predictive mode offers for LaTeX commands.
Is there ...
42
votes
5answers
6k views
Useful shortcuts or key bindings or predefined commands for emacs+AUCTeX
On of the problems I've encountered with emacs in general, and with the defaults key bindings in particular, is the diversity. There are simply so many of them, that sometimes, at the end of the day, ...
2
votes
1answer
363 views
AUCTex indentation settings
I don't really like how AUCTeX indents latex code, and overall I find it pretty unpredictable (I guess I'm not used to the way it works). Some modes just bind the tab key to "move the current line so ...
32
votes
1answer
2k views
AucTeX extension for TikZ
Is there an AucTeX extension which supports the TikZ syntax and that one of the tkz-collection as well?
In particular I want thinks like:
syntax highlighting
proper indentation
that ...
1
vote
3answers
537 views
Aquamacs with AUCTeX, Flyspell and completion
When I'm editing a file in LaTeX-mode (I guess it means AUCTeX), and the flyspell is enabled, then M-TAB is not responding. I cannot get completion of standard LaTeX commands - for example it won't ...
3
votes
2answers
397 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}
...
9
votes
2answers
3k 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 ...
1
vote
1answer
4k 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
2k 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 ...
8
votes
2answers
729 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 ...
4
votes
2answers
693 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
2k 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 ...
6
votes
4answers
2k 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
...
11
votes
4answers
5k 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
243 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 ...
4
votes
3answers
526 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 ...
4
votes
3answers
712 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 ...
4
votes
1answer
546 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
726 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
765 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
625 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. ...
4
votes
3answers
817 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,
...
6
votes
1answer
2k 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 ...
4
votes
3answers
2k 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, ...
11
votes
2answers
1k 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 ...
