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

learn more… | top users | synonyms

4
votes
1answer
37 views

how to deactivate eqnarray environment in AUCTeX

It is mentioned in several places that the environment eqnarray should be avoided, e.g., this Avoid eqnarray! article. That said, when I am using AUCTeX in emacs, if I type C-c C-e eq TAB, I would ...
0
votes
0answers
18 views

Preview latex in emacs not working

I cant get preview latex to work on emacs. I am using aquamacs on a mac and every time I try to run preview, I get something that says "No auxiliary output files". Can anyone tell me what is wrong?
1
vote
1answer
42 views

How can I browse the unresolved references? [duplicate]

When I compile with LaTeX (emacs+AUCTeX), I get the following warning: LaTeX: there were unresolved references, {52} pages I know that I have some \ref{somefuturething} here and there, and I would ...
3
votes
1answer
36 views

Emacs+Xetex org-latex-export-to-pdf to create pdfs out of txt files saved as org

Please advise if there is a simpler way to do this but I'm hoping to use Emacs + Xetex for turning a text file into a pdf. So far I am saving the text file as .org and I currently have #+LATEX_CLASS: ...
0
votes
1answer
20 views

Preview-Ghostscript replaces equations with triangles in Emacs in LaTeX mode

I am using auctex in Emacs, and upon running Preview->Buffer (C-c C-p C-b), what happens is: Triangles with red borders and white interiors replace every math formula A white and empty Ghostscript ...
90
votes
7answers
29k 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, ...
1
vote
0answers
92 views

Getting SyncTeX to work with Emacs, AucTeX and Skim (OS X El Capitan)

I'm attempting to set up LaTeX to work with Emacs on my Mac, running OS X El Capitan 10.11.5. I can compile everything all right, but I'm unable to use forward/inverse searches with Skim. From ...
2
votes
0answers
135 views

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

I've been writing some results 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 great, but as ...
1
vote
1answer
46 views

entering unicode character in emacs results in numerical unicode value instead of character

Presently, I am using emacs to render lots of mathematical symbols using the Tex mode, but quite often it displays simply the numerical Unicode value instead of the actual character on Windows 10. In ...
4
votes
1answer
365 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 ...
13
votes
3answers
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 ...
1
vote
1answer
67 views

Can't preview latex fragment in emacs

When I use C-c C-x C-l to preview a LaTeX fragment in Emacs in Windows 10, just blank box show up. And I got this error creating DVI file. Failed to create dvi file from c:/Users/Daniel-PC/AppData/...
2
votes
1answer
1k 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 ...
0
votes
2answers
103 views

Emacs as the latex editor

I am using Emacs for editing my latex document. Is there any way to make Emacs as WYSIWYG editor so that the editing will be easier. I need to reduce the number of time I compile the document also. I ...
4
votes
2answers
354 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 ...
1
vote
1answer
62 views

Auctex not compiling on C-c C-c, “TeX-master-file-ask: Master file already set” [closed]

I recently started using Emacs/Auctex on windows 10. I am trying to compile a latex document using the command C-c C-c and it does not compile and instead just reports "TeX-master-file-ask: Master ...
0
votes
0answers
38 views

How to set up synctex with AUCTeX on llpp?

Recently, I switched from Zathura to llpp as llpp is a more light-weighted PDF viewer. But I find it is not easy to configure synctex on llpp. I followed the instructions on the Arch Wiki, and created ...
3
votes
1answer
132 views

Indentation of tabular-like environments in AUCTeX 11.88

AUCTeX 11.88 introduced a new style of indentation for tabular-like environments. I understand this is implemented in LaTeX-indent-tabular. Is there an easy way to revert to the old style?
1
vote
1answer
59 views

Automatically replace input with accents by their safe code for accents

I was checking this Automatically replace open quote with accent, and it's pretty similar of what I want. I am starting in the emacs world, and it seems that everything can be automatized. When I am ...
1
vote
0answers
70 views

Better inverse Search for Auctex/SumatraPDF

First of all, followed some helpful answers, at Inverse search with Emacs/AucTeX and SumatraPDF [on Windows 10] , which sums it up nicely. However it is possible to set the inverse command for ...
4
votes
3answers
77 views

Listings: Define new language from Emacs highlighting

In my document, I need to include code written in Macaulay2, which is not a predefined language in listings. To define it myself, I started looking for a list of keywords, and found the variable ...
0
votes
0answers
24 views

synctex with emacs' old tex-mode

I am using emacs 23.3.1 under Ubuntu with gnome, with the old tex-mode for editing latex. So far, I have worked with xdvi and the xdvi-search package. But now I am using more and more graphics and ...
2
votes
1answer
30 views

exam documentclass automated \choice on emacs auctex

I am using the exam class to write some multiple choice questions on emacs. How can I achieve some sort of automatic \choice key combination in the checkboxes environment etc. Just like that I can use ...
17
votes
2answers
6k 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 ...
8
votes
1answer
302 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 ...
5
votes
3answers
17k 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} \...
2
votes
0answers
80 views

Problem with Reftex - how to get it to index bib for all files?

edit : here's a screencast of the problem for me : https://vid.me/uBHN I have cloned this project : https://github.com/vermiculus/smppaper I have then created a new file in the sections directory ...
2
votes
0answers
73 views

How can I distinguish between error in code and bug in package? [closed]

I keep getting an error upon compilation, but cannot find an error, even with a tiny reproducible example (below). I am exporting from Emacs org-mode to LaTeX and then PDF, I am receiving the well ...
1
vote
1answer
219 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 ...
3
votes
1answer
50 views

copy pdf and .synctex.gz to working directory with latexmk, works on windows, not on os x

I have a problem with latexmk on my Mac. I'm using emacs as my latex editor, and have configured it to use latexmk. I have specified an output directory, but for synctex to work I need the pdf and ....
27
votes
6answers
53k views

Mavericks upgrade screwed up my pdflatex (command not found)

so everything was working fine ... until i upgraded to os x mavericks (version 10.9.2) a couple days ago. using emacs version 24.3 (9.0) auctex version 11.87.3 after upgrade, tried to compile and ...
5
votes
2answers
396 views

how to cite using emacs+auctex+reftex

I recently switched from TeXStudio to Emacs/AUCTEX. The problem is that I don't know how to cite a paper. Here is a MWE: \documentclass{article} \usepackage[backend=biber,style=apa,apabackref=true,...
2
votes
1answer
159 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: ...
2
votes
1answer
48 views

How to modify Emacs/AUCTeX to make for useful debugging?

I am writing a book-length text using LaTeX. I sometimes find difficulty in finding/understanding the various errors when compiling. I am using Emacs/AUCTeX. Is there a way of modifying emacs to make ...
7
votes
2answers
1k 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
146 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 ...
3
votes
1answer
99 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
159 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
105 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)" ...
1
vote
0answers
31 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
102 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
78 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
160 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 c:/...
3
votes
1answer
66 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
36 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
70 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
98 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
365 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
48 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. ...
3
votes
1answer
64 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 ...