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

learn more… | top users | synonyms

12
votes
3answers
409 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 ...
26
votes
2answers
542 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
228 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
2answers
807 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 ...
5
votes
1answer
604 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 ...
15
votes
2answers
446 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: ...
7
votes
1answer
655 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?
2
votes
1answer
341 views

Need to produce “real” double quotes in LaTeX and XY-pic in Emacs

I am using Emacs as a text editor on Xubuntu. I am using the XY-pic package to make some commutative diagrams, and I need the following command (which is inside figure, center, and xy begin tags): ...
1
vote
1answer
173 views

emacs whizzytex latex options, minted, -shell-escape

I want to use whizzytex with emacs because of its superior speed compared to other wysiwyg options available. The only thing preventing me from doing so is that my latex documents use the minted ...
7
votes
2answers
3k 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
346 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 ...
3
votes
2answers
272 views

Set up SyncTeX with Emacs DocView

I have the source in one emacs buffer and the compiled pdf in another DocView buffer with auto-revert-mode enabled. Using latexmk -pvc to compile gives me live previews. Now I want to setup forward ...
2
votes
1answer
144 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 ...
10
votes
1answer
792 views

Referring to specific sections in org-mode latex

I'm currently writing a report in org-mode. I have a couple of sections which have the same names, with the section names appearing both as a subsection of the background section, and as a section in ...
0
votes
0answers
62 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} ...
21
votes
1answer
560 views

Editing LuaLaTeX files in emacs

(A follow-up question to Which is the best editor for LuaTeX?) Emacs offers the LaTeX-mode in AUCTeX for editing LaTeX files, while it has the Lua-mode for editing Lua-files. Consider the following ...
6
votes
1answer
3k 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 ...
2
votes
2answers
517 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 ...
3
votes
2answers
113 views

Compile a pspicture under Emacs

I copied the solution from this link to a file try.tex under Emacs: \documentclass{article} \usepackage{pst-tree} \begin{document} Lorem ipsum. Lorem ipsum. Lorem ipsum. Lorem ipsum. Lorem ipsum. ...
4
votes
1answer
109 views

lualatex keeps tex source open on error

I edit LaTeX source in emacs and invoke lualatex with compile-command. If the source contains an error the compilation stops and I see the reason in the *compilation* buffer. When I go to fix the ...
6
votes
1answer
498 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 ...
2
votes
1answer
193 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 ...
2
votes
1answer
68 views

How to create label based on filename with reftex?

I'm using reftex under emacs. In my document, my label policy is the following : \label{<buffer name>:<env>:<key>} for example \label{derivability:thm:Rolle} Is there a way to ...
0
votes
1answer
215 views

TeX editor for Ubuntu that generates PDFs? [duplicate]

Possible Duplicate: LaTeX Editors/IDEs I am taking a computer science course which requires completing assignments in PDF format. Many of the questions will require mathematical notation, ...
0
votes
1answer
174 views

Reftex \cite command binding [closed]

I have a computer where the char [ is made with AltGr+è so I can't use the command Ctrl+[ of RefTeX. Is there a solution to this?
1
vote
0answers
452 views

British LaTeX files with Emacs and Hunspell [closed]

I am using Hunspell with Emacs. In my init.el I set the dictionary list as follow: (setq ispell-local-dictionary-alist '( (nil "[A-Za-z]" "[^A-Za-z]" "" nil ("-d" "en_US") nil ...
0
votes
0answers
182 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 ...
0
votes
1answer
224 views

Use whizzyTeX with emacs on Windows

today I know whizzyTeX can be use with Emacs on Windows. But I don't know how to install it. Can anyone help me install whizzyTeX on Windows?. I had installed 24.2.
2
votes
1answer
176 views

Is \Copy already in use by any package?

I'm working on my copypaste package to address a confusing feature that Seamus has kindly drawn my attention to. \yank copies text and commands from a LaTeX document onto a "clipboard", and \paste ...
4
votes
1answer
222 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
155 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 ...
0
votes
3answers
248 views

How to recenter the *compilation* buffer (on C-c C-x)? No process for this document

I have a .tex/.Rnw document which is compiled with a makefile. During the compilation, I would like to use C-c C-l (as for standard .tex files) to recenter the output buffer so that I can follow it. ...
3
votes
2answers
688 views

How can I configure Emacs to use XeLaTeX without AUCTeX

The title says it all I hope, I'd like to configure Emacs to use XeLaTeX instead of pdfLaTeX, which is the default. I'm using MiKTeX on Windows (it's in my PATH), if that makes a difference. I'm ...
3
votes
2answers
233 views

How to prevente cite tags from messing up italics in Org-mode?

I'm using Emacs 24.2.1 and I don't think I have any special settings that should interfere. If I enter the following text, there is no problem: /cite{BibtexRef} Text that is not italicized. ...
6
votes
3answers
1k views

How can I get my LaTeX set up on Emacs/AUCTeX to use the -file-line-error option when calling pdfTeX [duplicate]

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 ...
6
votes
1answer
586 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
188 views

Modifying the font head and size inside \section in emacs editor

I am running Emacs 23 with AUCTeX for editing LaTeX source files. I'd like to be able to customise the font head and size of the section name. To make things absolutely clear, the font inside the ...
2
votes
1answer
119 views

Can WhizzyTeX be used with XeTeX?

I have tried to make WhizzyTeX work with XeTeX (or, specifically, XeLaTeX), but just adding LATEX=xelatex in whizzytex.conf (or changing this setting by any other means) and specifying PDF output ...
2
votes
0answers
154 views

Emacs hint that: Cannot have two processes for the same document

I have installed emacs 24.2, okular 0.14(with KDE 4.8) and Texlive 2011 in windows7. I want to use okular to view pdf file generated by latex in emacs. Hence I have configured okular in my .emacs as ...
0
votes
1answer
127 views

Why does the Tab key in Emacs jump to the middle of the line when editing a BibTeX file?

When I edit a BibTeX file with Emacs, pressing the Tab key takes me to the middle of the line, even when I am at the beginning of an entry. This is incredibly annoying. Any clue of why it is ...
3
votes
1answer
115 views

Access from included files to environments in AUCtex [duplicate]

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 ...
1
vote
0answers
296 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 ...
4
votes
1answer
267 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 ...
2
votes
2answers
265 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, ...
6
votes
1answer
2k 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 ...
1
vote
1answer
2k 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
1answer
205 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
279 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 ...
3
votes
1answer
128 views

Displaying current chapter/section in your editor

I'm dreaming about a feature of a TeX editor (read: emacs, but for the sake of generality I'd be interested in answers about other editors, too) that displays the title of the current (read: the one ...
0
votes
1answer
182 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 ...