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

learn more… | top users | synonyms

2
votes
1answer
331 views

Multiple bibliography/addbibresource in reftex

It seems that reftex only scans the file associated with the first bibliography/addbibresource command: \usepackage[backend=biber,bibencoding=utf8,url=false, isbn=false, doi=false, ...
2
votes
0answers
1k views

How to uninstall TeX Live on Mac which is installed through command “sudo port install texlive +full”?

At the beginning, my purpose is to set up AUCTeX with Emacs. I just do like below Download AUCTeX, then cd to the directory, make and sudo make install. It works well when the .tex file only ...
2
votes
1answer
47 views

Set csquote macros in AUCTeX preference to work also with included files

I use to keep most of my documents in separate branch files and then /include them in the main tree document. Of course I don't need a preamble for all separate files. In my AUCTeX preferences I set ...
3
votes
1answer
345 views

RefTeX broken in Emacs 24.3.1?

I'm not sure if this is the right place to ask this question, so if not, please let me know where it would be more appropriate. Since upgrading to Ubuntu 13.10, something seems to have gone wonky ...
1
vote
1answer
774 views

Skim and Aquamacs: backward search does not work anymore

I've set up pdf syncing between Aquamacs and Skim, (setq server-use-tcp t) (server-start) (custom-set-variables '(LaTeX-command "latex -synctex=1") '(TeX-view-program-list (quote (("Skim" ...
0
votes
0answers
51 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: ...
3
votes
1answer
41 views

Is Inverse Search possible after the PDF file has been modified (e.g. annotated) (with Auctex and Okular)

I have configured Okular and Auctex so that forward and inverse search work like a charm when I have the *.tex file open and after I compiled the PDF file. I do, however, often encounter a scenario ...
2
votes
1answer
230 views

finding tex-site.el from emacs on mac os x 10.8

I am writing a question hoping to find some clue what's going on in my auctex/emacs combination. I use emacs/auctex to typeset latex document. In my macbook pro, I am using GNU emacs 22.3.1. With ...
5
votes
0answers
120 views

“Standardizing” LaTeX code? [duplicate]

Is there a program for LaTeX code akin to HTML Tidy that "standardizes" or "canonically" formats (automatically indents, spaces, etc.) LaTeX code? AucTex formats code, but it doesn't appear to create ...
1
vote
1answer
94 views

Extra characters in reftex citation yasnippet

I am having an issue with a YASnippet for inserting a RefTeX citation. As many others have, I'm trying to use this snippet from GitHub with the following syntax \cite{${1:label$(unless ...
2
votes
1answer
171 views

How to use code folding with Aquamacs?

I would like to use code folding with Aquamacs but I don't find any reference to do it. I would like to fold the figure and the paragraph. I've already tried all the combination listed here. Can ...
3
votes
1answer
144 views

Cross-ref an equation using RefTeX, AUCTeX and cleveref

After an updated of AUCTeX (to 11.87) the solution that worked wonderful from this answer stopped working. In particular, I got the following error: reftex-reference: Wrong number of arguments: ...
1
vote
1answer
71 views

Command: Emacs selection → \command{regexp'ed-selection}

Suppose I have the following text: …as shown in figure (24). Now, suppose I select "(24)." Then, I want a command to convert it to: …as shown in figure \command{eq:24}. Viz., how would I ...
5
votes
1answer
83 views

Navigating arguments with AUCTeX

Is there a key combination to move the insertion point backward and forward through arguments using AUCTeX? For example, where "|" is my insertion point: \frac{|}{} Then I would want a command to ...
0
votes
0answers
26 views

AucTex region preview produces a document with ~10× more pages than the region preview should be. Cached preamble issue?

I define the following \locallabels{} command to localize labels and references to a certain part of my document \makeatletter \AtBeginDocument{% \let\origlabel@in@display\label@in@display ...
0
votes
0answers
14 views

AUCTex problem with \citep [duplicate]

In my emacs, .tex file extension isn't enough to highlight \citep command. I found that \usepackage{natbib} needs to be in preamble to make it working. The problem is that when secondary files ...
0
votes
0answers
77 views

\citep not working if natbib is in the master file

I am building a thesis with a master file and some included files. For example, let say master.tex contains \include{chap1}. The \citep command does highlight in master.tex but not in chap1.tex. I ...
1
vote
0answers
56 views

AUCTeX/RefTeX, the `import` package and cross reference

Today I switched to the import package with the hope that it will simplify the management of the files of my text. It surely did that, but.... It broke RefTex in emacs. Now, I cannot lookup my labels ...
5
votes
1answer
221 views

Changing AUCTeX processor in the file itself

I'm using AUCTeX 11.86 in Emacs 23.3.1, under Linux (Ubuntu 12.04.1). Some of my files I compile with LaTeX, a few with XeLaTeX. I'd just like to be able to enter C-c C-c to compile, and have the file ...
1
vote
1answer
374 views

How to fix in ConTeXt problems after pages and warning 'no GlyphToUnicode entry has been inserted yet!'

Is the warning no GlyphToUnicode entry has been inserted yet! exclusive of pdftex or is it caused by patches loaded by mkii or by using 'cont-sys.rme' instead of cont-sys.tex? The funny thing is, ...
3
votes
0answers
121 views

Can't get AUCTeX to do a preview

I'm running Arch Linux, latest version of Emacs, and trying to get a preview of the document using c-c c-p c-p or any that will do a preview after c-c c-p ... and just can't get the thing to preview. ...
1
vote
1answer
99 views

Preview problems in AUCTeX when using certain document classes

I just changed document class to lipics (class files here) which is used for various conference proceedings, i.e. \documentclass[a4paper,UKenglish]{lipics} I now have problems rendering previews in ...
0
votes
0answers
112 views

Control Auctex Preview colors

In the Auctex Preview Appearance section in customize, it is possible to set "Preview Reference Face". This is the only place I can find where the colour of the small .png files created by Preview ...
8
votes
1answer
539 views

get emacs to automatically use biber instead of bibtex

I was reading the question titled Customizing emacs to use biblatex-biber instead of bibtex. In that question, user @PLK mentions that as of auctex 11.87, auctex should automatically check if you are ...
4
votes
1answer
89 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 ...
3
votes
1answer
73 views

Maintain display of arguments for certain folded environments with AUCTeX

When working with some environments (function and friends from l3doc prompted this), it is desirable to have the environment's arguments visible at all times: Some text that, in reality, shouldn't be ...
1
vote
1answer
220 views

Beamer Multifile and Figure Issues in Emacs 24.3.1 / AucTeX-11.87 in Ubuntu 12.04

I'm trying to edit multifile beamer presentation documents in AUCTeX. I use Emacs 24.3.1 / AucTeX-11.87 / TeX 3.1415926 (TeX Live 2012/Debian) in Ubuntu 12.04. The most simple code that explains my ...
3
votes
2answers
454 views

Xdvi to Emacs inverse search not working in Emacs 24.3.1 / AucTeX-11.87 in Ubuntu 12.04

I'm trying to use AUCTeX to write my LaTeX documents. However I'm having issues with performing inverse search from Xdvi to Emacs. Software Specifications I currently use Emacs 24.3.1 / AUCTeX-11.87 ...
6
votes
1answer
500 views

AUCTeX/Emacs not recognizing correct commands automatically

On my previous OS install, Debian Squeeze with FluxBox, my workflow was as follows: With *.bib file open, I enter C-c C-c. The BibTeX command was recognized as necessary and ret executed it. Then I ...
4
votes
1answer
1k views

Emacs and latexmk setup for --shell-escape

If I want --shell-escape, do I just need to add it to my .latexmkrc file as $pdf_mode = 1; $pdflatex = 'pdflatex --shell-escape -interaction=nonstopmode %O %S -file-line-error -synctex=1'; ...
4
votes
2answers
3k 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} ...
16
votes
3answers
2k views

Uninformative error message when using AUCTeX

I often have this error when using AUCTeX: "TeX-error: Error occured after last TeX file closed" However, when running for instance pdflatex on the command line, I have a proper error message. But ...
1
vote
0answers
138 views

auctex output in shell

How to redirect the AUCTeX output to the shell buffer (M-x shell) of emacs? (= use a shell buffer instead of the AUCTeX output buffer). This way one could seamlessly combine (LaTeX) shell commands and ...
3
votes
1answer
124 views

Can I specify an output file name/path in AUCTeX?

I know I can use C-u C-c C-c LaTeX to edit the command before it is run, but is there any way I can generically specify an output file name without editing the command manually?
0
votes
2answers
136 views

auctex, direct speech highlighting

How can I achieve a proper highlighting in auctex/emacs? I use the german guillemets (chevrons), but the highlighting is just revers as I would use the real (french) guillemets. He says: »Who are ...
4
votes
2answers
263 views

Disable fontlock (syntax highlighting) for \newcommand

The syntax highlighting for \newcommand in my editor (Aquamacs/AucTeX) looks like this: I don't like it because everything inside the definition has the same light blue colour. By contrast, if I ...
0
votes
1answer
136 views

Automatically replace open quote with accent

Shaloha, My Emacs/AUCTeX combination used to automatically replace a single open quote ' with an accent `, as is required by LaTeX. Many machines and .emacs files later, it doesn't do that anymore. I ...
6
votes
3answers
2k views

Emacs AUCTeX View command

I need help using the View command in AUCTeX running in Emacs. This is essential for viewing PDFs and without it I can not make TeX documents. In my .emacs file I have the following (which was created ...
0
votes
1answer
289 views

Beamer.el not loaded

from what I have learnt from my research so far, auctex should load beamer.el automatically once a *.tex file with \documentclass{beamer} is loaded. However, this is not the case here and I find the ...
7
votes
1answer
439 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{} ...
1
vote
0answers
473 views

configuring auctex in emacs [closed]

I need help with configuring auctex in emacs. I have downloaded and installed auctex but I cannot get anything to work. I am running MAC OS X 10.8.4 and am running emacs through the terminal. If I use ...
6
votes
1answer
119 views

Cross-references: managing references when there are 1000+ across 100 pages

I am using Emacs with AUCTeX in case that matters. I have many \labeled items and was wondering if there is a way to bring up a list of them? I hate having to scroll through to the document to find ...
7
votes
3answers
125 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 ? ...
2
votes
1answer
295 views

Using \eqref with RefTeX

How can I open the equation selection buffer in RefTeX automatically when entering \eqref in Emacs? I have the following line in my .emacs file (setq reftex-label-alist '((nil ?e nil "~\\eqref{%s}" ...
13
votes
1answer
236 views

Skip spelling in Emacs for the content of a user macro

In Emacs, in order to skip spelling for the arguments of a user macro, one appends an entry to the ispell-tex-skip-alists variable. For example, to skip parsing the argument of \mycommad, one adds ...
1
vote
2answers
55 views

How do I provide/trigger the special support for letters in AUCTeX?

As you probably know, the letter document class has quite a few pieces of metadata that go along with it, e.g. name, address, signature, etc. It would be really nice if all of this was put into the ...
24
votes
1answer
504 views

Folding braces in Emacs/AucTeX

I have some code looking like this: 142 \newcommand*\john[2]{ 143 blah blah blah blah 144 blah blah 145 blah blah blah 146 blah 147 } 148 149 \newcommand*\peter[3]{ 150 blah blah ...
8
votes
3answers
610 views

Forward Search in Emacs for Okular not working

On Emacs, I am trying to get forward search with Okular. Right now, I have the following command: okular --unique %o#src:%n`pwd`/./%b But, this does not take me to the right line, as I'd expect. ...
2
votes
1answer
155 views

Smart Quotes Control in AucTeX

If I have the statement \usepackage{ngerman} in my source-code AucTeX recognizes this and inserts correct german quotation marks if I press " twice. For example "`a german quote"' How can I make ...
7
votes
1answer
348 views

void-variable latex-mode-abbrev-table

I'm using auctex + Emacs(OSX) Problem: If I open an LaTeX file, it works right. But if I open an plain tex file, it complains. Debugger entered--Lisp error: (void-variable latex-mode-abbrev-table) ...