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

learn more… | top users | synonyms

3
votes
1answer
181 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: ...
2
votes
1answer
145 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 ...
0
votes
1answer
41 views

Add key binding to emacs in AucTeX does not fully work

Based on the discussion in these questions (1, 2, 3), I created the following key bindings for AucTeX in emacs. (defun AucTeX-LaTeX-beginendgroup () (local-set-key (kbd "C-{") "\\begingroup ") ...
0
votes
1answer
43 views

texdoc finds no results for any package

Whatever package name I use when invoking texdoc, I get no results. Which seems to indicate that something is missing from the setup. I made sure that several documentation packages are installed. ...
4
votes
0answers
67 views

AuCTeX Preview “Finds No Preview Images”

I am currently trying to set up AuCTeX in emacs, but I'm encountering difficulty in getting the preview feature to work. For reference, I'm using Windows 7 64-bit, GNU Emacs 24.3.1, AuCTeX 11.87.7 ...
4
votes
0answers
186 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
67 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
53 views

How to set up forward/inverse searches with AUCTeX and Zathura

I haven't been able to find much on how to set up Zathura to work with AUCTeX/Emacs in terms of forward/inverse-searching. Has anyone been successful in this?
3
votes
0answers
41 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
60 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
68 views

add lines into tex file

I have this tex file coming from matlab. \begin{tikzpicture} \begin{axis}[% width=\figurewidth, height=\figureheight, scale only axis, xmin=1, xmax=5, ymin=2, ymax=10 ] \addplot [color=red,line ...
3
votes
0answers
82 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
145 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
39 views

Auctex and beamer: TeX-error: Error occured after last TeX file closed

I use Auctex to create a beamer document. Frequently I run into this rather uninformative error message: TeX-error: Error occured after last TeX file closed I found a similar thread here and ...
2
votes
0answers
24 views

Forcing a default class in emacs org-mode other than Article?

Looking for some help on how to set org-latex-default-class inside my .emacs file. Currently I have to put this in my documents to switch out of article mode: #+:LaTex_CLASS: hitec In the ...
2
votes
0answers
70 views

How to be productive with latex in Emacs?

I am using the default latex mode for Emacs. I haven't tried Auctex yet. I am making mistakes here and there and spending a lot of time, while switching between editing tex files in emacs and viewing ...
2
votes
0answers
48 views

Error adding new value to LaTeX-math-list with custom function

I am using Auctex with math mode enabled. One of my favorite features is insert \mathcal with the key sequence "[backtick] c". I decided to try and customize the variable LaTeX-math-list so I can do ...
2
votes
0answers
175 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 ...
2
votes
0answers
111 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
375 views

Setting up Embedded LaTeX in emacs org-mode

According to the org mode manual for emacs, one can view pieces of LaTeX code embedded in an org-file. This is supposed to be default behavior bound to the keys C-c C-x C-l which invokes the ...
2
votes
0answers
117 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
47 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
2k 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
152 views

Emacs hint that: Cannot have two processes for the same document

I have installed emacs 24.2, okular 0.14(with KDE 4.8) and Texlive 2011 in windows7. I want to use okular to view pdf file generated by latex in emacs. Hence I have configured okular in my .emacs as ...
1
vote
0answers
47 views

Exporting from Org-mode without LaTeX preamble?

Is it possible to export an *.org file to LaTeX file, without the usual preamble of \documentclass[...]{article} and a number of \usepackage[]{xyz}, yet take advantage of LaTeX and org-mode's math and ...
1
vote
0answers
34 views

Do I use preview-latex correctly?

I open a LaTeX file in Emacs, and press C-c C-p C-b (M-x preview-buffer) to generate math/graphics previews for the entire buffer. I find that a pdf file is generated with each page containg a math ...
1
vote
0answers
31 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 ...
1
vote
0answers
18 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
154 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 ...
1
vote
0answers
54 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
39 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
607 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
57 views

Tell speck-mode to not highlight commands?

As flyspell-mode is slow, I use speck-mode. With LaTeX files, this mode also spell checks commands. For example, not being an English word, documentclass is highlighted: Can I tell speck-mode to ...
1
vote
0answers
81 views

Jump from PDF line into .Rnw (with Skim)

I have a LaTeX document saved as .Rnw which I compile with Sweave to get a .tex document and finally-once compiled with LaTeX, a PDF. Now with Skim I can jump from a line in the PDF back into the ...
1
vote
0answers
64 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 ...
0
votes
0answers
38 views

AucTex minted package not finding pygmentize

I am trying to compile a latex document with the minted package. I can do this quite happily from the terminal (I'm using texlive on os x) with the following code: xelatex --shell-escape demo.tex ...
0
votes
0answers
47 views

Emacs not rendering PDF correctly

I'm using AUCTeX, preview-latex and latex-preview-pane to compile and preview documents written in LaTeX. However, whenever I compile my document and it is shown in the preview pane, it is not ...
0
votes
0answers
30 views

How to set up automatic build in Emacs

I've done this with Texclipse in Eclipse using a script that is called after every edit or refresh. I wonder if this is possible in Emacs? For Emacs, I manually compile by calling M-x tex-compile ...
0
votes
0answers
109 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
46 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 ...
0
votes
0answers
83 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
59 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
60 views

emacs macro: A sentence on each line

It is not a a latex question, rather an emacs one but related to latex! Does anyone know of a macro or ... that makes the following formatting possible: I want each line to contain only a single ...
0
votes
0answers
90 views

TOC does not appears with ox-beamer (no section, just frametitle)

I am using org-mode 8.2.5 with emacs 24.3.2. I want to compile a beamer presentation with ox-beamer. But there is no section/subsection, there is just frametitle in .tex. here is related part of ...
0
votes
0answers
51 views

Glue 2 documents, rename all labels in one of them

I need to combine several documents into one. Unfortunately both documents started e.g the equation labeling by \label{eq:1}. Is there a neat way to work with both tex files and are cross references ...
0
votes
0answers
70 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
29 views

WhizzyTeX custom folder for files

Is there a way to have Emacs' WhizzyTex preview mode store the files in a designated folder rather than the current folder (we're talking 6 files per previewed document)? I feel like LaTeX, BibTeX and ...
0
votes
0answers
147 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
61 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
176 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 ...