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

learn more… | top users | synonyms

2
votes
1answer
130 views

How to escape inline R command to avoid issue with “while-typing” spelling check

I have a problem with my text editor Aquamacs Emacs (GNU Emacs 23.4.1) when use it with \Sexpr to print inline the output from R functions. The problem results when the R command includes special ...
5
votes
1answer
289 views

Changing AUCTeX processor in the file itself

I'm using AUCTeX 11.86 in Emacs 23.3.1, under Linux (Ubuntu 12.04.1). Some of my files I compile with LaTeX, a few with XeLaTeX. I'd just like to be able to enter C-c C-c to compile, and have the file ...
3
votes
0answers
146 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. ...
3
votes
1answer
364 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 ...
2
votes
1answer
121 views

How can I tell Emacs to correctly fill around Latex comments

When I edit a .tex file in emacs, I frequently use fill-paragraph. Comments indicated with '%' sometimes wrap correctly, and sometimes they do not. It is not clear to me what is making this fail. ...
0
votes
0answers
149 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 ...
3
votes
2answers
104 views

Latex info help on Ubuntu?

If this is better as an Ubuntu question, I'll direct it there. Anyway, as a diehard emacs/AucTeX user I'm used to opening up latex-info (which uses GNU texinfo) for quick confirmation or reminder on ...
8
votes
1answer
664 views

get emacs to automatically use biber instead of bibtex

I was reading the question titled Customizing emacs to use biblatex-biber instead of bibtex. In that question, user @PLK mentions that as of auctex 11.87, auctex should automatically check if you are ...
4
votes
1answer
99 views

Emacs, preview-latex, sseq

I like using preview-latex in Emacs. I have been working a lot with spectral sequences lately and so I would like to get the figures I draw in sseq to show up in preview-latex. So far no luck. Does ...
3
votes
1answer
79 views

Maintain display of arguments for certain folded environments with AUCTeX

When working with some environments (function and friends from l3doc prompted this), it is desirable to have the environment's arguments visible at all times: Some text that, in reality, shouldn't be ...
8
votes
1answer
101 views

Telling Emacs to mark \iffalse…\fi blocks?

Do you know a simple way to tell GNU Emacs to recognize LaTeX \iffalse ... \fi blocks and to display them in a special way, e.g., using a lighter font, or using font-lock-comment-face. Is there a ...
1
vote
1answer
241 views

Beamer Multifile and Figure Issues in Emacs 24.3.1 / AucTeX-11.87 in Ubuntu 12.04

I'm trying to edit multifile beamer presentation documents in AUCTeX. I use Emacs 24.3.1 / AucTeX-11.87 / TeX 3.1415926 (TeX Live 2012/Debian) in Ubuntu 12.04. The most simple code that explains my ...
3
votes
2answers
527 views

Xdvi to Emacs inverse search not working in Emacs 24.3.1 / AucTeX-11.87 in Ubuntu 12.04

I'm trying to use AUCTeX to write my LaTeX documents. However I'm having issues with performing inverse search from Xdvi to Emacs. Software Specifications I currently use Emacs 24.3.1 / AUCTeX-11.87 ...
6
votes
1answer
575 views

AUCTeX/Emacs not recognizing correct commands automatically

On my previous OS install, Debian Squeeze with FluxBox, my workflow was as follows: With *.bib file open, I enter C-c C-c. The BibTeX command was recognized as necessary and ret executed it. Then I ...
3
votes
1answer
566 views

TikZ: compiling a standalone picture

I am not sure if this is recreate-able through a MWE. Whenever I compile a standalone TikZ picture, it compiles all my standalone figures in the same folder. I am using Ubuntu 13.04 and Emacs with ...
5
votes
1answer
1k views

Emacs and latexmk setup for --shell-escape

If I want --shell-escape, do I just need to add it to my .latexmkrc file as $pdf_mode = 1; $pdflatex = 'pdflatex --shell-escape -interaction=nonstopmode %O %S -file-line-error -synctex=1'; ...
1
vote
1answer
574 views

RefTex Multiple files problems

I have multi files and each file refers to the master file properly and the document can be compiled without problems .... RefTeX can only refer to the environments , figures, equations, etc when it ...
5
votes
2answers
5k 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} ...
5
votes
3answers
407 views

import R data frame into org-mode table

I have an R script that generates a data frame, that I export to a CSV file. The data looks something like this: "","Variant","Xaxis","N","mean","sd","se" "1","line1",10,5,111.11,9.33,3.11 ...
19
votes
3answers
3k views

Uninformative error message when using AUCTeX

I often have this error when using AUCTeX: "TeX-error: Error occured after last TeX file closed" However, when running for instance pdflatex on the command line, I have a proper error message. But ...
7
votes
1answer
156 views

does LaTeX support native multifile management?

This is not really a practical question, but more of an academic one: I use emacs to write my LaTeX files and in order to process multifile documents I include at the end of each file a local ...
4
votes
2answers
383 views

Exporting accented characters from org-mode to LaTeX

I'd like to export text from org-mode to LaTeX that contains accented characters. I am using curly brackets, following the guide from the top answer in this question. # This: Foo B{\"u}chi automaton ...
3
votes
1answer
147 views

Can I specify an output file name/path in AUCTeX?

I know I can use C-u C-c C-c LaTeX to edit the command before it is run, but is there any way I can generically specify an output file name without editing the command manually?
4
votes
2answers
290 views

Disable fontlock (syntax highlighting) for \newcommand

The syntax highlighting for \newcommand in my editor (Aquamacs/AucTeX) looks like this: I don't like it because everything inside the definition has the same light blue colour. By contrast, if I ...
8
votes
2answers
1k views

Sequence of upgrading to TeX Live 2013

