Questions tagged [auctex]

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

AUCTeX is an package for writing documents with LaTeX, TeX, ConTeXt, docTeX or Texinfo. It gives you syntax highlighting, code completion, and also includes preview-latex, which lets you generate and view PNG previews of parts the code directly (e.g. math) in the Emacs buffer.

For working with citations and cross-references AUCTeX works very well with .

One can get a hint of AUCTeX's capabilities by reading Useful shortcuts or key bindings or predefined commands for emacs+AUCTeX.

578 questions
13
votes
2 answers

More fine grained syntax highlighting in Emacs/AUCTeX

I'm using Emacs with AUCTeX to do all my LaTeX. When it comes to syntax highlighting it seems that all mathematics is by default just orange. Do you know of a mode or package that adds some more fine grained syntax highlighting? For example all…
Somebody
  • 1,217
10
votes
4 answers

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.
9
votes
0 answers

Pronunciation of "AUCTeX"

I'd like to give a tutorial on AUCTeX to my colleagues but it occurs to me that I've never heard the name of this package pronounced. It seems the first three letters could be pronounced individually (/ɛɪ juː siː/) or as a word (maybe /aːk/ or…
Psychonaut
  • 3,142
8
votes
1 answer

What does 'Tex-master' mean?

I use AUCTeX. AUCTeX has inserted a comment at the end of my test4.tex file that reads: %%% TeX-master: "test3" What does it mean? When I try to compile and pdf-print test4.tex, the document that gets opened is test3.pdf. Why?
Evan Aad
  • 11,066
6
votes
2 answers

Prevent a tex file from being compiled

I'm writing my thesis, and there's a overall file overall.tex together with several section files, which are \inputed in the overall.tex. Could I write something in the section files to prevent them from being compiled, which will certainly fail,…
Haocheng
  • 565
5
votes
1 answer

How can I change where preview latex stores its generated files?

I love preview-latex but it litters my directories with its temporary files. I've scanned the documentation of previewlatex, auctex, and the latex preview package but can't find a variable that lets me customize where it generates files :( If I…
5
votes
2 answers

Adding math behavior to custom macro in AUCTeX

I have defined a custom macro for my equations, to simplify and decrease the amount of code I write \newcommand{\eqn}[1]{ \begin{equation} #1 \end{equation} } \eqn{\alpha + \beta = \gamma} But I don't have the syntax highlighting for math…
osolmaz
  • 1,283
4
votes
1 answer

Turn off AUCTeX's changing double quotes to single quotes

I use Emacs, with AUCTeX. When I type a double quote character " AUCTeX changes it to a pair of single quotes, either `` or ''. I often need double quotes in this document; how can I turn that behavior off? (I've peered at customize-group …
Jim Hefferon
  • 4,476
3
votes
1 answer

AUCTeX: How to edit environment templates

With (C-c C-e) AUCTeX allows to insert arbitrary environments. In my case I want to change the default aling-environment from \begin{align} \label{eq:145} \end{align} to insert comments in order to obtain blank lines like % \begin{align} …
Robinaut
  • 1,061
  • 1
  • 9
  • 16
3
votes
1 answer

AUCTeX calls makeindex without file extension

I note that AUCTeX calls makeindex without file extension, e.g., makeindex tmp instead of makeindex tmp.idx. It means if there is a subdirectory with the same name as the first part of the file name makeindex does not see the .idx file producing and…
3
votes
0 answers

AUCTeX: changing BiBTeX templates

when creating bibliographies (i.e., bib-files) with AUCTeX, one can use pre-formatted templates (e.g, for @Book, @InCollection etc.). When printing such a template a problem I have is, that it comes with many fields that I use very seldom. Usually,…
3
votes
1 answer

AuCTeX startup is slow

I have Emacs 24.4 with AuCTeX 11.88, running on windows 8.1, on a strong computer. Any time I run emacs, opening the first tex file takes 6 seconds, even if the tex file empty. This happens either when the tex file is the first file I open, or if…
3
votes
1 answer

How do I use AUCTeX to perform forward search/synchronization in an included document?

I’m trying to sync my .tex file with the .pdf output with a forward search on OS X using Emacs + AUCTeX and Skim.app. I have added the following code to my Emacs configuration: (setq TeX-auto-save t) (setq TeX-parse-self t) (setq-default TeX-master…
Lenar Hoyt
  • 1,629
3
votes
2 answers

`a, `b etc not giving \alpha, \beta etc in auctex

I am using Auctex in Emacs for typing mathematical documents. I am very new to emacs and tex in general. I heard it from a friend that `a will expand as \alpha and so on in auctex, but this is not happening for me. Please help
3
votes
1 answer

auctex does not parse own sty file

a own sty file is not parsed to find commands, it means they can not use with C-c C-m I use the following .emacs (load "auctex.el" nil t t) (load "preview-latex.el" nil t t) (require 'tex-site) (setq TeX-auto-save t) (setq TeX-parse-self…
Micha
  • 2,869
1
2 3