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

learn more… | top users | synonyms

2
votes
1answer
44 views

Adding keybord shortcut for AUCTeX in Emacs

Disclaimer: This is a question about Emacs and AUCTeX. Sorry if this is out of the scope of tex.sx. How can I add a new command to AUCTeX? I want my AUCTeX mode to have the command C-c C-f C-p ...
0
votes
0answers
18 views

Emacs with AucTex won't compile LaTeX documents [closed]

For some time I've been using emacs to edit and compile LaTeX documents, but recently I decided to add AucTeX, because it had options to compile from non-main documents. Today, after compiling a ...
0
votes
0answers
19 views

Emacs Org-mode ignors #+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]] ...
1
vote
0answers
20 views

AUCTeX (wrong-type-argument stringp nil) error when clicking the button

I have my AUCTeX/emacs setup following this site: http://www.stefanom.org/setting-up-a-nice-auctex-environment-on-mac-os-x/. Everything works fine, C-c C-c gives me correct pdf, and C-c C-v shows the ...
2
votes
0answers
27 views

emacsclient issue when using pdfsync on Mac OS X

I'm trying to sync between emacs and skim, and this is the site that I reference: http://stackoverflow.com/questions/7899845/emacs-synctex-skim-how-to-correctly-set-up-syncronization-none-of-the-exi ...
2
votes
1answer
57 views

How to get Emacs to load Auctex using an init file in my HOME directory?

I am making the transition to Emacs from TexStudio because I can see that it's gonna really speed up things even though it's going to be a tough learning curve. So far all my initialisation code ...
0
votes
1answer
83 views

Emacs gives me “Latex: problems after [0] pages”

Yesterday, out of the blue, my emacs+auctex configuration stopped working and I started getting the following error when trying to do pdflatex, "Latex: problems after [0] pages". Hitting Ctrl+C+L I ...
5
votes
0answers
75 views

What are the advantages of switching to Emacs for TeX/knitR work?

Currently, I am using TeXStudio. Now, I am considering to switch to Emacs because I heard that is has its advantages when it comes to R and knitR. But what are the specific advantages? Yet, I am still ...
3
votes
1answer
73 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 ...
2
votes
2answers
55 views

reftex: include from `tex/`

In order to keep doc dir clean, I keep a master file in the top level of the doc, and other files in folders: . ├── bib │ └── refs.bib ├── img │ ├── img1.png │ └── img2.png ├── tex │ ├── ...
0
votes
0answers
37 views

citing from zotero for workflow in emacs/AUCTex

I am trying to develop a workflow as I begin writing my dissertation (in the social sciences). I am using emcas as my LaTeX editor, Zotero as my citation manager, and Linux Mint as OS. I had a ...
3
votes
1answer
53 views

Unable to produce bibliographic references in Emacs+AUCTex

I am trying to include references in a document of mine but I have a problem. First of all I use Emacs+AUCTex in Ubuntu. I have the following .tex and .bib files: Document File ...
1
vote
0answers
70 views

Why isn't the LaTex preview pane showing the preview in emacs?

I recently installed latex preview pane on my emacs. It turned out that it is not showing the proper preview. Instead it shows some random codes as shown in the snapshot. How do I make it show the ...
2
votes
0answers
56 views

Options problem with LaTeX using AucTeX

In my file, I use the package minted that require to use the option -shell-escape . In order to use this option, I need to add the following line in AucTeX : %%% TeX-command-extra-options: ...
8
votes
2answers
133 views

Best way to use multi-lingual quotes using csquotes package in AUCTeX Emacs

When I write in Arabic (Rt-to-Lt) language I get the quotation marks reversed (the right instaed of left and vice versa) if I want to keep font-locking of AUCTeX setup. Emacs editor using AUCTeX ...
2
votes
0answers
52 views

AucTeX on Android? [closed]

How hard is it to get AucTeX (LaTeX + Emacs) set up on an Android device? Right now that's the biggest hurdle to me considering buying a tablet (I'd get one of those covers with a built-in ...
0
votes
0answers
90 views

cocoAspell + Emacs 24 + Mac OS X Yosemite

Having trouble configuring emacs 24 on Mac OS X to work with cocosAspell. Installed MacTex dist. with success; Installed AUCTex through emacs package manager; Downloaded and installed the brazilian ...
1
vote
1answer
24 views

Auctex command on region - backward search leads to region.tex instead of main.tex

In auctex I can run a command only on a certain region to speed up compiling. This works great, however if then I use the backward search to jump from the .pdf to the .tex source code, it opens the ...
2
votes
0answers
70 views

Use dollar sign in verbatim environment within auctex