Since TUG says there is no upgrade from TeX Live 2012 to 2013, it has to be a new install. However, I do not want to have two versions of TeX Live and I don't want to mess up system PATH (Windows 7). ...
0
votes
1answer
158 views

Automatically replace open quote with accent

Shaloha, My Emacs/AUCTeX combination used to automatically replace a single open quote ' with an accent `, as is required by LaTeX. Many machines and .emacs files later, it doesn't do that anymore. I ...
7
votes
3answers
3k 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 ...
0
votes
1answer
351 views

Beamer.el not loaded

from what I have learnt from my research so far, auctex should load beamer.el automatically once a *.tex file with \documentclass{beamer} is loaded. However, this is not the case here and I find the ...
7
votes
1answer
544 views

Cleveref: AUCTeX and RefTeX set-up

How can I set up cleveref to work with AUCTeX and RefTeX? I have tried the advice on Emacs, RefTeX and Cleveref – can they work together? but it didn't work. Additionally, when I hit enter, \ref{} ...
1
vote
0answers
596 views

configuring auctex in emacs [closed]

I need help with configuring auctex in emacs. I have downloaded and installed auctex but I cannot get anything to work. I am running MAC OS X 10.8.4 and am running emacs through the terminal. If I use ...
6
votes
1answer
125 views

Cross-references: managing references when there are 1000+ across 100 pages

I am using Emacs with AUCTeX in case that matters. I have many \labeled items and was wondering if there is a way to bring up a list of them? I hate having to scroll through to the document to find ...
7
votes
3answers
134 views

emacs+auctex: prevent region filling when inserting itemize

When inserting an itemize environment around some text (using C-c C-e) AucTeX insists on doing paragraph-filling on said text, which messes up my layout. Is there a simple way to prevent that ? ...
2
votes
1answer
348 views

Using \eqref with RefTeX

How can I open the equation selection buffer in RefTeX automatically when entering \eqref in Emacs? I have the following line in my .emacs file (setq reftex-label-alist '((nil ?e nil "~\\eqref{%s}" ...
13
votes
1answer
271 views

Skip spelling in Emacs for the content of a user macro

In Emacs, in order to skip spelling for the arguments of a user macro, one appends an entry to the ispell-tex-skip-alists variable. For example, to skip parsing the argument of \mycommad, one adds ...
1
vote
2answers
61 views

How do I provide/trigger the special support for letters in AUCTeX?

As you probably know, the letter document class has quite a few pieces of metadata that go along with it, e.g. name, address, signature, etc. It would be really nice if all of this was put into the ...
24
votes
1answer
533 views

Folding braces in Emacs/AucTeX

I have some code looking like this: 142 \newcommand*\john[2]{ 143 blah blah blah blah 144 blah blah 145 blah blah blah 146 blah 147 } 148 149 \newcommand*\peter[3]{ 150 blah blah ...
9
votes
3answers
798 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
181 views

Smart Quotes Control in AucTeX

If I have the statement \usepackage{ngerman} in my source-code AucTeX recognizes this and inserts correct german quotation marks if I press " twice. For example "`a german quote"' How can I make ...
7
votes
1answer
401 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) ...
10
votes
1answer
1k views

How to make `latexmk` run the appropriate amount of times

System: Ubuntu 13.04, Texlive2012, Emacs 24.something, I run Emacs from the terminal and not the GUI, and I have server mode on in Emacs. When compiling my latex documents, I use AucTeX in emacs to ...
17
votes
3answers
4k views

How to get BibTeX to work with Org mode LaTeX export?

I am trying to get Emacs (24.3.1), Org-mode (8.0.3, from ELPA) and BibTeX (from TeX Live 2012) to work together. I have followed the instructions under the Bibliography section in ...
4
votes
1answer
173 views

AucTeX PDF syncing in Emacs, multiple windows problem

I have enabled Tex-source-correlate-mode with synctex as the syncing method. When I have a single Emacs window open, it works fine. But if I have multiple Emacs windows open, whenever I press ...
4
votes
1answer
273 views

font-lock defining keywords containing special characters and whole-words

I found the reference to "\\" on line 283 of font-latex.el of auctex-11.86, and I'd like to remove it as a warning (which is easy enough to delete manually). I have not figured out a way to define ...
4
votes
1answer
703 views

Emacs / AUCTeX — Customization of keyword highlight syntax

font-lock-keyword-face is used by AUCTeX for all keywords, and I have not been able to find a way to create a new keyword that is a different color. I have defined the foreground of ...
12
votes
3answers
407 views

Click on macro name to jump to its definition?

Encouraged by a super response to my previous question on a similar topic, I shall persevere with a similar line of inquiry. I think it would be super if, in my LaTeX editor, I could click on a macro ...
26
votes
2answers
538 views

Click on package name to open corresponding style file?

I think it would be super if, in my LaTeX editor, I could click on the name of package... \usepackage{blob} ... and the corresponding style file, blob.sty, would be opened. Do any LaTeX editors ...
5
votes
1answer
222 views

Emacs/AucTeX: can LaTeX-math-list read a macro that requires input?

I wanted to make a macro that inserts \left \right delimiters, but I wanted to write it only once and have different bindings pass different delimiters. To wit, I wanted to add the following code: ...
1
vote
2answers
794 views

AUCTeX -output-directory + copy *.pdf to working directory

Part I: Could someone please give me an example of how to configure AUCTeX to use the -output-directory option? I've tried inserting -output-directory="/tmp" in a variety of ways at different ...
5
votes
1answer
582 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 ...
15
votes
2answers
427 views

How to make AUCTeX ignore syntax highlighting within environment

I have a problem with syntax highlighting in the Emacs editor using AUCTeX. The problem occurs in particular with the Verbatim environment from the fancyvrb package. Consider the following code: ...