AUCTeX is a package for writing (La)TeX, ConTeXt, docTeX and TeXinfo in Emacs and XEmacs.
4
votes
2answers
179 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
134 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
73 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
115 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
107 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 ...
8
votes
1answer
158 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
187 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
129 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
137 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
105 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, ...
7
votes
0answers
124 views
Pronunciation of “AUCTeX” [closed]
I'd like to give a tutorial on AUCTeX to my colleagues but it occurs to me that I've never heard the name of this package pronounced. It seems the first three letters could be pronounced individually ...
5
votes
1answer
428 views
AUCTeX, preview-latex, and Ghostscript (Emacs)
I'll keep this short and sweet; Emacs can't find gs, which has been installed via brew and works fine.
Error
PDF2DSC sentinel: Searching for program: No such file or directory, gs
MWE
...
0
votes
1answer
610 views
Problems installing AucTeX over Emacs 24 (OSX)
http://pastebin.com/fbzXTdCU
Above is a terminal log for those who would make sense of it, but basically I have done the following things in order to get the lovely promises of Emacs' screenshots:
...
1
vote
0answers
76 views
Indenting listings in Auctex [closed]
I'm using the listings package to typeset some Python code. I don't seem to be able use the tab key in Auctex mode to indent my code within listings.
I'm new to both Emacs and Auctex, but the only ...
1
vote
1answer
84 views
Display content in separate buffer in Emacs+AUCTeX
Is there a way to display something like table of content of my current latex file in separate buffer, where all sections, subsections, figures and tables are listed interactively? So I could ...
0
votes
1answer
96 views
Selecting text between parenthesis in Emacs+AUCTeX
I am looking for a way to select text inside surrounding nearest parenthesis. For example if I am working with a string
(text \textit{text2 $a^2=b$} text3)
this command selects whole string in ...
0
votes
1answer
108 views
Selecting environment with double click in Emacs+AUCTeX
I want to select whole environment by just double clicking on \begin{environment} or \end{environment}. Maybe someone already did this?
Also how can I change definition of a word that double clicking ...
6
votes
1answer
242 views
Delete comments in tex file with Emacs+Auctex
I am working with other people LaTeX files and sometimes they look very messed up. I am looking for a way to delete all comments without changing the code. The problem is that I want to preserve all ...
1
vote
2answers
245 views
Setup SyncTeX with Emacs on debian stable (squeeze)
Is it possible to setup SyncTeX with Emacs on debian stable (squeeze)?
Emacs24 is available from http://emacs.naquadah.org/ but squeeze is at its end of cycle and most other tools are outdated.
$ ...
2
votes
0answers
247 views
How to display non-printable Unicode characters in Emacs/AucTeX?
I would like to see the non-printable Unicode bidi characters PDF (202C), LRO (202D), RLO (202E) in the emacs editor (but not the pdf output). How can i do this?
EDIT: Here's a minimal working ...
1
vote
0answers
60 views
How to write an article in Hebrew using emacs?
I've gotten AucTeX up and running on my emacs 12.4/Ubuntu 12.10. Now how can i get it to work with Hebrew?
3
votes
0answers
42 views
how to launch skim from auctex on mac os? [duplicate]
Possible Duplicate:
Launching an external PDF viewer from Emacs/AUCTeX on a Mac OSX fails.
I am using emacs 24.2.1 with mac os (Mountain Lion).
I am using auctex to edit my latex document.
...
5
votes
1answer
141 views
Emacs+AUCTeX lost highlighting
Adding additional highlighted keywords in Emacs+AUCTeX messes up conventional highlighting. My code:
(defvar my-new-face (make-face 'my-new-face))
(defvar my-another-new-face (make-face ...
4
votes
1answer
110 views
Making AUCTeX aware of SageTeX
When you compile a file with AUCTeX, it will prompt you to re-run LaTeX and BibTeX as necessary. Is there a way to get it to also run sage when using SageTeX?
1
vote
0answers
147 views
Highlight keywords in math mode?
I am using Emacs+Auctex. I need additional highlighting in math mode. How can I force Emacs to highlight braces and some commands (like \quad) inside math mode with different color?
1
vote
0answers
320 views
Installing AUCTeX on Windows from package-install [closed]
I have Emacs 24 and MikTeX on Windows 7 professional and I have recently installed AUCTeX 11.86 from package-install.
The installation seems to have completed successfully, I even succeeded at ...
7
votes
1answer
852 views
auctex 11.86 in emacs 24: Don't know how to compile nil
I run emacs 24.2.50.1 and auctex 11.86 on debian stable.
When i open a tex file with
$ emacs text.tex
Emacs shows the following line 38 times in the Compile-Log buffer
...
1
vote
1answer
114 views
Preview in auctex on debian stable works in dvi mode, but fails on pdf mode
My auctex renders preview images on my debian stable system (6.0.6) if I set it to dvi mode, but it fails if I set auctex to pdf mode.
I assume there is either a mistake in my emacs configuration ...
4
votes
3answers
288 views
Auctex: how to cause math mode dollars to be closed automatically with electric-pair
I use electric-pair mode to cause brackets to be automatically closed for me, so that when I enter (, { or [, the closing bracket is automatically also entered into the buffer and the cursor is placed ...
8
votes
2answers
217 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
0answers
127 views
How align columns in a tabular environment? [closed]
I want to align the source .tex file in order to reflect final table.
Here is the result of calling align-current on my tabular's content.
\begin{tabular}{|c|c|}
\hline & {\em Execution ...
4
votes
2answers
550 views
How do you use MacVim for LaTeX?
I'm a long-time Emacs+AUCTeX user (I even once wrote a short tutorial for it!), but for a couple of different reasons (problems maintaining my Emacs configuration, the beauty of Drew Neil's voice, and ...
0
votes
0answers
86 views
void variable latex mode map (emacs) [closed]
I messed up bigtime: My Auctex is not loading anymore, neither the keybindings.
I was trying to organize files, but in the process the only thing that didn't work, which is huge, is Auctex.
I moved ...
2
votes
2answers
110 views
Sweave, how to suppress opening new instance of a pdf when running pdflatex
Since I have setup SumatraPDF to automatically refresh PDFs when they change, how can I suppress "view" (resulting in opening a new instance of the pdf) when using the shortcut
M-n P (running ...
4
votes
1answer
167 views
AUCTeX style for siunitx
Is there any AUCTeX style for siunitx? If not are there any simple tricks which make it more easy to type siunitx commands in emacs. For example if I type C-c C-m SI it inserts just \SI{} with one ...
1
vote
1answer
129 views
How to show tabular environment in a fixed-width font in AUCTeX?
I would like Emacs/AUCTeX to show the contents of tabular environments in a fixed-width font, so table boundaries line up. Is it possible to set the font face of specific environments like this?
The ...
8
votes
2answers
330 views
More fine grained syntax highlighting in Emacs/AUCTeX
I'm using Emacs with AUCTeX to do all my LaTeX. When it comes to syntax highlighting it seems that all mathematics is by default just orange. Do you know of a mode or package that adds some more fine ...
5
votes
1answer
192 views
Why is aucTeX compiling my file like pdflatex “input” foo.tex rather than just pdflatex foo.tex?
When I compile a file using Emacs AucTeX with C-c C-c (which runs TeX-command-master which runs TeX-run-TeX) the top line of the log output looks like this:
Running `LaTeX' on `mwe' with ``pdflatex ...
2
votes
1answer
204 views
AUCTeX: How to enable auto expansion of sub and superscript in custom math environment
With help from the question How to add custom math-environments I taught AUCTeX that IEEEeqnarray and its starred counterpart are math environments. I added the following to my .emacs
;; teach auctex ...
1
vote
0answers
82 views
Emacs (AUCTeX) not writing to vc.tex file when using VC bundle in LaTeX document [closed]
I'm using GNU Emacs 24.1 for Mac OS X on Lion with the latest version of AUCTeX and the VC bundle to print version information in a footer on my LaTeX documents. The problem is that when I typeset my ...
0
votes
0answers
688 views
AUCTex with TeX-evince-sync-view [closed]
I'm using AUCTeX version 2012-07-04 installed with el-get. The default View command for PDF's is TeX-evince-sync-view. When I run it, I get the error:
TeX-evince-sync-view: D-Bus error: "Did not ...
2
votes
1answer
200 views
Defining a new key combination in emacs to run Latex
I want to define a new key combination in my .emacs such that it will directly run the latex command, unlike C-c C-c Ret which gives me different options every time (like view).
I am using xdvik for ...
2
votes
1answer
2k views
How to change AUCTeX latex compile command? (using Emacs 23)
I'd like to configure AUCTeX to compile without stopping on errors. I can do it from a terminal with
pdflatex -interaction=nonstopmode filename.tex
but AUCTeX apparently does
pdflatex ...
6
votes
1answer
174 views
I want to disable auto-fill-mode when editing equations
How can I disable auto-fill-mode when editing equations?
I like auto-fill-mode in general, but I'd like to turn it off in specific situations,
e.g. between a \begin{equation} and \end{equation}
or ...
5
votes
0answers
213 views
AUCTeX detecting modified files using different output directory
I'm using AUCTeX in Emacs, and would like to store all output files (.aux, .log, .pdf etc) in a sub-directory "output" rather than directly in the current working directory.
To achieve this, I have ...
3
votes
1answer
151 views
limiting align-current in LaTeX-mode
When working on a LaTeX document in Emacs align-current aligns & and \\, but does so for entire sections at a time. Anyone have any idea as to how one limits its range (in a new macro) to say the ...
2
votes
0answers
101 views
AUCTeX, preview-latex and Xelatex [duplicate]
Possible Duplicate:
AUCTeX and Xetex
sometimes I have to edit tex files with xelatex. Those files can be successfully compiled from the console. Auctex work fine with regular tex files and ...
5
votes
1answer
111 views
Open images from AUCTeX with your favourite image editor
Suppose I edit a LaTeX-file with AUCTeX and the point is on a \includgraphics{myimage.jpg} line. Is there a possibility in AUCTeX to open myimage.jpg with my favourite image editor, say gimp by just ...
3
votes
1answer
113 views
Running AUCTeX on Windows - problem writing files
I love AUCTeX, and use it on an Ubuntu machine all the time. Right now, however, I am stuck with a Windows machine and would like some help getting around a problem. Whenever I try to compile my .tex ...