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

learn more… | top users | synonyms

4
votes
1answer
107 views

Auctex, how to use doc-view-mode?

Newbie here. I have just installed emacs/auctex on my mac. I don't like xdvi to view the dvis, I like to use emacs' builtin pdf viewer to view pdf on its own split window on the right. It used to be ...
3
votes
1answer
148 views

Cross-ref an equation using RefTeX, AUCTeX and cleveref

After an updated of AUCTeX (to 11.87) the solution that worked wonderful from this answer stopped working. In particular, I got the following error: reftex-reference: Wrong number of arguments: ...
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 ...
4
votes
0answers
60 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 ...
3
votes
0answers
25 views

Disabling input method inside a math formula in Emacs with AUCTeX

I am typing a math document in Russian using Emacs 24.3.1 and AUCTeX 11.87. I am using the russian-computer input method to type Russian. It would be very convenient to disable this input method ...
3
votes
0answers
74 views

AUCTeX folding and square brackets in math mode

I want to use the folding functionality of AUCTeX, mainly to replace math macros with the corresponding symbols. But at the same time I want to continue to use square or curly brackets additionally to ...
3
votes
0answers
59 views

Edit Tabular-like Environment using Emacs+AUCTeX

I am using Emacs+AUCTeX to write all my LaTeX files. So far so good except every time when I need to edit some tabular-like environment. I need some tricks or key bindings to take advantage of Emacs ...
3
votes
0answers
44 views

XeLaTeX crashing only in AUCTeX

I'm running xelatex installed from TeXLive 2013 running on Cygwin, and it works fine compiling from the commandline with xelatex input.tex or latexmk, but for some reason running the same file through ...
3
votes
0answers
62 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 ...
3
votes
0answers
65 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? ...
3
votes
0answers
123 views

Can't get AUCTeX to do a preview

I'm running Arch Linux, latest version of Emacs, and trying to get a preview of the document using c-c c-p c-p or any that will do a preview after c-c c-p ... and just can't get the thing to preview. ...
2
votes
0answers
61 views

skim cannot reload file after auctex preview-latex

I am using emacs+skim to preview latex on macs, and I use auctex preview-latex from time to time. the problem is, after I run C-c C-p C-d in emacs to preview entire document, the pdf file is now ...
2
votes
0answers
42 views

Tex-shell in AUCTeX

Whenever I compile a file in AUCTeX (e.g. C-c C-c and then choosing an option) , it creates a buffer tex-shell where I can see the output of the compilation command. Once the compilation finishes this ...
2
votes
0answers
100 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 ...
2
votes
0answers
44 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 & ...
2
votes
0answers
1k views

How to uninstall TeX Live on Mac which is installed through command “sudo port install texlive +full”?

At the beginning, my purpose is to set up AUCTeX with Emacs. I just do like below Download AUCTeX, then cd to the directory, make and sudo make install. It works well when the .tex file only ...
2
votes
0answers
199 views

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) ...
1
vote
0answers
25 views

How to disable inline preview in certain parts of document while editing?

I'm using AUCTeX+emacs, and have inline preview enabled (although it could apply to other preview enabled editor like TeXstudio). My document has a TiKZ plot generated using gnuplot, and it has lots ...
1
vote
0answers
78 views

Emacs + Skim + Live Preview?

I have been using Latexian for a while, but some of its limitations and my natural tendency to use emacs, is prompting me to take a look at my work environment again (OSX 10.9.2). I have seen some ...
1
vote
0answers
13 views

Auctex go to corresponding block between pdf and tex file

Texshop's CMD+Click can take you to the location of the current texts on its pdf/tex file. I am wondering how to do this in emacs/auctex?
1
vote
0answers
34 views

The hyperref package breaks AUCTeX preview with two different journal style files

