AUCTeX is a package for writing (La)TeX, ConTeXt, docTeX and TeXinfo in Emacs and XEmacs.

learn more… | top users | synonyms

1
vote
1answer
19 views

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

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
28 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 ...
1
vote
1answer
15 views

AUCTeX user Macros

I know that I can add my private macros to auto-completion feature of AUCTeX by running TeX-auto-generate. However the macros that AUCTeX "knows" seem to work better i.e. it automatically ask for the ...
2
votes
1answer
114 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?
4
votes
1answer
242 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 ...
2
votes
2answers
91 views

How may one set the equation counter in AUCTeX?

When inserting an equation with C-c C-e in Emacs, by default AUCTeX (probably in collaboration with RefTeX) also produces an autonumbered simple label for it of the form \label{eq:1}, and so on. ...
1
vote
1answer
47 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
2answers
44 views

Latex-fill functions in AucTeX

I've been experimenting with AucTeX, and I can't tell if this is a question that best belongs in the emacs forum, or here. If it belongs there, I will gladly move it. I've been using the ...
3
votes
1answer
216 views

AUCTeX: How to edit environment templates

With (C-c C-e) AUCTeX allows to insert arbitrary environments. In my case I want to change the default aling-environment from \begin{align} \label{eq:145} \end{align} to insert comments in order ...
1
vote
0answers
42 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 ...
2
votes
1answer
24 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 ...
16
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 ...
5
votes
3answers
15k 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
72 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 ...
87
votes
6answers
28k 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
1answer
199 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 ...
26
votes
6answers
51k 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 ...
4
votes
1answer
23 views

AUCTeX calls makeindex without file extension

I note that AUCTeX calls makeindex without file extension, e.g., makeindex tmp instead of makeindex tmp.idx. It means if there is a subdirectory with the same name as the first part of the file name ...
5
votes
2answers
207 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} ...
2
votes
1answer
154 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: ...
0
votes
0answers
83 views

Preview images not appearing in emacs auctex

I can't get preview images to appear in auctex on emacs. I'm running emacs-w32 as part of 64-bit cygwin, on a windows 7 machine. I updated all cygwin packages yesterday. My cygwin PATH=/bin, that's ...
2
votes
1answer
44 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 ...
5
votes
1answer
72 views

How to conditionally load `tikz` and draw a TikZ diagram when `preview` is not loaded

How can I conditionally load tikz and draw a TikZ diagram only when preview is not loaded, i.e., AUCTeX is not generating images for other things (e.g., mathematical formulas)? MWE: ...
7
votes
2answers
943 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?
0
votes
0answers
27 views

auctex preview with beamer--preview errors after first frame

When using AUCTex preview with the beamer packages, I get errors for any equations after the first frame. For example, the following previews fine: \documentclass{beamer} \begin{document} ...
1
vote
1answer
101 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
78 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
136 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
53 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
30 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
95 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
74 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
0answers
72 views

pdfLaTeX in AUCTeX doesn't make pdf files with some fonts

I like AUCTeX for edit TeX files. I can generate pdf files with some fonts (like New Century Schoolbook, Helvetica or Charter), but not with other (XCharter and urw-Garamond, for example). The ...
1
vote
0answers
56 views

How to tell AUCTeX to not indent an environment?

I'm using the comment package for the comment environment. This environment cannot be indented, just like the verbatim environment. How can I configure AUCTeX to not indent this environment? Thanks in ...
3
votes
1answer
62 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
32 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 ...
2
votes
1answer
65 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
261 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
0answers
64 views

AUCTeX: switch to LuaLaTex from PDFLaTeX

I just installed the Lucida Bright OpenType fonts, and it turns out they don't work with pdfLaTeX, which is what AUCTeX was configured to run with the "LaTeX" command when I first installed it. Now I ...
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
53 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 ...
1
vote
1answer
42 views

Why does emacs (or auctex?) turns — into "=?

When I edit LaTeX documents with emacs I have auctex turned on and when I type TikZ pictures I have to type -- a lot. However, emacs (or is it auctex?) turns -- into "=. If I add another - I finally ...
3
votes
1answer
286 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
159 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 ...
5
votes
3answers
888 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
109 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 ...
10
votes
4answers
232 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 ? ...
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
48 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 ...
2
votes
0answers
300 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 ...