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

learn more… | top users | synonyms

0
votes
0answers
47 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 ...
7
votes
2answers
2k views

Mavericks upgrade screwed up my pdflatex (command not found)

so everything was working fine ... until i upgraded to os x mavericks (version 10.9.2) a couple days ago. using emacs version 24.3 (9.0) auctex version 11.87.3 after upgrade, tried to compile and ...
0
votes
0answers
16 views

problem running Tex on os 10.9.2 [duplicate]

After installing OS 10.9.2 on my computer I can no longer use LaTeX. Every time I try to typeset a document I get an error message: The program 'pdftex' was not found. Searched in directories: ...
1
vote
1answer
49 views

Synctex between Emacs and Evince, which would move focus for backward search

There is a great way to make Emacs, Evince and Synctex work together. However it has a minor caveat: when you do backward search, focus is not moved to Emacs (so you have to do that using mouse or ...
3
votes
0answers
21 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 ...
8
votes
1answer
92 views

Making AUCTeX aware of the TeX engine set in master file

Is there a way to make AUCTeX aware of the TeX engine local variable set in a master file when I compile from other files? master.tex: \documentclass{minimal} \usepackage{fontspec} \begin{document} ...
3
votes
1answer
58 views

Add own macros to “.emacs”

I'm using KOMA-script, which offers the use of letter-class-options, which can be stored in a file: *.lco. One command I define in a "zrp.lco" is very simple: \newcommand{\Beweis}[1]{Beweis: #1} ...
1
vote
0answers
51 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
1answer
73 views

Problem with yasnippet in emacs + autex

I am newbie in Emacs + AucTeX and trying to get familiar with auto-complete mode in editing LaTeX. Auto-complete is a fantastic attribute, but I don't understand the follow problem: Auto-complete ...
4
votes
1answer
45 views

How can I fix AucTeX's syntax highlighting for the lstlisting environment when using optional arguments?

The title really says it all, so I'll provide an example and a screenshot: \documentclass{article} \usepackage{listings} \begin{document} For example, if we wished to create a predicate to ...
2
votes
1answer
86 views

How to replace AUCTeX's “LaTeX” command with latex->dvips->ps2pdf chain?

What is the proper way of solving this problem with respect to AUCTeX's design - I mean, how to do that in a way that it will still recognize the errors, display log on demand, make "View" command ...
4
votes
1answer
35 views

Turning off line-wrapping in auctex for smooth transition with ess in same file

I sometimes use auctex + ess for Sweave/knitr documents. Every time I switch from auctex to ess and vice versa, there is a pause/jolt while the auctex lines re-wrap themselves. Previously, I also ...
4
votes
1answer
56 views

In Emacs (with AUCTeX), if i use <C-c '> to see errors, it copies the command <C-c %>

I don't know why, but since recently my Emacs is behaving strangely. As usual I compiled using C-c C-c to call LaTeX, then there were errors and it asked me to type (as usual) C-c '. but when I did it ...
4
votes
0answers
155 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 ...
0
votes
1answer
76 views

AUCTeX and TikZ does not work in emacs for me : HELP T

This is no duplicate. I am unsure how things work here. But I wasn't able to save my last username as it was a temporary username and cannot access my previous post which was marked as duplicate. ...
3
votes
2answers
44 views

Impossible to select text and, then, autoformat it with Emacs+AUCtex

With Emacs+AUCTeX, I was able to select text (with the shortcut CTRL+SPACE) and, then, format this text. For example, it was possible to select a sentence (the text is highlighted) and to press C-c ...
4
votes
2answers
79 views

Changing language of flyspell (Emacs) with a shortcut

I'm using the following code to launch flyspell when I edit LaTeX files with Emacs+AUCTeX. (if (file-exists-p "/usr/bin/hunspell") (progn (setq ispell-program-name "hunspell") ...
1
vote
0answers
165 views

LaTeX file compiles on two computers but not on the third [closed]

I have tried to troubleshoot a problem for several days and cannot solve it. I have a LaTeX document that compiles on two computers but not on a third computer. (Other documents have compiled fine on ...
2
votes
1answer
47 views

How to get AucTex to prompt me for a name, when inserting an environment using Ctrl-C, Ctrl-E?

I'm using emacs auctex. I've defined an environment template, as follows. \documentclass{article} \newtheorem{definition}{Definition}[section] \begin{document} \end{document} I insert instances ...
3
votes
1answer
64 views

Auto convert LaTeX escape codes to UTF-8 characters?

How do I—e.g., with AucTeX—automatically convert escaped characters like \~n to ñ for use with \usepackage[utf8]{inputenc}? I could do something like this: sed \ -e "s/\\'a/á/" \ -e ...
13
votes
4answers
4k views

AUCTeX and XeTeX

I use Emacs+AUCTeX to write my *-tex. Using the PDF mode, I can run pdfTeX automatically with the C-c C-c command. However, I don't see a way to run XeTeX automatically, or even set up a command ...
1
vote
2answers
56 views

Run viewer command works only from master tex But not from child tex file

i am using Auctex under emacs 24.3.1 on mac. I am making master .tex file and many what i call it child .tex files. Run Latex and Run bibtex commands are working nicely from either the master ...
10
votes
3answers
4k views

pdflatex fails within Emacs.app, but works in terminal

LaTeX rookie here. I'm running OS X 10.7 with Emacs 24, Auctex 11.86 and TexLive 2011 via MacTex. When i run LaTeX through Emacs in the terminal it outputs my test.tex as test.pdf just fine. ...
1
vote
1answer
42 views

Creating 'document' environment using AUCTeX leaves a blank line after \end{document}

If I type C-c C-e document in AUCTeX mode using Eamcs, I end up with a blank line after \end{document}; see Can I stop AUCTeX from producing this extra line at the end? Notes: I use Emacs 24.3-13 ...
2
votes
1answer
76 views

Running latex (pdf) interactively in AucTeX

When I am Running latex interactively, as I like, emacs is opening a new buffer-window with output from the LaTeX compiling process. Fine! -- I like to see the processing outut. BUT I am used to that ...
0
votes
1answer
66 views

Can not preview latex equation in org-mode. dvipng and imagemagick both failed

I have a tough problem now with my org-mode in windows 7, can anyone help me to find a solution? Here is my problem: When I preview my latex equation with org-preview-latex-fragment function, it ...
1
vote
0answers
31 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 ...
5
votes
1answer
77 views

Emacs AucTeX Customization - Adding templates

Is it possible to customize emacs (with AucTeX) so that new templates can be added for quicker typesetting. For example, If I want to prepare a letter that has a particular format, then I would like ...
7
votes
1answer
240 views

How to configure Emacs and AUCTeX to perform Forward and Inverse Search

I have emacs23 and AucTeX installed on my Ubuntu system. I would like to change the default pdf viewer in emacs and enable forward and inverse search. How do I do it? I would like to share my ...
6
votes
1answer
49 views

All lines itemized when mark is active

In AUCTeX I would like the behaviour of LaTeX-environment and/or LaTeX-insert-item to create multiple items for every line when called with mark active.
1
vote
1answer
123 views

Adding an option to the PDFLaTeX call from AUCTeX

In my .emacs I have '(TeX-PDF-mode t) set. So I'm using PDFLaTeX. I'm not sure why this is not the default these days. I had also set '(LaTeX-command "latex -shell-escape") In hindsight this ...
6
votes
1answer
102 views

AucTeX Emacs Compilation Problems

I installed emacs23 on my Ubuntu 13.10 64-bit system. I also downloaded the AucTeX tarball and installed it (./configure then make and finally make install). Now I get the LaTeX commands in the menu ...
1
vote
0answers
50 views

AUCTeX and TikZ does not work in emacs for me : plz help? [duplicate]

I've looked around for resolutions however, could not find any. Indeed the one response that is pointed out, I already tried. I did the following sudo gedit .emacs and embedded the code provided ...
0
votes
0answers
26 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 ...
4
votes
1answer
405 views

Preview TikZ figure in AUCTeX?

I am using AUCTeX on Emacs. Recently I began to draw pics using TikZ, but the problem is AUCTeX doesn't generate preview of this environment. (However, it does generate preview for the general figure ...
6
votes
3answers
446 views

Forward Search in Emacs for Okular not working

On Emacs, I am trying to get forward search with Okular. Right now, I have the following command: okular --unique %o#src:%n`pwd`/./%b But, this does not take me to the right line, as I'd expect. ...
2
votes
1answer
41 views

Instant Rebuild & View of LaTeX Buffer in AUCTeX

Is there a command in latex-mode when using Emacs+AUCTeX that combines TeX-command-buffer and TeX-view into one single instant redisplay command? I don't see the point in having two separate key ...
5
votes
1answer
104 views

Choosing TeX distribution in AUCTeX

I'm using AUCTeX version 11.86 in GNU Emacs 23.2.1 in Windows 7, and I've just updated MiKTeX from version 2.8 to 2.9. How do I tell AUCTeX to use version 2.9 rather than 2.8? A similar hypothetical ...
13
votes
3answers
7k 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 ...
3
votes
0answers
46 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
3answers
1k views

Emacs AUCTeX View command

I need help using the View command in AUCTeX running in Emacs. This is essential for viewing PDFs and without it I can not make TeX documents. In my .emacs file I have the following (which was created ...
3
votes
2answers
2k views

BibTex doesn't create .bbl file (Using Emacs/AUCTEX)

I am having a real issue with compiling BibTeX (has previously worked fine). When I compile LaTeX, an aux file is created. Here is my test.aux \relax \citation{carron2013big} \bibdata{rhian} ...
10
votes
2answers
218 views

Get emacs to automatically insert \end{} commands after a \begin{} command

I've recently switched from Kile to Emacs/AUCTeX for LaTeX editing. I like AUCTeX a lot more in general, in part because I've put a lot of effort into learning Emacs really well. One feature I really ...
0
votes
2answers
53 views

Error message when compiling ConTeXt document from Emacs [duplicate]

The command texexec --once --texutil --engine=xetex --interface=en --nonstop tmp.tex' gives the following error message when called from Emacs, but not when called from Terminal: ...
1
vote
1answer
81 views

Preview problems in AUCTeX when using certain document classes

I just changed document class to lipics (class files here) which is used for various conference proceedings, i.e. \documentclass[a4paper,UKenglish]{lipics} I now have problems rendering previews in ...
1
vote
0answers
35 views

why did i only use sudo open emacs C-c C-c can work with AUCTeX? [closed]

two question: 1.use sudo open emacs the AUCTeX can work with C-c C-c and C-c C-v 2.sudo open emacs C-c C-c show Latex erros system mac OS X Mavericks, auctex11.87.2, emacs24, zsh.
3
votes
1answer
126 views

Emacs Indentation Problem

I started using Emacs/AUCTeX for writing my LaTeX documents. I now have an \begin{inparaenum}[(1)] \item An Item \item an other Item \item this is an item, too ! \end{inparaenum} ...
3
votes
1answer
253 views

AUCTex Installation

I installed Emacs with AUCTex using the following code in Ubuntu 13.10: sudo apt-get install texlive-base emacs23 auctex preview-latex I followed these instructions, but the Code that should be ...
5
votes
1answer
54 views

Auctex: bug in LaTeX-mark-environment?

Before I send this on to the developers, I'd like to know if others can confirm this problem. Consider these two environments: \begin{flalign*} sdfsdf \end{flalign*} \begin{flalign*} && ...
3
votes
1answer
119 views

RefTeX and Chapterbib

Executing BibTeX via Auctex (RefTeX) in emacs (24.2.1) only creates a .bbl file for the master file in a multifile document. Yet, if one wants bibliographies for each chapter, BibTeX has to be run on ...