GNU Emacs is an extensible, customizable text editor written primarily in Emacs Lisp.

learn more… | top users | synonyms

3
votes
2answers
131 views

Double-quote produces guillemets in emacs

I am having a totally bizarre problem with typing quote marks in tex documents in emacs. I work as an editor, so I receive tex source files from a publisher and I work on them. I work in emacs 24.3.1 ...
2
votes
0answers
27 views

How do I fix 'org-reftex-citation: No bibliography defined in file' error?

I am using Debian Wheezy with Emacs24.4.50.1 and Org-Mode 8.2.6. I am using Kieren Healy's Emacs Starter Kit for the Social Science. http://kieranhealy.org/resources/emacs-starter-kit/ With this ...
3
votes
1answer
131 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: ...
0
votes
0answers
21 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 ...
3
votes
2answers
4k views

How to change AUCTeX latex compile command? (using Emacs 23)

I'd like to configure AUCTeX to compile without stopping on errors. I can do it from a terminal with pdflatex -interaction=nonstopmode filename.tex but AUCTeX apparently does pdflatex ...
5
votes
1answer
239 views

Check if TeX installed is MikTeX

Is there a way to check from command line whether tex and other commands belong to MiKTeX or some other distribution (I want to only (require 'tex-mik) in Emacs initialization if it's needed)?
0
votes
0answers
36 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
1answer
77 views

What is the best side-by-side preview method for Emacs24 AUCTeX?

I am new to the Emacs world. I did this transition from one of the best latex editors and despite of the complexity of Emacs at every turn, I can still see there is future in learning it on the long ...
5
votes
3answers
2k 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 ...
5
votes
2answers
85 views

Cannot form a string with a backslash in it when editing a template in yasnippet using lisp command

I am writing a template with yasnippet. Writing a equation in latex using {eqnarray} means I will cite it somewhere so I will give it a label. When using {eqnarray*}, there don't need to be a label. ...
1
vote
0answers
51 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
28 views

.tex alignment works only for the main

The text alignment (using the tab in emacs) works only for the main tex document but not for the included tex files. Is there any option for that? it is not really a problem but the appearance ...
2
votes
1answer
294 views

turn numbering off, but keep Table of Contents intact?

I have a LaTeX template I created for use with Emacs org-mode, to export to PDF via LaTeX using xelatex. I don't edit LaTeX directly, I just generate from org-mode. This works perfectly for me ...
0
votes
1answer
42 views

Cannot get Skim to open on C-x C-v

I have been trying to get Skim to start from emacs. I always get no "matching viewer found". Here are the settings of my .emacs and I am sure something is wrong here, but cannot figure it out. Any ...
4
votes
1answer
106 views

How to increase (relevant) verbosity of compilation errors with Emacs+AucTeX?

I often debug LaTeX files and Emacs+AUCTeX does not show many informations about errors. I always have the following message in the minibuffer: LaTeX errors in `*~/my/file output*'. Use C-c ` to ...
4
votes
1answer
56 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 ...
27
votes
8answers
7k views

Setup SyncTeX with Emacs

I want to setup SyncTeX with Emacs, or, more specifically, with AUCTeX, and Evince in Ubuntu. How can I do that? I would like both forward search (from source to output) and inverse search (from ...
16
votes
3answers
1k 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 ...
6
votes
1answer
333 views

void-variable latex-mode-abbrev-table

I'm using auctex + Emacs(OSX) Problem: If I open an LaTeX file, it works right. But if I open an plain tex file, it complains. Debugger entered--Lisp error: (void-variable latex-mode-abbrev-table) ...
1
vote
0answers
11 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?
3
votes
1answer
52 views

With orgtbl, how to ensure that braces and dollars are not escaped?

The minor mode orgtbl is a wonderful tool for easily creating latex tables (you should check it out!). However, I am running into an issue with its exporter. If I have content surrounded by braces in ...
1
vote
1answer
29 views

Issue with forward search (single PDF but multiple tex files) Emacs + SyncTex + Evince

I have a single master file and several other .tex files are included in this master file. TeX-source-correlate mode is enabled for forward search. For the master file forward search is working ...
2
votes
0answers
47 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 ...
1
vote
0answers
43 views

Emacs + SyncTex + Evince

I am trying to setup forward search and inverse search between Emacs 24.3.1 and Auctex under Ubuntu 14.04. Forward search is working fine by enable TeX-source-correlate-mode in Emacs but while ...
7
votes
3answers
567 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. ...
4
votes
1answer
88 views

How to add braces automatically after \hat (or \tilde, \bar) in emacs auctex math mode

When typing operators in quantum mechanics, there is a lot of stuff like "\hat{...}" going on. But in math mode, typing apostrophe+^ only gives \hat inside math environment. How can I modify the ...
1
vote
0answers
75 views

strange preview latex problem with tikz and maketitle

The following example does not produce the expected preview: \documentclass{article} \usepackage{tikz} \begin{document} \title{a} \maketitle $a$ \end{document} Instead of the inline math a ...
1
vote
0answers
26 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 ...
8
votes
1answer
835 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 ...
2
votes
0answers
52 views

How to change (Mac)Vim's syntax highlighting rules for (La)TeX files?

I'm a long-time AUCTeX/Emacs user that switched to Vim/LaTeX-Box recently. I got everything working the way I want and grew pretty fond of Vim, but there's still one unusual thing that bothers me: ...
4
votes
2answers
3k 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} ...
13
votes
5answers
8k 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
31 views

AUCTeX Emacs TeX-quote-after-quote shortcut when \usepackage{csquotes} is in inputed file

I load all my packages through one file which I include with \input{loadPackages.tex}. But with this procedure my Emacs Aquamacs preference ;; " expands into csquotes macros (setq ...
2
votes
1answer
197 views

Set up SyncTeX with Emacs DocView

I have the source in one emacs buffer and the compiled pdf in another DocView buffer with auto-revert-mode enabled. Using latexmk -pvc to compile gives me live previews. Now I want to setup forward ...
1
vote
1answer
130 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 ...
2
votes
0answers
33 views

how to change default editor for latex when compiling in the bash? [duplicate]

When you compile a latex file in bash (e.g., via a makefile), if latex encounters an error it stops for you to enter a command, for example R to continue running or Q to run quietly. Entering E calls ...
1
vote
0answers
26 views

How can I follow input links in auctex [duplicate]

Is it possible to do the following with AucTeX: Suppose you have a master file (master.tex) like: \documentclass{minimal} \begin{document} \input{fileA} \input{fileB} \end{document} and for ...
1
vote
0answers
26 views

eqref in reftex [closed]

I'm using Emacs + AUCTeX + refTeX. I've added (setq reftex-plug-into-AUCTeX t) to my init.elfile and everything seems to work fine except for one thing. When I choose to reference a label using C-c ) ...
0
votes
0answers
56 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 ...
3
votes
0answers
53 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 ...
1
vote
1answer
41 views

