Questions tagged [auctex]

AUCTeX is a package for writing (La)TeX, ConTeXt, docTeX and TeXinfo in Emacs and XEmacs.

Filter by
Sorted by
Tagged with
0
votes
1answer
221 views

How to cross-reference to a specific label with RefTeX

In LaTeX, the labels are defined as \label{eq:1}. When you want to reference to that equation, you could easily search all \label in the document by C-c ) and that command insert reference to that ...
1
vote
1answer
883 views

newcommand for creating shortcut?

I use newcommand in my preambles for creating shortcuts. For every sentence/complicated-technical-long-word, I create a newcommand such as: \newcommand{\e}{some very long technical term\xspace} And ...
1
vote
1answer
726 views

I want auto labeling with auctex+reftex

So first, i define new environment (or new theorem) like \newtheorem{cor}{Corollary} For convenience, I want C-c C-e cor RET then it display \begin{cor} \label{cor:*document name*:number} \...
1
vote
1answer
138 views

How to perform a two part “action” in AUCTeX?

I have been reading the pgf & tikz manual and I want too generate svg directly from my tex file. The manual says I need to run: lualatex --output-format=dvi example dvisvgm example I would like ...
3
votes
1answer
270 views

expl3 syntax highlight in emacs

AucTeX is not highlighting properly the expl3 code; not in the .dtx file, not in the derived .sty file. The macros are not highlighted after the first occurrence of _. Should I some how manually load ...
2
votes
2answers
384 views

replacing texexec with context when compiling from auctex

When I launch the ConTeXt command from AucTEX Command menu (or with C-c C-c), AucTEX calls for texexec and compilation fails since texexec relies on ruby dependencies that are not installed under my ...
1
vote
1answer
120 views

emacs does not detect \begin{comment} environment

In the comment and verbatim packages, there is an environment called comment, such that \begin{comment} things \end{comment} comments out things. On macos, neither emacs nor aquamacs seem to ...
3
votes
3answers
342 views

Is there a shortcut in AUCTEX/emacs that generates these escape parentheses shorthand for the math environment:

Is there a shortcut in AUCTEX/emacs that generates these escape parenthesis: shorthand for "inline math environment" \( <cursor here> \) That puts the cursor in the middle of this &...
0
votes
1answer
238 views

How to use AUCTeX to create a PNG file of a TikZ picture using the 'standalone' package (macOS)?

