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

learn more… | top users | synonyms

3
votes
2answers
101 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
105 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
360 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
160 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
64 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
169 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
134 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
376 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
135 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
188 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
153 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
176 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
144 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
187 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
496 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
202 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. ...
4
votes
1answer
668 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 ...
6
votes
1answer
497 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
142 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 ...
1
vote
0answers
81 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
133 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
108 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
102 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
268 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
221 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
185 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, ...
5
votes
1answer
1k 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
1k 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
152 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
195 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
96 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
152 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 ...
7
votes
1answer
517 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
0answers
335 views

How to display non-printable Unicode characters in Emacs/AucTeX? [closed]

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 ...
3
votes
0answers
47 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
180 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 ...
2
votes
0answers
163 views

Highlight keywords in math mode? [duplicate]

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?
3
votes
1answer
240 views

Highlighting of latex code in emacs

I am absolutely new to Emacs and lisp, but I am considering a possibility to start using it for LaTeX code editing. What I have learned about Emacs (and it fascinated me) is that it has almost ...
1
vote
2answers
58 views

bashrc export TEXEDIT emacs

If PDFLaTeX fails to compile with See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. I want to press e to get an instance of Emacs. The cursor should be on ...
3
votes
0answers
477 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 ...
6
votes
1answer
448 views

Change size of the inline image for Latex fragment in emacs org-mode

I recently started using org-mode in emacs for my paper writing needs. One problem I have is that when I render latex equation fragments, the resulting inline images are too small for me to read ...
12
votes
1answer
522 views

Does Emacs support editing bibliography files for biblatex?

Emacs includes bibtex-mode for editing bibliography files used by BibTeX. Is there a way to make it support the bibliography files used by biblatex?
7
votes
1answer
443 views

Can Emacs org-mode be used to createToDo's linked to a line in a LaTeX source?

For some time now I'm tracking my tasks and ToDos (privately and for work) with Emacs org-mode( http://orgmode.org/ ) and I am very happy with it. There is a large project in my life (my Ph. D. ...
8
votes
4answers
508 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 ...
5
votes
4answers
769 views

Annoying emacs autoformatting in LaTeX mode

Typing, for example, a^3 emacs would automatically change the source (!) to a³ This causes all sorts of problems with spacing, double superscripts, etc. How can I turn off any such WYSIWYG ...
8
votes
2answers
291 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, ...
5
votes
2answers
1k 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 ...
2
votes
2answers
178 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
225 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 ...
0
votes
1answer
113 views

Emacs interacting with MS Windows: how to minimize windows [closed]

Title says it: Is there a way to hide MS windows windows from within Emacs? What I would like to do is create a function to: Hide all windows including Emacs Restore Emacs Restore SumatraPDF (which ...