Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [emacs]

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

0
votes
0answers
37 views

Why is the x getting italicized? [on hold]

The first x in A intersection B is not italicized whereas it is for the symmetric difference when exported to PDF. A \cap B = { x \vert x \in A \wedge x \in B } \\ A \triangle B = { x \vert x \in A \...
0
votes
1answer
45 views

How to set koma pseudolength in emacs org mode?

Using emacs org-mode and the koma letter script, how can I set the vertical address position? The 1manual at p.484 displays a nice 2overview of position possibilities. However, neither of these lines ...
2
votes
1answer
153 views

TeX-complete-symbol doesn't work in math mode

I can't get AUCTeX to complete user-defined commands in math mode. As an example, TeX-complete-symbol works outside of math mode in the document below, but it stops working if I prepend a dollar sign ...
2
votes
1answer
58 views

How to align the signature and its picture to the left with koma script?

Using emacs org-mode and the koma letter script, how can I align the signature part to the left? Setting raggedsignature as suggested in other posts, makes no difference #+LATEX_CLASS: default-koma-...
3
votes
1answer
73 views

Emacs+AUCTeX: improve emacs support on cls and sty file

Considering the well-polished work on the support of tex file in Emacs by AUCTeX, it is quite confusing the support on .cls and .sty files is rather weak. For example, the \if statement is never ...
1
vote
1answer
53 views

AUCTeX/RefTeX with import package in emacs, known problem from 2013 but is there a fix now?

I realized this issue with import in AUCTeX/RefTeX mode today which was also mentioned in the below thread from some years ago: AUCTeX/RefTeX, the `import` package and cross reference RefTeX ...
1
vote
1answer
29 views

AUCTeX fails to put auxilary files in a certain directory

I'm using Emacs + Auctex to edit and compile file .tex with xelatex at present. I want put those auxiliary files(created during compile) in another directory, e.g. /tmp. So I have the following code ...
2
votes
0answers
62 views

Highlighting forward search in Okular

I have a functional setup that does bidirectional search between emacs (auctex) and okular but lacks the highlighting of the position in pdf. In "conventional" editors, e.g. texstudio, when doing ...
1
vote
2answers
119 views

Convert TeX display math style ($$ MATH $$) to LaTeX (\begin{equation*} MATH \end{equation*})

I'm trying to write a script (in emacs lisp) to convert TeX display math style like, e.g., $$ x + y = z $$ into the LaTeX \begin{equation*} x + y = z \end{equation*} To get my purpose I imagined ...
1
vote
1answer
100 views

How to make AuCTeX aware of the class in the master file?

When I divide a document between a master file and other buffers, I don't get hints from AucTeX to complete environments and macros. I set the master file with: %%% TeX-master: "mymasterfile" ...
0
votes
0answers
76 views

Package pdftex.def Error: File `./xx-eps-converted-to.pdf' not found: using draft setting

I am using Aquamacs 3.4 GNU Emacs 25.3.50.1 on macOS 10.14.2. Recently I encounter an error while converting eps to pdf. The textstudio works fine but Aquamacs does not. I have included the epstopdf ...
1
vote
0answers
75 views

C-c C-c does not start a viewer

I'm on a recent install of Ubuntu 18.04, with emacs 25.2.2, and auctex installed via the package manager. When I type C-c C-c to view a recently latex'ed document, Emacs launches the command TeX-...
1
vote
0answers
154 views

Sumatra PDF Forward and Inverse search emacs

I have spent so much time trying to find a way to do both forward and inverse search on Emacs-Sumatra on a windows 10 computer. Whenever I do C-c C-c, I would like to be sent to the part of the PDF ...
1
vote
1answer
132 views

Biblatex custom entries with Emacs' BibTeX mode

Since version 24.1, Emacs' BibTeX mode supports biblatex entries. This works very nice indeed. However, I make heavy use of biblatex's extensiblility, with custom entrytypes and corresponding ...
3
votes
1answer
133 views

Get Emacs' electric quote mode to work with AUCTeX and BibTeX mode

I've grown fond of electric-quote-mode in Emacs as a convenient way to get curved quotes in my documents. However, I can't seem to get it to work with either AUCTeX or BibTeX mode. I'm aware AUCTeX ...
3
votes
1answer
152 views

Auctex: Prompt for required arguments when Auctex inserts a theorem environment?

So I have defined a theorem environment/style in a separate structure.tex file, and I want to add this theorem environment to the set of Auctex environments when using C-c C-e. However, I also want ...
0
votes
1answer
175 views

How to have AucTeX auto-complete `\left[ \right]`, `\left( \right)` in custom math environment?

Note: This is probably a duplicate, but I can't figure out the right search terms. If you can post the link to the original question and close this one, it would be greatly appreciated. I followed ...
0
votes
1answer
165 views

Cannot load preview-latex despite AUCTEX already installed

I have installed AUCTEX from inside emacs (i.e. M-x list-packages) and according to preview-latex manual, the installation of it is already included when installing AUCTEX. But when I tried to load ...
0
votes
0answers
102 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 ...
1
vote
1answer
479 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 ...
1
vote
1answer
98 views

Default Color for User Defined Macros in Emacs

When writing tex documents, I often create and include a file that contains a number of user defined macros, e.g., \newcommand{\pstar}{\ensuremath{\mathcal{P}^\star}}. I'd like to set up emacs syntax ...
0
votes
1answer
54 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
164 views

RefTeX: How to modify the “select a reference format” menu?

I use Emacs + RefTeX + AUCTeX to write .tex files. I use the handy keyboard macro C-c ) for cross-references. This shows a menu named SELECT A REFERENCE FORMAT and I can choose between a number of ...
1
vote
1answer
133 views

Splitting the same text in two windows with Texstudio

How is it possible to split the same text in two windows with TeXstudio, like it is done here : https://tex.stackexchange.com/a/364455/89734. I like very much TeXstudio since a friend introduced me ...
1
vote
3answers
144 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 ...
3
votes
1answer
153 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 ...
1
vote
1answer
260 views

Synctex bug? Emacs/LuaLaTeX with Evince/Zathura on Ubuntu 18.04

I am having a problem similar to that one and already posted there, with emacs, LuaLaTeX, and two PDF viewers (evince, zathura) on Ubuntu 18.04. Problem: The forward/backward search has gotten really ...
1
vote
1answer
86 views

Getting predictive mode to suggest all possible environments

I'm trying auctex+predictive mode as my new latex editor. One feature that tempted me to add predictive mode to the equation, was the feature advertised in the image below: source This is ...
2
votes
1answer
57 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
223 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
280 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 ...
2
votes
1answer
119 views

Asymptote message on GNU Emacs using TeX Live 2018

I use GNU Emacs 25.3.1 (on Windows 10) for my work with LaTeX and friends, which include working with Asymptote files, using the mode asy-mode. Using TeX Live 2017, I compile asymptote files without ...
0
votes
0answers
71 views

Speed-up latex preview in Emacs Org mode

Emacs Org-mode sometimes takes a long time to render the preview of Latex equations, specially in large subtrees. Is it possible to speed up this feature somehow? There are faster technologies ...
1
vote
1answer
74 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 ...
3
votes
1answer
360 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 ...
0
votes
1answer
609 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 ...
0
votes
0answers
53 views

Awk code in minted broke the whole document [duplicate]

My whole document broken after putting awk code inside minted I try to use python code instead, and it works fine. I also tried to remove that awk code and it also works. The first block of minted ...
1
vote
1answer
227 views

Changing ispell to Spanish (Castellano) in Xubuntu [closed]

I'm using Xubuntu 16.04. I can't use a Spanish spell checker in AucTeX. When I try changing it, I get the error shown below. Steps to Reproduce: Open emacs Tools -> Spell checking -> Select Spanish ...
2
votes
1answer
135 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
336 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
106 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[]{...
2
votes
1answer
301 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 ...
0
votes
1answer
164 views

How to set margin & font size while converting tex to pdf?

I'm trying to make a PDF book out of a Github tutorial at https://github.com/redguardtoo/mastering-emacs-in-one-year-guide/blob/master/guide-en.org (to read it comfortably on my iPad) To do that, I ...
1
vote
1answer
264 views

Equivalent of \today in org mode

Is there any equivalent of \today in org mode which auto updates whenever the document is exported and can be inserted anywhere in text?
1
vote
0answers
92 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{...
0
votes
1answer
126 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 ...
4
votes
2answers
862 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
218 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 ...
0
votes
0answers
74 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 ...
0
votes
1answer
137 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 ...