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

learn more… | top users | synonyms

4
votes
1answer
197 views

Customizing preview-latex command to use LaTeX when in TeX-Pdf mode

In short: Is there a way to tell preview-latex to NOT use pdflatex instead of just toggling TeX-Pdf mode every time I want to re-generate previews? I have a somewhat odd setup. AucTeX + GNU Emacs 24 ...
9
votes
0answers
109 views

Editing LuaLaTeX files in emacs

(A follow-up question to Which is the best editor for LuaTeX?) Emacs offers the LaTeX-mode in AUCTeX for editing LaTeX files, while it has the Lua-mode for editing Lua-files. Consider the following ...
7
votes
0answers
46 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 ...
5
votes
0answers
198 views

AUCTeX detecting modified files using different output directory

I'm using AUCTeX in Emacs, and would like to store all output files (.aux, .log, .pdf etc) in a sub-directory "output" rather than directly in the current working directory. To achieve this, I have ...
4
votes
0answers
179 views

TeX-run-Tex wrong type argument in emacs

I use such a function for compiling LaTeX in emacs (AUCTeX) taken from here (accepted answer by Jouni K. Seppänen): (defun run-latexmkk () (interactive) (let ((TeX-save-query nil) ...
2
votes
0answers
94 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 ...
2
votes
0answers
235 views

How to display non-printable Unicode characters in Emacs/AucTeX?

I would like to see the non-printable Unicode bidi characters PDF (202C), LRO (202D), RLO (202E) in the emacs editor (but not the pdf output). How can i do this? EDIT: Here's a minimal working ...
1
vote
0answers
45 views

includegraphics in emacs with latexmk

I document I used to be able to compile on Vim wont compile on emacs. When I check the log, it is having trouble with \includegraphics[widht = 3in]{file.pdf} It says I could not locate the file ...
1
vote
0answers
61 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
0answers
43 views

AUCTeX + compilation minor mode does not jump to error

I have setup AUCTeX to show me the compilation output rather than the traditional help if an error occurs with the following code: (defadvice TeX-TeX-sentinel-check(after open-log-on-error (process ...
1
vote
0answers
215 views

Problems with AucTeX and Emacs24

I download AucTeX from ELPA and put nothing in my .emacs file. However, the commands auctex and preview-latex do not seem to be there (when I try M-x auctex or M-x preview-latex, Emacs cannot find ...
1
vote
0answers
67 views

Can WhizzyTeX be used with XeTeX?

I have tried to make WhizzyTeX work with XeTeX (or, specifically, XeLaTeX), but just adding LATEX=xelatex in whizzytex.conf (or changing this setting by any other means) and specifying PDF output ...
1
vote
0answers
56 views

How to write an article in Hebrew using emacs?

I've gotten AucTeX up and running on my emacs 12.4/Ubuntu 12.10. Now how can i get it to work with Hebrew?
1
vote
0answers
139 views

Highlight keywords in math mode?

I am using Emacs+Auctex. I need additional highlighting in math mode. How can I force Emacs to highlight braces and some commands (like \quad) inside math mode with different color?
0
votes
0answers
41 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
52 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 ...
0
votes
0answers
81 views

Compiler Error with Emacs

When I compile my document with latex on the terminal, there is no problems. Everything is fine. However, When I try it via Emacs (Cntrl C-C, which makes a call to Latex) I get the folowing error ...