Questions tagged [auctex]

Questions about the AUCTeX package for editing (La)TeX code/documents in Emacs.

The AUCTeX website is at https://www.gnu.org/software/auctex/.

Tex.SE also an auctex tag; the one here on SO is probably more appropriate if you expect the answer to your question to involve programming in lisp, whereas the one on tex.SE might be more appropriate if you expect it to involve tricky option settings, or if you would like to be told you should be using TeX package foo rather than trying to get your editor to deal with the verbosity of bar. (No biggie either way, though.)

171 questions
0
votes
1 answer

Emacs error on 'recentf page in removing duplicates for interactive access to files (ido)

The code is below but seems to have an error because it says when started can't find the remove duplicates function. Anyone have an idea how to fix this?? There is a second code on the same page with the problem. Essentially I can get it working but…
J Spen
  • 2,614
  • 4
  • 26
  • 41
0
votes
1 answer

AUCTeX can't find MiKTeX

I've installed AUCTeX in my copy of Emacs but AUCTeX can't find MiKTeX (which I've already installed). I get the following error when I do C-c C-c RET: ERROR: AUCTeX cannot find a working TeX distribution. Make sure you have one and that TeX…
ShyPerson
  • 123
  • 1
  • 6
0
votes
1 answer

AUCtex missing from the emacs package list

I'm trying to install Auctex on a Mac using the emacs package manager. AUCtex is available through GNU ELPA. My .emacs file is as follows: (add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t) (add-to-list…
dbrane
  • 129
  • 5
0
votes
0 answers

Using C-c C-f C- in AucTeX randomly inserts font commands in old TeX style ({\sc xxx}) or modern one (\tesxtsc{xxx})

I'm using AucTeX for years now... I'm using emacs "26.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.11)" and AucTeX 12.2.0 (installed from MELPA) on XUbuntu 19.10. According to doc[1] (and years of usage...), hitting C-c C-f C- should insert…
user2115112
  • 29
  • 1
  • 4
0
votes
1 answer

How can you have a xEmacs-like-Auctex in MacVim?

I would like to have a figures right in my MacVim, similarly as in xEmacs' AucTex.
Léo Léopold Hertz 준영
  • 134,464
  • 179
  • 445
  • 697
0
votes
0 answers

auctex with sumatra pdf

I am syncing AUCTeX with Sumatra PDF on MSWindows. I used the instructions in Sync Emacs AUCTeX with Sumatra PDF (modulo the fact that I use customization instead of writing the setq in the init file, and the fact that the path to sumatra is…
0
votes
1 answer

Emacs, AUCTeX and indentation of custom commands

I'm preparing a document that contains colored tables (using colortbl) and to correct the thin white lines that appear in those tables I'm using a custom new line macro to compensate for that. However, AUCTeX does not recognize the new macro and…
Francisco
  • 103
  • 5
0
votes
1 answer

auxtex "problems after {1} page"

Recently, I'm not exactly sure when, AucTeX has started giving me trouble by reporting "Problems after {n} pages." for any document generating n pages. For example, the file \documentclass{article} \begin{document} foobar \end{document} when…
Bob Harper
  • 121
  • 3
0
votes
1 answer

BasicTex on Mac OS X: How do I install IEEEtrantools.sty?

I've searched everywhere, and it doesn't look like this particular issue is well covered. I'm new to LaTeX so please forgive my naivety. I installed BasicTex using homebrew (I didn't want to install MacTex because it's 2GB). Afterwards, I used…
treefiddy
  • 113
  • 2
  • 11
0
votes
1 answer

pdf2dsc error: invalidaccess --.locksafe--

This is a problem I encountered in preview-latex from AUCTeX. However I believe the problem should be caused by ghostscript, especially the pdf2dsc tool. The command executed in shell environment pdf2dsc input.pdf output.dsc (where the input.pdf…
anecdote
  • 155
  • 7
0
votes
0 answers

TeX-PDF-mode not working always in Emacs.

I’m using Emacs (Aquamacs) on Mac for my LaTex files. I always want to use LaTex (not Tex) and always produce a PDF file. The .emacs File contains (setq TeX-PDF-mode t) besides some other stuff. Usually everything works just fine, but some…
Pawel
  • 43
  • 3
0
votes
1 answer

Auctex cannot find a working TeX distribution on spacemacs with Osx ElCapitan

I get the following error when I try to build latex from spacemacs text editor : TeX-command: Error : Auctex cannot find a working TeX distribution. Make sure you have one and that Tex binaries are in PATH environment variable. If fyou are…
AlexB
  • 3,518
  • 4
  • 29
  • 46
0
votes
1 answer

Macos always change the command "TeX-view-program-list" into ""open %o" in emacs

In custom.el I set as follows. '(TeX-source-correlate-method (quote synctex)) '(TeX-source-correlate-mode t) '(TeX-source-correlate-start-server t) '(TeX-view-program-list (quote (("Okular" "okular --unique %o#src:%n%b")))) …
yuxuan
  • 417
  • 5
  • 16
0
votes
1 answer

Match Aquamacs' settings in emacs

How can I match Aquamacs' settings in Mac OS X emacs' AucTeX? Because of some reason I tried to install AucTeX to emacs for Mac OS X. For Aquamacs that has pre-installed AucTeX, everything is pretty cool. It runs SKIM pdf viewer for viewing the…
prosseek
  • 182,215
  • 215
  • 566
  • 871
0
votes
1 answer

Strange behaviour when compiling auctex from MELPA in Emacs (w32 version) in Cygwin

I tried to compile the auctex from Emacs MELPA. The version is: 11.88.4 When I first open a .tex file, compile AUCTEX, and change to "TeX-latex-mode", Emacs will work properly, the menu bar also change to latex state. However, when I close Emacs,…
X.Arthur
  • 61
  • 5