Questions tagged [auctex]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
130 views

ConTeXt fontifying in emacs auctex

I use emacs + auctex to typeset ConTeXt documents. There are some features in the LaTeX mode that do not transpose into ConTeXt mode, and I would like to make some minor changes. Problem is, I am not ...
2
votes
1answer
709 views

Installing AUCTeX on Windows 10

I am following the detailed instructions on how to install AUCTeX on Windows found here After all prerequisites are installed the instructions state to "start some shell (typically Bash) capable of ...
0
votes
1answer
58 views

Recovering tex file using tex~ file

I use Emacs AUCTEX to handle tex files. I accidentally overwrote the content of a tex file and the old content is gone. Let's say the file is file.tex. I do have the file.tex~ which was modified ...
0
votes
1answer
421 views

Using AUCTEX inside orgmode

Is it possible to use AUCTEX inside orgmode? Orgmode is fantastic but writing LaTeX code is not so easy. Is it possible to combine these two worlds?
3
votes
1answer
586 views

auctex does not parse own sty file

a own sty file is not parsed to find commands, it means they can not use with C-c C-m I use the following .emacs (load "auctex.el" nil t t) (load "preview-latex.el" nil t t) (require 'tex-site) (...
0
votes
0answers
92 views

Soft filling (wrap) in Auctex

Auctex has a nice feature that fills the paragraph (LaTeX-fill-paragraph) based on emacs' fill-column. This as you know extends to environments as well (C-c C-q C-e). This works fine for me when I ...
1
vote
3answers
177 views

Auctex: replacing quotation marks with proper TeX ones

I'm LaTeX-ifiying a document produced by exporting an MS Word document into plain text. I'm wondering if there's some automatic method for replacing all the double quotes, so that "quoted text" is ...
0
votes
0answers
89 views

SyncTeX stops working in a large document

I'm currently writing on a large document, using AucTeX, and pdf-tools as my pdf viewer. Today, SyncTeX stopped working correctly. Forward search is fine, but backward search doesn't work. Whenever I ...
3
votes
1answer
171 views

use beamer auctex'hooks with class file derived from beamer

I have written my own beamer-derived .cls file to avoid copying and pasting my usual preamble. A MWE would be \NeedsTeXFormat{LaTeX2e}[1995/12/01]% \ProvidesClass{own_beamer}[2018/06/19 my own slides ...
0
votes
1answer
83 views

Can compile with luatex in the command line but not in AUCTEX in emacs

As stated in the title, my document compiles successfully with lualatex file.tex in the command line but not when in emacs using AUCTEX, executing C-c C-c. I'm using a Mac; Tex Live; and auctex v12.1....
115
votes
7answers
45k 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, ...
3
votes
1answer
467 views

Automatically replace input with accents by their safe code for accents

I was checking this: Automatically replace open quote with accent, and it is actually similar to what I want. Since I'm starting with Emacs, and everything seems admissible to be automatized. Because ...
2
votes
1answer
59 views

I have right letters in PDF but when i trying to parse it into text i have wrong encoded text

This picture explain actually the whole problem. I compile pdf file in AUCTeX with UTF-8-dos. And this creates another problem when I'm trying to convert this PDF into DOCX i get exactly this wrong ...
1
vote
1answer
283 views

AUCTeX Custom Command broken in new version?

I like to have the auxiliary files in a separate directory, using the following customisation for emacs/AUCTeX: \documentclass{article} \begin{document} Hello world! \end{document} %%% Local ...
7
votes
1answer
294 views

Emacs AUCTeX & TL 2018 - Problems with non ASCII characters in the file name

My recent update to TeX Live 2018 has led to a curious problem. I can no longer compile files whose names have non ASCII characters with Emacs + AUCTeX. That is curious because nothing on the side of ...
1
vote
1answer
573 views

How to quit preview mode in the editor?

I'm using AucTex on emacs and when I hit C-c C-p C-e I am then unable to quite the preview mode. Is there any way to do so ?
1
vote
1answer
82 views

Using a custom .fmt with Emacs/AUCTeX

I am attempting to use a plain TeX format, say, foo.fmt (based on XeTeX), with Emacs/AUCTeX (actually Aquamacs with built-in AUCTeX). I'm unable to get AUCTeX to recognize the custom format. In ...
0
votes
1answer
839 views

Emacs/AUCTeX/LaTeXmk: Default compilation command only on first run?

When I hit C-c C-c to compile a document, my system is set up such that LaTeXmk is default typesetting option, and I just hit Enter to run it. The next time I do C-c C-c (without any changes in the ...
3
votes
1answer
453 views

Emacs, AUCTeX, RefTeX and biblatex's multicite commands

I've been giving a chance to Emacs (with AUCTeX and RefTeX), but I'm still stumbling quite a lot. I've gotten the hang (and appreciated) the RefTeX way to add a citation (as described in, e.g. how to ...
6
votes
1answer
1k views

How to increase (relevant) verbosity of compilation errors with Emacs+AucTeX?

I often debug LaTeX files and Emacs+AUCTeX does not show many informations about errors. I always have the following message in the minibuffer: LaTeX errors in `*~/my/file output*'. Use C-c ` to ...
0
votes
1answer
84 views

Adding a Line Between \begin{enumerate} and \item in AUCTeX

I am using Emacs with AUCTeX as my editor. Right now, if I use C-c C-e and create an enumerate environment, it will give me \begin{enumerate} \item \end{enmerate} What I'd like is \begin{...
2
votes
1answer
472 views

latex and auctex, how to set up latex->dvips->ps2pdf

I am using psfrag for figures quite often and generating my figures in eps format. I would like to set up my AUCTeX to use latex->dvips->ps2pdf automatically. And at the end view the pdf file ...
2
votes
1answer
439 views

How to configure the sync between latex and resulting pdf in AUCTeX?

I am running AUCTeX in Emacs 25 (latest version) on arch linux. I have searched some configuration online, but they don't work. Here is the relevant configuration: (setq TeX-view-program-selection ...
10
votes
3answers
668 views

Matching the delimiters \{ and \} in AUCTeX

I'm using AUCTeX and would like the delimiters \{ and \} to be matched. How can I (permanently) achieve matching of these delimiters? The link I provided indicates that I should edit a syntax table, ...
1
vote
3answers
160 views

Macro for inserting subsection using AucTeX?

C-c C-s produces a dialog hook which says Level: (default section). The manual says that the code for subsection is supposed to be 3. But if one types 3 RET, after completing the remaining dialogs ...
3
votes
1answer
289 views

Invoke complete compilation chain in AUCTex with C-C C-a

I'm trying to use AUCTeX's C-c C-a (TeX-command-run-all) to invoke the complete compilation chain (includind calling biber) for building the following MWE: \documentclass{article} \usepackage{...
3
votes
2answers
268 views

replacing texexec with context when compiling from auctex

When I launch the ConTeXt command from AucTEX Command menu (or with C-c C-c), AucTEX calls for texexec and compilation fails since texexec relies on ruby dependencies that are not installed under my ...
2
votes
1answer
149 views

Unexpected behaviour when typing quotes with babel

Using AUCTeX, with \documentclass[italian]{article} and babel, when I type quotes i get "< or ">: \documentclass[italian]{article} \usepackage{babel} \begin{document} "<bla"> \end{...
2
votes
1answer
421 views

How to properly set up AUCTeX to parse macros from my own *.sty files?

I am on Windows. Here is the code I have in my .emacs file to enable AUCTeX to recognize macros I have defined in my own style files: (setq TeX-parse-self t) ; Enable parse on load. (setq TeX-auto-...
0
votes
0answers
120 views

AUCTeX and XeTeX hiding PDF output

I'm running AUCTeX 11.88 and TexLive 2014 (I should upgrade), and have so far been using pdfLaTeX exclusively. My AUCTeX have been set up to output PDF files. My MWE example \documentclass[]{...
0
votes
1answer
792 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 ...
27
votes
2answers
14k 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
1answer
2k 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
1answer
336 views

AUCTeX's C-c C-c gives multiple of latexmk options

I am using Emacs 25.3 on OS X El capitan. When I do C-c C-c to compile the .tex document I get the following prompt. Every one of these options actually run latexmk but somehow it bothers me that ...
4
votes
1answer
177 views

biblatex-chicago does not run biber automatically in Emacs

I'm using AUCTeX (version 11.90.2)+RefTeX on Emacs (version 24.5.2). While I'm using the biblatex package, if I do C-c C-c, it would suggest biber as default. However, if I use the package biblatex-...
4
votes
2answers
1k views

Can not generate Preview by AUCTeX

I try to generate preview by AUCTeX (on Emacs GUI), but it displays I click on the red sign, choose View error and get /usr/bin/rungs -dOutputFile\=\(_region_.prv/tmp5971SJc/pr1-5.png\) -q -...
1
vote
0answers
99 views

automatic tilde(~) before \cite in reftex

The question is the same as in this other post, that I want C-c [ to insert ~\cite instead of just \cite. However, the solution given therein as follows (setq reftex-cite-format '((?\C-m . "~\\cite{...
1
vote
2answers
418 views

AUCTeX: Custom biber command in local variables

I would like to set a custom biber command via AuCTeX's local variables. Consider the following example: \documentclass{article} \begin{document} hello world \end{document} %%% Local ...
0
votes
1answer
135 views

Adding extra options to BibTeX (Emacs+AuCTeX)

I am trying to customize manually my init file so that, when running BibTeX, the option --min-crossrefs=1 is automatically added. Can this be done just by changing the BibTeX command without ...
1
vote
0answers
249 views

AUCTeX opens unwanted compilation buffer

I followed this other post to set up some nomenclature command and ensure command afterwards etc. Everything works perfect except when I type C-c C-c Nomenclature, a compilation buffer will pop up and ...
15
votes
2answers
2k views

How can I make AUCTeX use the spelling dictionary in the same language as babel is loaded with?

Is it possible to setup AUCTeX so that it loads the spelling dictionary in the same language as the language used by babel? For example, is it possible to load the Danish ispell dictionary when a ...
0
votes
1answer
70 views

How do I rebind AUCTeX C-c ` to display errors?

AUCTeX provides shortcut C-c ` to display compilation errors. This is particularly annoying on my keyboard. How can I tell AUCTeX that I want to use say C-c + instead?
0
votes
0answers
85 views

AUCTeX doesn't find errors with chemmacros and tables

When I run the following code, if I type C-c C-backtick after being notified of the presence of errors, AUCTeX says no more errors and it doesn't point me to the & in excess. The log file shows ...
2
votes
1answer
567 views

Arrowheads not showing up when drawing with tikz's automata library [closed]

I am trying to draw a state diagram for a DFA in LaTeX using the automata library from the tikz package but am having trouble drawing some of the edges: Whenever the edge goes diagonally between two ...
12
votes
4answers
2k views

Entering math mode in AUCTeX using \( and \)

As pointed out in this answer, using \( and \) in order to enter inline math mode in LaTeX is the recommended practice. However, this takes a bit longer if one compares it to $. Is there a way to ...
0
votes
1answer
162 views

How to cross-reference to a specific label with RefTeX

In LaTeX, the labels are defined as \label{eq:1}. When you want to reference to that equation, you could easily search all \label in the document by C-c ) and that command insert reference to that ...
7
votes
1answer
344 views

Emacs+AUCTeX: Improve ConTeXt mode indentation

I’m using Emacs with AUCTeX in ConTeXt-mode to compose my ConTeXt documents. However, indentation is a little bit inconvenient for me. Consider the following snippet: \setuphead [section] [...
1
vote
1answer
475 views

I want auto labeling with auctex+reftex

So first, i define new environment (or new theorem) like \newtheorem{cor}{Corollary} For convenience, I want C-c C-e cor RET then it display \begin{cor} \label{cor:*document name*:number} \...
1
vote
1answer
362 views

newcommand for creating shortcut?

I use newcommand in my preambles for creating shortcuts. For every sentence/complicated-technical-long-word, I create a newcommand such as: \newcommand{\e}{some very long technical term\xspace} And ...
1
vote
1answer
110 views

How to perform a two part “action” in AUCTeX?

I have been reading the pgf & tikz manual and I want too generate svg directly from my tex file. The manual says I need to run: lualatex --output-format=dvi example dvisvgm example I would like ...