The following LaTeX MWE compiles, but AUCTeX preview does not work. This file tests for two different journal style files. One is Bayesian Analysis, the other is Oxford Bioinformatics (links are to ...
1
vote
0answers
131 views

AucTeX: run latexmk + viewer in one command

Question 1: I would like to have a single key combo (C-c C-a) which compiles the file (with latexmk) and displays it. This answer solves the first part. I tried adapting the answer to also call ...
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 ...
1
vote
0answers
456 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
0answers
58 views

AUCTeX/RefTeX, the `import` package and cross reference

Today I switched to the import package with the hope that it will simplify the management of the files of my text. It surely did that, but.... It broke RefTex in emacs. Now, I cannot lookup my labels ...
1
vote
0answers
142 views

auctex output in shell

How to redirect the AUCTeX output to the shell buffer (M-x shell) of emacs? (= use a shell buffer instead of the AUCTeX output buffer). This way one could seamlessly combine (LaTeX) shell commands and ...
1
vote
0answers
61 views

Multifile and dvi output from the 'master.tex'

I have a report composed of multiple files where I name the master file as 'master.tex' and set (setq-default TeX-master "master") in my .emacs file. I compile the master file and try to click the ...
0
votes
0answers
59 views

Auctex and Skim - basics

I am new to Emacs and Auctex. For a couple of days I've been experimenting with the programms adding codes from the internet to my init.el, sadly most of the codes are very complicated to understand ...
0
votes
0answers
28 views

Problem setting master file to current file with Emacs/AucTeX

I have a tex file containing these few lines at the end: %%% Local Variables: %%% mode: latex ...
0
votes
0answers
58 views

How to change text direction from Right to Left in Emacs24 and write Hindi numbers?

I use GNU Emacs 24.3.1. I want to write Arabic text with and without English text in one buffer. when I write the Arabic letters do appear (I use Consolas font) but what I miss is the direction of ...
0
votes
0answers
64 views

AUCTeX can't find file when there is an umlaut in its name (on Mac OS X)

I'm using AUCTeX for Emacs. I've got a LaTeX document that compiles fine outside of AUCTeX (so the file itself is fine). However, when I try to compile it from inside Emacs using Ctrl-C Ctrl C, I get ...
0
votes
0answers
36 views

How can I change the color of a \enquote quotation inside Emacs?

When I paste a text inside quotation marks into Emacs+AUCTeX, AUCTeX formats it with a soft red color (see the screenshot below at the first line). I like this color. However, I'm using csquotes ...
0
votes
0answers
80 views

No pdf output in Auctex

I reinstall texlive but I auctex don't produce the pdf output. I tried texwork and its works fine. I'm on fedora 19 I'm asking a question following this one, Local font installation problems. I ...
0
votes
0answers
35 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 ...
0
votes
0answers
52 views

In Auctex, bibtex cannot create reference

Everything goes well in TeXshop. In Emacs, I went through following steps: C-c C-c latex C-c C-c bibtex C-c C-c latex C-c C-c latex but it keeps saying insolvable reference. Log file says: ...
0
votes
0answers
27 views

AucTex region preview produces a document with ~10× more pages than the region preview should be. Cached preamble issue?

I define the following \locallabels{} command to localize labels and references to a certain part of my document \makeatletter \AtBeginDocument{% \let\origlabel@in@display\label@in@display ...
0
votes
0answers
77 views

\citep not working if natbib is in the master file

I am building a thesis with a master file and some included files. For example, let say master.tex contains \include{chap1}. The \citep command does highlight in master.tex but not in chap1.tex. I ...
0
votes
0answers
117 views

Control Auctex Preview colors

In the Auctex Preview Appearance section in customize, it is possible to set "Preview Reference Face". This is the only place I can find where the colour of the small .png files created by Preview ...
0
votes
0answers
58 views

Follow-up question: include entire command with emacs/auctex

This is a Follow-Up question to auctex does not parse own sty file I can use C-c C-m to use mytext from this MWE \documentclass{article} \newcommand{\mytext}{This is a simple text.} \begin{document} ...
0
votes
0answers
160 views

Passing aux directory option to AUCTeX

I use Emacs and MikTeX. With the latter comes a PDFLaTeX option to move clutter in a temp-dir directory: -aux-directory temp-dir. I am tentatively trying to pass it to AUCTeX with: (setq ...