I would like to use AUCTeX to create a PNG image of a TikZ picture using the standalone package. I use macOS Sierra. According to the standalone documentation v1.2-2015/07/15 (section 4.6 Conversion ...
1
vote
0answers
426 views

How to verify that AUCTeX works with latest (2017) TeXLive (actually, MacTeX)?

Last year I installed MacTeX 2016. Today I've installed MacTeX 2017. I did not delete the 2016 version, nor did I take any explicit steps to switch to the 2017 version except running the MacTeX 2017 ...
5
votes
1answer
254 views

AucTeX mistakes Tikz warning as error

AucTeX 11.90 (Emacs 25.2) gives the following error instead of a warning when using Tikz Externalize: ! Package tikz Warning: The key 'up to date check=md5' is impossible, there is no macro to ...
1
vote
1answer
750 views

How to quit preview mode in the editor?

I'm using AucTex on emacs and when I hit C-c C-p C-e I am then unable to quite the preview mode. Is there any way to do so ?
0
votes
1answer
2k views

How is \documentclass an “Undefined control sequence”?

I'm using AUCTeX 11.90 on emacs (recently upgraded from elpa packages) running on Windows 7. I've created a tex file and for some reason only this one particular file gives error msgs when I compile ...
3
votes
1answer
435 views

Invoke complete compilation chain in AUCTex with C-C C-a

I'm trying to use AUCTeX's C-c C-a (TeX-command-run-all) to invoke the complete compilation chain (includind calling biber) for building the following MWE: \documentclass{article} \usepackage{...
1
vote
1answer
115 views

xindy with AUCTeX

Is there a way to seamlessly integrate xindy with AUCTeX so that if I execute C-c C-c repeatedly (or alternatively if I execute C-c C-a once) the AUCTex engine will know the sequence of commands ...
7
votes
1answer
2k views

What does 'Tex-master' mean?

I use AUCTeX. AUCTeX has inserted a comment at the end of my test4.tex file that reads: %%% TeX-master: "test3" What does it mean? When I try to compile and pdf-print test4.tex, the document that ...
2
votes
0answers
317 views

BibTeX bibliography doesn't display when compiling using AUCTeX [closed]

I created a simple BibTeX file as well as a simple LaTeX file that references said BibTeX file. When I compile document in AUCTeX using C-c C-a, the bibliography section doesn't appear and the ...
16
votes
1answer
2k views

AUCTeX says “LaTeX: problems after {1} page”

After upgrading from Windows 8 to Windows 10, I installed the latest version of MiKTeX (2.9.6300, 64 bit). When I use AUCTeX to typeset a document, the PDF file appears to be produced correctly, but I ...
3
votes
0answers
499 views

AucTeX/emacs unable to find a package [closed]

In my current LaTeX document I am using the "classico" package, which sets the classico font for a document (this means I can use plain LaTeX instead of xeTeX). I can compile the document with ...
0
votes
0answers
343 views

Emacs AUCTex pdf view show current page

I am new to Emacs AUCTex. I've been using Texstudio and Texshop before. I find two functions in Texstudio and Texshop very useful but I do not know how to do it in Emacs AUCTex. In Texstudio and ...
3
votes
1answer
326 views

AUCTeX: How to toggle between \( \) and \[ \]

I have TeX-electric-math[1] set to replace $ with \( and \) for inline equations. In the documentation[2] it claims that repeatedly pressing $ while in the active math region, you can toggle between ...
3
votes
1answer
401 views

How to set syntax highlighting for \citep as same as \cite in AUCTeX?

It would be better to have uniform syntax highlighting for both \citep and \cite as it appears quite a lot in my manuscript. I tried to implement what was suggested in here like so (setq font-latex-...
1
vote
2answers
761 views

AUCTeX+RefTeX compile bibliography without explicitly providing bib file path

I'm using AUCTeX along with RefTeX in Emacs 25.1.1. My question is how to make AUCTeX to compile Bibliography without having to explicitly provide \bibliographystyle and \bibliography in every file. ...
0
votes
0answers
136 views

Where is AUCTeX's 'circ.tex' file located?

According to this page a sample document `circ.tex' is included in the distribution (meaning the AUCTeX distribution.) Where is this file located? My operating system's 'search' facility doesn't ...
1
vote
0answers
309 views

Editing the list of environment autocompletion in AUCTeX

In Emacs the command C-c C-e prompts for an environment to insert. After pressing TAB I'd like to type just two letters eq and get equation or equation*, which I use most of the times. Unfortunately, ...
1
vote
1answer
274 views

Rebinding key in AUCTeX which takes other argument

In AucTeX there are two useful commands: C-c C-e for inserting the environment and C-u C-c C-e for changing the environment at the point to another one. For me the latter command is quite inconvenient,...
4
votes
1answer
1k views

Emacs + auctex freezes when compiling with lualatex

Trying to compile the following using C-c C-c in emacs + auctex freezes emacs: \documentclass{article} \begin{document} asdf \end{document} %%% Local Variables: %%% TeX-engine: lualatex %%% TeX-...
0
votes
0answers
135 views

Cannot load RefTex

I try to automatically load RefTeX for all my LaTeX files. However, when I launch Emacs I get the following error: Error loading autoloads: (void-function defstruct) What this error mean and how ...
4
votes
0answers
477 views

error: PDF2DSC sentinel: Wrong type argument: arrayp, nil [closed]

I am trying to get AUCTeX on Emacs to preview formulas but it doesn't seem to work and when I click preview, it produces the following error: PDF2DSC sentinel: Wrong type argument: arrayp, nil I ...
1
vote
1answer
250 views

tufte handout document class not recognized when compiled in Emacs

I don't understand why tufte handout is not recognized when I compile it in Emacs. The standard tex engine there is xetex. I understand that this might be the key problem but I was unable to figure ...
1
vote
0answers
92 views

I have an auctex file in emacs. How do I now turn it into a PDF? [closed]

I have an Auctex file open in Emacs. How do I now turn it into a PDF? Thank-you P.S.: I know this is a vague question, I simply want to produce a PDF of the "Hello World!" type example I have...
7
votes
1answer
448 views

Emacs+AUCTeX: Improve ConTeXt mode indentation

I’m using Emacs with AUCTeX in ConTeXt-mode to compose my ConTeXt documents. However, indentation is a little bit inconvenient for me. Consider the following snippet: \setuphead [section] [...
1
vote
1answer
455 views

Auctex sub/superscript formatting of single macros with arguments

E.g. in emacs 25.1 with Auctex 11.90.0 $a_\mathrm{b}$ only lowers the \mathrm and the {b} is left unmoved. Obviously I can add braces e.g. $a_{\mathrm{b}}, but I'm editing existing documents and don'...
1
vote
1answer
921 views

AUCTex changing path on MacOS Sierra for a newcomer

I have been using Texstudio as my tex editor for a couple of years. And I am recently curious about AUCTex on Emacs. I am learning Emacs from literally zero. And I am mostly a writer, not a programmer,...
4
votes
2answers
1k views

For a absolute beginner, how to start to learn Emacs and AucTeX?

I am a student in pure math. And I would like to learn LaTeX in the next 3 months. After searching in Quora and some other websites. I find a lot of experts saying that although it is hard to get ...
4
votes
1answer
339 views

automatic formatting of reference label

I am using emacs and AUCTeX and would like to change one particular behaviour: When I insert a reference using C-c ), if the target reference is an equation, the reference is automatically included in ...
2
votes
1answer
200 views

highlight \nllabel the same way as \label in Emacs+AUCTeX

I am using Emacs with AUCTeX to edit LaTeX code which uses algorithm2e. How do I make Emacs highlight \nllabel{stuff} the same way it highlights \label{stuff}?
2
votes
0answers
85 views

Restrict available command options in AuCTeX [closed]

I'm using AuCTeX (v.11.89.6 with Emacs 25.1). I have no problems with it, just a small nuisance. Whenever I use TeX-insert-macro (C-c C-m) I get many options I never use. For instance, when I wish to ...
0
votes
1answer
144 views

How to use outline-minor-mode to hide some exam class exercises in AUCTeX

I use the exam document class in AUCTeX to write exams for my students. I want to use the features provided by the outline-minor-mode to hide all the exercises I have finished and only show the one I ...
1
vote
0answers
472 views

AucTeX fails to generate previews on Mac OS X

When I try to generate the previews for the document on my Mac I get the following error on the preview: /usr/texbin/rungs -dOutputFile\=\(review.prv/tmp7722b0S/pr1-27.png\) -q -dDELAYSAFER -dNOPAUSE ...
2
votes
1answer
270 views

Electric behaviour for existing parentheses

I have enabled (LaTeX-electric-left-right-brace) in AUCTeX. Thus, when I type \bigl(, the corresponding closing \bigr) is automatically inserted. Suppose that I already have written (foo) and ...
1
vote
1answer
268 views

Reftex cross-reference files in different directories

My latex files are stored in a directory structure as this - main.tex - .dir-locals.el -- sections/ --- sec1.tex, sec2.tex, ... -- tables/ --- table1.tex, table2.tex, ... In main.tex, sec1.tex is "...
1
vote
2answers
575 views

EPS to PDF error using AucTeX

After updating TeX Live Utility (version 1.26) and some of the Emacs packages, my EPS to PDF conversion does not work any more when I do the following: \documentclass{beamer} \usepackage{pgfpages} \...
0
votes
1answer
130 views

AUCTeX problem when splitting documents

I have a problem using AUCTeX style files when a document is broken into a main file and a preamble. For instance, say my preamble is contained in the following file preamble.tex: % --------- ...
2
votes
1answer
197 views

AUCTex's line number information does not work

My setup: AUCTex 11.89.4, MikTeX 2.9 64bit, Emacs 24 on Windows 10. It has no serious customization other than setting the viewer to SumatraPDF and some colors and fonts. The problem: I compile a ...
2
votes
1answer
864 views

AucTeX: Symbol's function definition is void: signum

recently I have updated auctex-11.89.5. Then, I got Symbol's function definition is void: signum when I have some compile errors and go to the error by hitting C-c `. I don't know about lisp code and ...
3
votes
1answer
414 views

Redefining keymaps of math symbol in AUCTEX

I am a newbie here. I want to redefine keymaps of math symbol in auctex I wanted 'I to be \int and '8 to be \infty, so I changed LaTeX-math-default in auctex-11.89.4/latex.el as follows (?I "infty" "...
5
votes
1answer
620 views

Efficiently highlight known math macros in AucTeX

I am using AucTeX to write LaTeX and I have fontification enabled. The highlighting of marcos works but while macros like \begin are highlighted using font-lock-keyword-face all math macros (\sum, \...
2
votes
1answer
312 views

How to obtain the LaTeX compilation report by using AUCTeX in Emacs

Can I use Spacemacs with LaTeX layer to compile a LaTeX file and obtain the report as follows: Latex Compilation Report(Page: 14) Error: 0 Warning 8, Bod Boxes: 23 I normally use WinEdit to compile ...
4
votes
1answer
237 views

how to deactivate eqnarray environment in AUCTeX

It is mentioned in several places that the environment eqnarray should be avoided, e.g., this Avoid eqnarray! article. That said, when I am using AUCTeX in emacs, if I type C-c C-e eq TAB, I would ...

1 2
3
4 5
12