I am using something similar to the following, \documentclass{article} \usepackage{listings} \lstnewenvironment{shellsession}[1][] {\lstset{language=bash basicstyle=\small\ttfamily, ...
3
votes
1answer
35 views

How to limit auctex search for style subdirectories

I've used emacs as a basic editor for a little while and decided to try setting up AUCTeX+Skim for my TeX needs. I'm using emacs 24.4.1 and AUCTeX 11.88. When I open a *.tex file, a get the error ...
2
votes
1answer
45 views

Recompile with C-c C-c in AUCTeX

Is therer a way to recompile the document when there were no changes? Currently hitting C-c C-c a second time only runs the document viewer (Skim.app in my case).
0
votes
0answers
37 views

How to cleanly post-process PDF compilation in AUCTeX and ESS?

This question is somewhat related to this one, but separate. Thanks to Jan Gleixner's utility, One can obtain synchronization between a source foo.Rnw compiled by knitr and the resultant foo.pdf. ...
1
vote
1answer
59 views

Auctex evince synchronization problematic with accented characters in file paths

I recently stumbled on this nice problem (bug ?) : I can use evince to visualize foo.pdf output from LaTeX obtained in AUCTeX and Synctex synchronization,as long as none of the files referenced in ...
0
votes
0answers
70 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 ...
2
votes
1answer
64 views

Making pdftex default

The default TeXing option is LaTeX and for each document I have to use the menu item Command|Texing options|Generte PDF to change it to PDFLaTeX. How can I make PDFTeX the default TeX engine? ...
4
votes
1answer
159 views

auctex 11.88 bug(?) on LaTeX-env-label, cannot automatically insert label

I have recently been trying auctex 11.88 on emacs 24.4(win7+mac). it's great so far! I used to have the following in my .emacs emacs file when I was using auctex11.87 (I bumped into it on ...
1
vote
0answers
38 views

How to make Reftex menu recursive (or nested)?

I have the fllowing lines in my .emacs: (add-hook 'reftex-load-hook 'imenu-add-menubar-index) (add-hook 'reftex-mode-hook 'imenu-add-menubar-index) (global-set-key [down-mouse-3] 'imenu) It ...
1
vote
0answers
28 views

Call GNU Make from AucTeX [duplicate]

In most Emacs major modes targetting compiled programming languages, C-c C-c invokes make. In AucTeX, it lets me choose between any of BibTeX Biber Check ChkTeX Clean Clean All File Index ...
2
votes
2answers
261 views

Emacs + AUCtex on Windows 8.1

I tried to install Emacs and AUCtex on Windows 8.1 without success (at least, it does not seem to work to me). With the risk of being pedantic, here are the steps I followed: 1) Extracted the most ...
3
votes
1answer
122 views

TeX error: “Error occurred after last TeX file closed” How to fix this with emacs? [duplicate]

I have recently started to use Emacs editor to type latex documents. For a while everything was going smooth and fine but one good day I got this annoying error message while compiling my document. It ...
3
votes
2answers
95 views

Do not ask for optional argument when autocompleting

I have Emacs 24.4.1 with the following packages so to get autocompletion: yasnippet auto-complete auto-complete-auctex (and of course AUCTeX) After I type \usep and then press TAB, the string is ...
0
votes
0answers
26 views

Setting Emacs TeX-engine locally does not work

I'd like to follow the advice from @egreg in http://tex.stackexchange.com/a/21212/24483, however the given code does not work for me. I have \documentclass{article} \usepackage{fontspec} ...
1
vote
0answers
35 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 ...
0
votes
1answer
75 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 ") ...
3
votes
1answer
127 views

Auctex support for building using makefile in subdirectory?

I am editing my PhD thesis using Emacs & Auctex, but my elisp is quite weak. Additionally, I build my thesis in a subdirectory, using makefiles generated by CMake and the UseLATEX CMake package, ...
0
votes
1answer
101 views

Ispell in Emacs without a middle mouse button

Ispell/Flyspell in Emacs uses the mouse middle button to activate the context menu for a misspelled word. The problem is that my laptop doesn't have a middle button. So is there any way to tell Ispell ...
8
votes
1answer
92 views

Emacs / AUCTeX search/replace in multifile documents

Is there a way to let emacs automatically search and replace strings/regex in all files that are part of a multifile document? With C-s or M-% only the current buffer is included in the search, even ...
6
votes
1answer
739 views

AUCTeX View and Compile commands in Emacs 24.4

With Emacs 24.3 on Mac OS X, I have used the method described in the answer by CodeKingPlusPlus at Emacs AUCTeX View command to use C-c C-v to open compiled latex PDFs using Preview.app. After ...
4
votes
1answer
237 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?
2
votes
1answer
86 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. ...
3
votes
1answer
311 views

latex preview in emacs unable to run ghostscript

So, on Windows 8, emacs, trying to use preview-latex. Each time I get the same error: Preview-PDF2DSC finished at Mon Oct 13 12:55:42 PDF2DSC sentinel: Searching for program: permission denied, ...
2
votes
0answers
154 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
1answer
166 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 ...
4
votes
0answers
164 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 ...
2
votes
0answers
72 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 ...
0
votes
0answers
122 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
96 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 ...
1
vote
1answer
54 views

RIS & crufty bibtex to biblatex without an OCD tool?

I have 30 years of bibtex in a file with some other notes. Bibtex doesn't mind, but biblatex does. Also, certain publishers (Nature, APA, MIT) don't provide bibtex but do provide dois or ris. I've ...
1
vote
0answers
37 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 ...
2
votes
0answers
96 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 ...