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

learn more… | top users | synonyms

7
votes
2answers
714 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?
1
vote
1answer
39 views

Exporting .org files to LaTeX - Error

I'm new to EMACS (on Ubuntu) and I have started using the org mode to begin with. I tried to convert my .org files into LaTeX only to see an error saying pdf was not produced Upon checking the error ...
4
votes
1answer
72 views

Inverse search with Emacs/AucTeX and SumatraPDF [on Windows 10]

I've been trying to use Emacs/AucTeX along with SumatraPDF to view my output. In particular, I would like to make the forward and inverse search work. I use Windows 10. Problem Every time I double ...
3
votes
1answer
43 views

AUCTeX beamer class does not auto-insert section label

I am now using AUCTeX 11.89.1 on emacs. When I start a beamer class document, the label is not automatically added after using C-c C-s to start a new section. I have to use C-c C-( to add the label ...
4
votes
2answers
104 views

how to make (TeX-command-run-all) save automatically without asking?

I have just upgraded to AUCTeX 11.89.1 in emacs and find the new command (TeX-command-run-all) quite convenient. One problem is that after modifying the file and typing C-c C-a, confirmation is needed ...
1
vote
1answer
23 views

Howto use Okular with Emacs Auctex?

When I follow subham soni's instructions to connect emacs with Okular, I get the error message "Symbol's function definition is void: nil" when emacs tries to call the viewer "Command: (default View)" ...
12
votes
2answers
5k 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 ...
1
vote
0answers
21 views

AuCTeX doens't compile inline equations

I installed on my Ubuntu emacs and AuCTeX (by sudo apt-get install emacs; apt-get install auctex) and when I want to get the preview I get it only for display-style. Here is a screen shot of MWE, Is ...
2
votes
2answers
70 views

Insert unicode character in auctex math mode

I use emacs with auctex to run lualatex. Is there a way to modify the math input of auctex, e.g. modify LaTeX-math-zeta, bound to the keystroke <`z>, so the unicode character ζ instead of \zeta is ...
3
votes
1answer
58 views

Handling left-to-right inside right-to-left paragraphs using Emacs and AUCTeX [closed]

I'm using Emacs to typeset a document which has English as its main language but which will use Hebrew and Greek as well. You can see on my screenshot how the \footnote command shows two open ...
1
vote
1answer
40 views

Org Mode Latex fragment preview fails to convert tex to png [closed]

I have a windows 10 machine, and MikTex. Whenever I try to toggle the preview of the I get an error in messages buffer below: org-create-formula-image-with-dvipng: Failed to create png file from ...
2
votes
1answer
137 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: ...
1
vote
0answers
21 views

Opening an External PDF in Emacs from Terminal [migrated]

I am using Emacs on the Mavericks OSX Terminal. I can open the TeX file fine, but I can compile a pdf via C-c C-c. Is there some way that I can open the pdf in an external window via the command line? ...
3
votes
1answer
38 views

AucTeX preview-latex temporary files

How can I tell preview-latex to store all temporary files (especially the folder _region_.prv which contains the preview images) in /tmp and not in the folder of my actual .tex file, when I'm using it ...
2
votes
0answers
31 views

AUCTeX LaTeX-insert-item not environment-specific for tabular [closed]

When Emacs is in AUCTeX's LaTeX mode, the command LaTeX-insert-item (C-c C-j or M-<Ret>) starts with a new \item in an itemize (or similar) environment. According to the AUCTeX manual, the ...
1
vote
1answer
46 views

emacs, twoside option doesn't go in documentclass, why?

I'm typing up some notes in Org-mode (emacs). When I try to export the *.org file as *.tex file and then get a pdf, I see the EVEN page numbers don't appear on the outside of the page as I want them ...
2
votes
1answer
30 views

Biblatex entries in bibtex-mode (emacs)

Biblatex introduces new entries such as journaltitle (see Compatibility of bibtex and biblatex bibliography files?). Biblatex manual, section 2.3: In sum, the following items are different from ...
1
vote
1answer
71 views

Trouble getting AUCTeX to load with emacs update

I have just updated to Gnu Emacs 24 and am having trouble getting AUCTeX working. I have used the Emacs package manager to install AUCTeX 11.89, and I have (require 'tex-site) in my .emacs file. But ...
1
vote
1answer
32 views

moderncv in AUCTeX doesn't produce accented vowel, why?

I'm trying to write a resumé with the moderncv class in AUCTEX (special LaTeX mode in emacs). I actually wrote the *.tex file in TeXmaker months ago then recently tried to re-ran the file with AUCTEX. ...
13
votes
2answers
3k views

How to turn on flyspell mode with AUCTeX?

I'm using flyspell mode, but unfortunatly I have to M-x flyspell-mode in each AUCTeX buffer. Somehow (add-hook 'LaTeX-mode-hook 'flyspell-mode) doesn't work for me. What is the correct flyspell-hook ...
3
votes
1answer
34 views

Make Emacs ignore “mismatched” \index parentheses

I'm indexing a LaTeX document using Emacs and AUCTeX and RefTeX. One thing that makes it harder to match delimiters in the document (or to spot mismatched ones) is the propensity of Emacs (or maybe ...
3
votes
1answer
216 views

Emacs Org-mode ignores #+ATTR_LATEX

I use beamer org-mode 8.2.10 to produce presentations. In the following the width attribute (here 0.45) gets just ignored and replaced by 0.9 #+ATTR_LATEX: :width=0.45\linewidth [[file:/osx.png]] ...
3
votes
1answer
196 views

AUCTeX, “preview image not supported”?

I'm trying to set up Emacs 24.3.1 to work with AUCTeX on Win7. When I try to use the Preview feature on the testing 'circ.tex' file I get the following error: TeX Output exited as expected with code ...
4
votes
1answer
151 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 ...
1
vote
1answer
68 views

Error exporting from org-mode to beamer

When trying to export from org to beamer I get this msg: Processing LaTeX file ./ppt.tex... org-latex-compile: PDF file ./ppt.pdf wasn't produced: [undefined control sequence] I don't know ...
5
votes
3answers
774 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 ...
3
votes
1answer
74 views

auctex forward search in multifile tex with sumatra and arara

Forward inverse search work properly for single-file documents. As for multifile document, I use local file variable to indicate the master tex file. When editing in some included document, auctex can ...
1
vote
1answer
85 views

LaTeXTidy in Emacs

I often use Eric Tsu's LaTeXTidy script to neaten LaTeX files in TextMate, which includes it in the LaTeX bundle. I press a key-binding and LaTeXTidy formats the file. One can do this multiple times ...
10
votes
4answers
210 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 ? ...
4
votes
1answer
133 views

Emacs “built-in output viewer”

I'm learning Emacs and I was reading the mighty LaTeX Editors/IDEs, where it says that Emacs has a "built-in output viewer". However I can't seem to find it. According to my understanding, a ...
7
votes
1answer
1k 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{} ...
0
votes
1answer
30 views

reftex-cite-format customizations not loading

RefTeX will no longer load my custom citations commands when using the lines from Setting up RefTeX with biblatex citation commands in my init file. Nothing changed in my init file, but it no longer ...
4
votes
2answers
129 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 ...
2
votes
0answers
182 views

Emacs and MacTex in El Capitan

I am a newbie to Emacs and have just installed GNU Emacs from emacsformacos.com on OSX "El Capitan" but couldn't figure out how to correctly link Mactex 2015 to Emacs. When trying to Latex a tex ...
2
votes
0answers
979 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 ...
15
votes
4answers
8k 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
55 views

Compile Latex in Emacs.app with AucTex

I installed emacs 24.5 and auctex 11.88 on os 10.9. The compilation (C-c C-c) of a tex file does not work in the GUI (Emacs.app), but it does work in the terminal. I get the following error I ...
1
vote
1answer
59 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 ...
1
vote
1answer
36 views

Forward search from dependent file, b/w emacs and Sumatra on Win7?

I have GNU Emacs 24.4.1 (i686-pc-mingw32) with AUCTeX 11.88.9. In a recent document, I've noticed that the forward search (source to pdf) from a file that has been included in main.tex via the \input ...
6
votes
2answers
2k views

How to use Auctex in MacOS El Capitan?

I'm using GNU Emacs from emacsformacos.com After Migration to OSX 10.11 "El Capitan", Auctex can't run the *tex utilities anymore: Running `LaTeX' on `poisson' with ``pdflatex -file-line-error ...
81
votes
5answers
26k views

Useful shortcuts or key bindings or predefined commands for emacs+AUCTeX

One of the problems I've encountered with emacs in general, and with the defaults key bindings in particular, is the diversity. There are simply so many of them that sometimes, at the end of the day, ...
4
votes
1answer
34 views

Emacs is not recognizing files as latex and going into latex-mode?

I understand that the tex-mode command of Emacs is supposed to try to identify whether a file is TeX, LaTeX or some other TeX-variant when opening a .tex file, and switch automatically into the ...
2
votes
1answer
101 views

How to get \cref to print “Fig.” in emacs?

I'm having trouble using \cref in emacs' AUCTeX + RefTeX mode. The pdf shows the reference to a picture as "section 1.3" instead of "Fig.1a" (see snapshot below) as it should, when ...
5
votes
1answer
204 views

How to properly make reftex work with multiple biblatex bibs?

I saw a comment in here that support for multiple addbibresource has been integrated into Emacs. However I'm using a few custom stys from where I require biblatex package with all the necessary ...
3
votes
1answer
212 views

Narrow to Environment in AUCTeX

I'd like to be able to use some org-mode-like features inside of AUCTeX. In org-mode, you can narrow the buffer to a node or you can flatout send the node to a separate buffer for editing. How can ...
0
votes
1answer
21 views

Emacs / AUCTeX Preserve highlights from other modes after apply style hooks

I use additional Emacs modes in conjunction with AUCTeX, such as writegood-mode and rainbow-delimiters-mode, which each add their custom highlights to the current buffer. Unfortunately, after ...
2
votes
1answer
44 views

How to load and use AucTeX when editing LaTeX snippets in Markdown files in Emacs?

I edit lots of Markdown files where LaTeX snippets are embedded between a pair of $ or $$. Is there a way to load and use AucTeX package to preview these snippets in Emacs? The motivation is to ...
0
votes
0answers
53 views

Preview-latex images wrong locations. (offset by 1)

I've been writing up homework assignments with various equations in align blocks using latex. I've recently begun using AUCTeX with its preview functionality, which is really cool. Things start out ...
2
votes
2answers
187 views

Including a forward slash within org mode italics block

In org mode (Emacs-24.4.1) I am trying to include a forward slash in a sentence that is italic but it is used as the italic boundary e.g. /Using double Flk1^{-/-} mutants/ where I want the whole ...
3
votes
1answer
72 views

How can I change the colors AUCTeX set for some keywords?

I am using emacs + AUCTeX to edit my documents. AUCTeX seems to override many colors, which are annoyingly high contrast. It made keywords stand out so much more than the contents, which is not what ...