AUCTeX is a package for writing (La)TeX, ConTeXt, docTeX and TeXinfo in Emacs and XEmacs.
1
vote
1answer
32 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 ...
1
vote
0answers
38 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)
...
4
votes
0answers
98 views
How to make `latexmk` run the appropriate amount of times
When compiling my latex documents, I use AucTeX in emacs to run latexmk but latexmk only runs once and will say you should run latexmk again and then reason whether it be references or something else. ...
3
votes
1answer
55 views
AucTeX PDF syncing in Emacs, multiple windows problem
I have enabled Tex-source-correlate-mode with syntex as the syncing method. When I have a single Emacs window open, it works fine. But if I have multiple Emacs windows open, whenever I press Ctrl-left ...
5
votes
1answer
54 views
AUCTeX: global pdf mode stop working after typesetting error occurs
Update:
I've tested the problem in detail, and the results are appended at the end of the question. I guess now the problem becomes: How to avoid stupid diagnostic of AUCTeX when curly braces ...
4
votes
1answer
105 views
font-lock defining keywords containing special characters and whole-words
I found the reference to "\\" on line 283 of font-latex.el of auctex-11.86, and I'd like to remove it as a warning (which is easy enough to delete manually). I have not figured out a way to define ...
3
votes
1answer
108 views
Emacs / AUCTeX — Customization of keyword highlight syntax
font-lock-keyword-face is used by AUCTeX for all keywords, and I have not been able to find a way to create a new keyword that is a different color.
I have defined the foreground of ...
7
votes
3answers
274 views
Click on macro name to jump to its definition?
Encouraged by a super response to my previous question on a similar topic, I shall persevere with a similar line of inquiry. I think it would be super if, in my LaTeX editor, I could click on a macro ...
25
votes
1answer
267 views
Click on package name to open corresponding style file?
I think it would be super if, in my LaTeX editor, I could click on the name of package...
\usepackage{blob}
... and the corresponding style file, blob.sty, would be opened.
Do any LaTeX editors ...
5
votes
1answer
84 views
Emacs/AucTeX: can LaTeX-math-list read a macro that requires input?
I wanted to make a macro that inserts \left \right delimiters, but I wanted to write it only once and have different bindings pass different delimiters. To wit, I wanted to add the following code:
...
1
vote
1answer
92 views
AUCTeX -output-directory + copy *.pdf to working directory
Part I:
Could someone please give me an example of how to configure AUCTeX to use the -output-directory option?
I've tried inserting -output-directory="/tmp" in a variety of ways at different ...
2
votes
1answer
83 views
Preview TikZ figure in AUCTeX?
I am using AUCTeX on Emacs. Recently I began to draw pics using TikZ, but the problem is AUCTeX doesn't generate preview of this environment. (However, it does generate preview for the general figure ...
3
votes
1answer
35 views
Compilation of main tex file from a chapter file with AucTeX
I have a main LaTeX file that has multiple chapter files included using \input command.
For compiling them in emacs/auctex, I have to open main LaTeX and ^C^C.
How can I compile the main LaTeX from ...
12
votes
2answers
85 views
How to make AUCTeX ignore syntax highlighting within environment
I have a problem with syntax highlighting in the Emacs editor using AUCTeX. The problem occurs in particular with the Verbatim environment from the fancyvrb package. Consider the following code:
...
4
votes
1answer
64 views
AUCTeX preview font size too small
I have Emacs 24 and AUCTex on a Windows 7 machine, however the preview font size is just way too small. Is there a way to make them bigger?
3
votes
1answer
233 views
Change view-command in Emacs and AUCTeX (pdf mode)
My version of Emacs and AUCTeX[1] uses
TeX-evince-sync-view
for viewing pdf.
This command is not working for some reason. Evince is launched but Emacs freezes and I have an error
Couldn't find ...
0
votes
1answer
33 views
how to reload pdf and preserve same position file (in emacs)?
I would like to view pdf files in emacs, and when I reload them from disk I want to be at, more or less, the same position in the new file as I was in the old one.
I am viewing these with the bundled ...
0
votes
0answers
48 views
Emacs and Auctex automatic compilation (and syntax highlighting) of extental TikZ files
I am using Emacs with Auctex. Is it possible to make files with .tikz extension to enter latex-mode automatically?
Also, what is the best practice for compiling .tikz files that will be included in ...
1
vote
1answer
82 views
Can't turn off fontified subscripts in Emacs 24
Under Emacs 24.3 and Auctex, the sub/superscript fontification is occurring outside math modes. This appears in either Beamer or normal LaTeX docs.
Per this question, I've included the following ...
2
votes
1answer
51 views
Narrow to Environment in AUCTeX
I'd like to be able to use some org-mode-like features inside of AUCTeX. In org-mode, you can narrow the buffer to a node or you can flatout send the node to a separate buffer for editing.
How can ...
1
vote
1answer
91 views
How to specify self-installed fonts to XeLaTeX?
I successfully installed the font (*.tfm, *.pfb and *.vf files) of my university, I'm now struggling to use them with XeLaTeX. About my specifications:
I am running TeXLive 2011 using AucTex 11.86.
...
0
votes
0answers
43 views
Follow-up question: include entire command with emacs/auctex
This is a Follow-Up question to auctex does not parse own sty file
I can use C-c C-m to use mytext from this MWE
\documentclass{article}
\newcommand{\mytext}{This is a simple text.}
\begin{document}
...
2
votes
0answers
67 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)
...
1
vote
0answers
46 views
AUCTeX + compilation minor mode does not jump to error
I have setup AUCTeX to show me the compilation output rather than
the traditional help if an error occurs with the following code:
(defadvice TeX-TeX-sentinel-check(after open-log-on-error (process ...
1
vote
0answers
226 views
Problems with AucTeX and Emacs24
I download AucTeX from ELPA and put nothing in my .emacs file. However, the commands auctex and preview-latex do not seem to be there (when I try M-x auctex or M-x preview-latex, Emacs cannot find ...
1
vote
2answers
150 views
AUCTeX preview-latex previews are ugly (too narrow)
Is there a way to fix Emacs AUCTeX's preview-latex to make the previews look less ugly? Specifically, they are squashed vertically to a height of exactly one line of text. I have screenshots to show ...
4
votes
1answer
212 views
Compile a region in auctex with import package
Consider the three following (see below) files: test.tex is in the main directory, test1.tex is in the subdirectory ./test1/ and test11.tex is in the subsubdirectory ./test1/test11/ (see the directory ...
1
vote
0answers
39 views
Multifile and dvi output from the 'master.tex'
I have a report composed of multiple files where I name the master file as 'master.tex' and set
(setq-default TeX-master "master")
in my .emacs file.
I compile the master file and try to click the ...
1
vote
2answers
49 views
C-c C-r to see the effect of a change in equation
I am recently experimenting with Auctex and preview-latex, I read the quick-start part of Auctex documentation.
I have a question on C-c C-r, I created a simple test document and therein I am ...
7
votes
1answer
83 views
AUCTeX changes name of pdf file when compiling with LuaTeX
I'm using AUCTeX with emacs 24.1 on Ubuntu 11.10. I have the TeX Command set to compile using LuaTeX and to produce pdfs. Everything works except that the name of the pdf changes from the file name ...
2
votes
1answer
85 views
No support for Asymptote in AUCTeX
I got a problem with my Emacs/AUCTeX setup. I'm using a lot of Asymptote graphics in my TeX documents, but there is a big problem to compile such documents inside of Emacs with AUCTeX. However I can ...
0
votes
0answers
52 views
Passing aux directory option to AUCTeX
I use Emacs and MikTeX. With the latter comes a PDFLaTeX option to move clutter in a temp-dir directory: -aux-directory temp-dir. I am tentatively trying to pass it to AUCTeX with:
(setq ...
4
votes
1answer
111 views
How can I tell AUCTeX to turn off math mode for the argument of shortintertext?
I would like to have AUCTeX turn off math mode for the argument of the shortintertext command from the mathtools package. I customized the variable texmathp-tex-command to add the following line to my ...
3
votes
1answer
104 views
auctex, hooking into wrapping specific environment
I do a lot of editing using Emacs and auctex, some of this involve wrapping certain parts of the manus with a certain environment. This is quite easy using transient-mark-mode and C-c C-e.
But I'd ...
3
votes
1answer
302 views
How can I get my LaTeX set up on Emacs/AUCTeX to use the -file-line-error option when calling pdfTeX
I have been puzzling over this for the past few hours and can't quite figure it out. I am using AUCTeX 11.87 and MiKTeX 2.9 on Emacs 24.2 (obtained from Vincent Goulet with AUCTeX pre-packaged):
I ...
4
votes
1answer
203 views
Customizing preview-latex command to use LaTeX when in TeX-Pdf mode
In short: Is there a way to tell preview-latex to NOT use pdflatex instead of just toggling TeX-Pdf mode every time I want to re-generate previews?
I have a somewhat odd setup. AucTeX + GNU Emacs 24 ...
2
votes
1answer
67 views
Renaming label names in AucTex to recover ordered sequence
By rearranging (copy-and-pasting) math environments the automatically RefTeX generated label numbers
\begin{align}
\label{eq:5}
...
\end{align}
texttexttext...
\begin{align}
\label{eq:3}
...
2
votes
1answer
74 views
Hide/show individual chapters/sections/… in the RefTeX TOC buffer
RefTeX/AucTeX allow to display the maximum level of toc entries displayed in the ‘toc’ buffer.
Is it also possible to hide(collapse)/show(expand) individual chapters and sections in the ‘toc’ buffer?
...
4
votes
2answers
145 views
AUCTeX: how to jump to PDF (with synctex) without recompile when inline preview has been created?
I'm using Aquamacs 2.4 on MacOS X 10.6.8 with pdflatex (TeXLive 2011).
My problem:
I can create inline previews of formulas, figures etc. in the source code with AUCTeX which is very helpful - e. ...
4
votes
2answers
148 views
Folding entire section in AUCTeX?
I'm new to AUCTeX and I wonder:
is it possible to fold entire sections or subsections of a LaTeX document for a better overview, so that they are only represented by their headline (kind of a tree ...
3
votes
1answer
121 views
AUCTeX: How can I add syntax highlighting for custom cite commands?
I'm new to Emacs and AUCTeX and I want to have consistent syntax highlighting.
Besides the "normal" \cite command, I'm also using commands like \citeauthor or \Citeauthoror self defined commands like ...
3
votes
1answer
71 views
Access from included files to environments in AUCtex
When I am writing slides, I usually use one master file and several dependent files; as a macro package I use beamer. I would like to access the environments defined by the beamer package also in the ...
6
votes
2answers
113 views
Prevent a tex file from being compiled
I'm writing my thesis, and there's a overall file overall.tex together with several section files, which are \inputed in the overall.tex.
Could I write something in the section files to prevent them ...
3
votes
1answer
101 views
AUCTeX: How to edit enviroment templates
With (C-c C-e) AUCTeX allows to insert arbitrary environments. In my case I want to change the default aling-environemnt from
\begin{align}
\label{eq:145}
\end{align}
to insert comments in order ...
6
votes
1answer
143 views
AUCTeX – new commands recognized as such
Many non-base commands, quite used today, are not recognized as such by AUCTeX. This is understandable as not everyone will use them, and not every time. I'm thinking about commands like ...
1
vote
0answers
178 views
Beamer .sty files not recognized in Auctex emacs [closed]
I'm trying to create a beamer presentation through Auctex in emacs. In the process I have to include several style packages (subfigure.sty, stmaryrd.sty) in the tex file. However the problem is that ...
3
votes
1answer
115 views
Add -shell-escape option to the latex invocation of preview-latex in auctex
I need preview-latex to use the -shell-escape option when it invokes pdflatex, which is required by the minted package for syntax highlighting, as it invokes python. How can I do that?
1
vote
1answer
131 views
Auctex previews
I am using PSTricks and trying to generate an inline preview with auctex for part of a document.
This works fine if I surround the whole thing in $ signs like
$
\begin{pspicture}
...
...
4
votes
1answer
131 views
How to use the standalone package with emacs
This is a follow-up question from A simpleton's guide to (...)TeX workflow with emacs.
The main answer stated that it is possible to use emacs together with standalone: the question is how?
The ...
1
vote
2answers
100 views
Auctex block indent
Is there a way to block indent whole paragraphs in emacs + auctex? I'm thinking in that functionality in such editors as WinEdt.
I've search in different fora, and in the available documentation, ...

