Questions tagged [auctex]

Auctex is a package that supports writing and formatting TeX files.

33 questions
23
votes
1 answer

Flyspell save word to dictionary

I'm using flyspell for spell checking in AucTeX. How can I ignore or add a word to the dictionary without using the popup menu and without using the mouse? There's the command flyspell-auto-correct-word (C-.) to go through all suggestions for…
Robinaut
12
votes
2 answers

Emacs Auctex: How do I open the pdf in evince at the current cursor position

I use emacs auctex to write latex files. Since the text is pretty long, and I tend to change things in different places, I would like emacs to open the pdf so that the position in the text is shown that the cursor is at in the source file. I have…
Hans
  • 247
  • 1
  • 2
  • 8
9
votes
3 answers

Installing AucTeX 1.86 over Emacs.app in OS X

I am trying to install AucTeX 1.86 over an Emacs binary (version 24.0.50) from emacsformacosx.com. On first attempt ./configure outputs: configure: error: Cannot find the texmf directory! Please use --with-texmf-dir=dir to specify where the preview…
Ricardo
  • 410
6
votes
2 answers

How can one-handed work in Emacs be eased?

My right hand is temporarily immobilized and I would like to do some minor work in Emacs, mostly in Org-mode, but also in AUCTeX. Are there ways to ease one-handed work in Emacs, such as some mode or particular work flow? For instance I noticed that…
N.N.
  • 1,379
5
votes
1 answer

Why does Emacs replace quotation marks incorrectly in LaTeX mode?

When writing LaTeX documents in Emacs, it usually automatically replaces quotation marks " by `` or '', as it should. But sometimes, it incorrectly replaces by "` and "' instead. I am observing this in Emacs 23.4 supplied as version 23.4+1-4ubuntu1…
Thomas Arildsen
  • 989
  • 2
  • 10
  • 18
5
votes
1 answer

emacs AucTeX:Turn off auto-fill-mode inside a particular LaTeX environment

I like using auto-fill-mode for hard line wrapping. However, when I'm making a big tabular in a .tex file, I like using align-current to have the table look somewhat like it would when printed. The difficulty is that if I have a table that is longer…
Seamus
  • 905
5
votes
3 answers

Telling aptitude I've already installed something

Hi, I know this might be a non-sense question, but I have to ask. I installed TeXLive 2009 on Ubuntu 10.04 (x64), but I did it manually with the "install-tl" perl script following the directions on http://tug.org/texlive/doc.html. All the other…
anlucki
  • 63
4
votes
1 answer

AUCTeX and tabs

I've been tinkering for hours and I'm becoming desperate. I want tabs! I like tabs, I see no advantage in using spaces and therefore I ident with tabs (alignment is done with spaces though). But I can't get AUCTeX (or LaTeX-mode for that matter) to…
Surma
  • 43
3
votes
0 answers

emacs reftex reftex-create-bibtex-file ignores cites with optional arguments

Emacs reftex has a command reftex-create-bibtex-file that searches the current .tex file and creates a bibliography (.bib) of all cited works. The problem is, that while it picks up \cite{foo} it doesn't spot \cite[bar]{foo} which is annoying. Is…
Seamus
  • 905
2
votes
2 answers

Select font (face) for AucTeX section styles

Is there a way to select the font (face) and size for the AucTeX section styles?
NVaughan
  • 553
  • 1
  • 5
  • 14
2
votes
3 answers

Why hasn't my customising of reftex-cite-format been recognised?

In my .emacs I set up the following code to allow me to use biblatex cite commands when editing LaTeX files: (setq reftex-cite-format '( (\C-m . "\\cite[]{%l}") (?p . "\\parencite[]{%l}") (?t .…
Seamus
  • 905
2
votes
1 answer

How to insert *.tex-templates in Emacs-buffer using minibuffer-choose.el?

Weeks ago I found this answer to https://tex.stackexchange.com/questions/2110/most-significant-reasons-that-led-%20us-to-latex/2144#2144 on tex.stackexchange.com. "Leo2007" describes, how to insert *.tex-templates into a buffer of Emacs. I could not…
Keks Dose
  • 263
  • 3
  • 12
2
votes
2 answers

preview-latex not working in Emacs.app

I just installed auctex and preview-latex on my mac, and now when I open a tex document I see auctex has been loaded, but when I try to generate a preview I get the following error message: Running `Preview-LaTeX' on `writeup' with ``latex …
2daaa
  • 173
  • 6
2
votes
2 answers

Emacs, AUC Tex and Tex Live problem on Mac OS

I have (apparently) correctly installed MacTex 2010 and I am able to use it from the terminal and with Texmate. But when I try to compile a Latex file using emacs in the AUC Tex mode it have an error. Apparently the path to pdflatex is unknown…
Cedric H.
  • 131
2
votes
1 answer

Adding autocomplete options to auctex C-c C-e?

When I'm using auctex with emacs to write LaTeX documents, I would like to be able to add a couple more options to the list of environment types that auctex "recognises" and can autocomplete, namely Theorem, Lemma, Proof, itemize* and a couple of…
Seamus
  • 905
1
2 3