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

learn more… | top users | synonyms

0
votes
1answer
212 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
167 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
194 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
149 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
214 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
598 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
216 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
844 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
541 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
163 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
91 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
138 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
118 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
109 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
283 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
240 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
223 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
178 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
238 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
110 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
166 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 ...
8
votes
1answer
660 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
361 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
48 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
186 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
251 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 ...
2
votes
2answers
74 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
548 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
523 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
769 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
524 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
612 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
899 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 ...
9
votes
2answers
329 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
2k 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
204 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
245 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
116 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 ...
1
vote
1answer
238 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 ...
0
votes
1answer
216 views

How to set up texi2dvi with synctex and error handling?

I would like to set up texi2dvi (with error-handling, synctex for forward and backward syncronization, and Okular as viewer) to compile .tex documents (under Ubuntu 12.04 with Emacs 24). (In case ...
6
votes
1answer
273 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 ...
6
votes
1answer
1k views

Best practices for LaTeX code in org-mode-beamer (especially url links)

I'm using org-mode to produce beamer presentations. I'm having trouble figuring out the best way of including Latex snippets. As far as I can tell, there are two ways of signalling to org-mode to ...
3
votes
1answer
333 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 ...
8
votes
2answers
438 views

Navigate a TeX code using emacs

Are there useful navigation shortcuts in emacs when editing a TeX source? For example jump to the beginning/end of section, or similar thing for environment, etc. C-v and M-v are two coarse, and I am ...
1
vote
0answers
133 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
1answer
233 views

Default bibliography with bib-cite

I'm using Emacs 23 with bib-cite-minor-mode. However, this minor mode requires a \bibliography{} statement in the file. I have a master LaTeX file in which I have \include commands, so each section ...
4
votes
2answers
1k views

Automatically run Latex command after saving .tex file in Emacs

How can I have Emacs call the Latex command every time after I save my .tex file? Thanks A solution: while playing with ELisp and looking around, I added this to .emacs and it seems to work quite ...