AUCTeX/ RefTeX: ignore files by extension

I'm writing a very long document with dozens of figures that are all generated with matplotlib and exported as pgf files. Each figure environment then looks something like \begin{figure} ...
3
votes
1answer
147 views

AucTeX 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 ...
2
votes
1answer
43 views

AucTeX - Turning inline mode into displaymath and vice versa

Usually, when redacting math stuff, I deal many times with the following situation : I have written some formula in a displaymath environment and, when compiling, realize it should look better inline ...
4
votes
1answer
35 views

How to call \enquote by pressing only one time " key in Emacs?

I'm using \enquote command of csquotes package to handle (multilingual) quotations. With Emacs+AUCTeX, I use the three following lines (in .emacs) to be able to call \enquote command by pressing to " ...
0
votes
0answers
31 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 ...
2
votes
1answer
55 views

How can I have titles with normal font size with AUCTeX+Emacs?

I'm wondering how to modify the way AUCTeX show titles. By defaut, the titles are too big for me and they take too much place in my screen. (ignore the red underlining created by flyspell set with ...
3
votes
2answers
104 views

Compile with emacs and update the view in docview

I'm using Emacs with AUCTeX under Ubuntu 14.04. My frame is splitted into two windows like this: ------------------------------ | | | | | | | ...
3
votes
1answer
63 views

How can I set RefTex default reference format?

I'm using RefTex and cleveref. When I want to add a cross-reference I need to enter C-c ) C <SPC> to select the uppercase (\Cref) reference format and show all label types. I use this method to ...
0
votes
1answer
103 views

Emacs: using emacsclient

I always set up emacs running in server mode, and every time I update Ubuntu, the procedure to do this changes. Even though I have all the same setting in my /.bash_aliases and /.emacs, it will not ...
64
votes
4answers
10k views

A simpleton's guide to (…)TeX workflow with emacs

Progress Report Four months on, I thought it a good idea to "report back" here, and I wrote something. Then, I had better thoughts and turned it into a blog post. You can read it on the TeX.sx blog. ...