Questions tagged [emacs]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
40 views

Org mode - text problem in SVG images

I have a problem when exporting latex tikz code as svg image in org mode. #+LATEX_HEADER: \usepackage{svg} #+LATEX_HEADER: \usepackage{tikz} #+HEADER: :exports results #+HEADER: :imagemagick yes #+...
0
votes
1answer
35 views

AUCTeX: TeX-PDF-from-DVI is always "Dvips" and file is compiled to DVI instead of PDF

I have a weird behavior of the TeX-PDF-from-DVI variable from AUCTeX: it keeps being set to "Dvips", and Emacs keeps calling latex instead of pdflatex. I start with a minimal file test.tex. \...
0
votes
0answers
71 views

Headers in Front Matter of Book

The 'List of tables' header persists across the remaining sections of the front matter (Preface, Acknowledgments, Credits, Note), only disappearing when the main matter starts. Is this an issue with ...
1
vote
0answers
37 views

Syntax Highlighting of Common Lisp User Defined Macros in Emacs [closed]

I would like to start writing a few simple Domain Specific Languages in Common Lisp and would like the names of macros I define to be highlighted as if they were Common Lisp functions or macros (in ...
0
votes
1answer
65 views

Anyone familiar with using Latex within Emacs (Org-mode) - Why indent para works, but not abnormal parskip (memoir class)

Firstly I will come clean and admit that the only real interaction I have with Latex is from within the Org-mode environment of Emacs. I am trying to learn latex, however I am finding this confusing ...
0
votes
0answers
121 views

Latex editor solving math problems by cas

Which Latex editor is capable to solve math problems really? Neither emacs nor Lyx do that though the relevant manuals say so. The menu in Lyx offers to evaluate math expressions by maxima (Octave ...
0
votes
0answers
57 views

show all equation labels when typing \eqref

I use AUCTeX + RefTeX a lot and really like the convenience. Is there a way of automatically showing all equation labels with I type \eqref{ followed by a TAB in the Emacs window? I know that C-) e ...
1
vote
2answers
73 views

How can I add some line numbers of emacs into pdf created by latex

Is it possible to print Line Number in emacs to the Latex pdf for lines that I prefer? If it is easy, I want to use those numbers with M-g M-g (goto-line command) I asked the same question here, I am ...
0
votes
0answers
100 views

How to set Zathura as your pdf viewer with AUCTeX [duplicate]

I have been trying to set Zathura has my pdf viewer with AUCTeX in Doom Emacs. I added (setq TeX-view-program-list '(("zathura" "zathura --page=%(outpage) %o"))) to my ~/.doom.d/...
0
votes
0answers
78 views

How to design latex by eye and mouse only?

How can I drag and drop a latex document using my eye and mouse only? In other words, I don't know yet what document design I'm looking for. I'm an avid emacs and keyboard first user, however the ...
1
vote
0answers
84 views

What Synctex dependencies are missing under WSL?

The setup on my Windows work computer is an Ubuntu instance of Windows Subsystem for Linux (WSL) with an X server and the i3 window manager. I use emacs to edit latex and evince as a viewer. I have ...
0
votes
1answer
477 views

Previewing LaTeX fragments in org-mode not working

I've been trying to find a fix for this for a few days now and it's driving me crazy, so any help would be amazing. I'm trying to set my emacs up for making maths notes using org-mode. However, I've ...
0
votes
1answer
65 views

Forward search from Emacs (AUCTeX) to Okular with \include not working

OS: Debian bullseye (testing) Emacs: 26.3 Okular: 1.11.1 AUCTeX: 12.2.4 .emacs (Emacs settings): (custom-set-variables ...
2
votes
1answer
307 views

emacs auctex tabular vertical alignment of & cells

is there an emacs auctex macro or extension that auto-aligns vertically cells in a tabular? I am thinking of one where I put my cursor anywhere into this table \begin{tabular}{lll} x & 123456789 &...
1
vote
0answers
61 views

Default preamble for AUCTeX latex-preview (like in LaTeXTools in Sublime Text)

I have a question: I've started using Emacs+AUCTeX for writing LaTeX documents. And I want to know whether there is any possibility for latex-preview to use some predefined preamble like LaTeXTools ...
2
votes
2answers
83 views

Inverse search on AUCTeX opens file in new Emacs window instead of main Emacs window - how to avoid that?

I am using Emacs+auctex+evince on Debian. Suppose I have a latex document main.tex which includessections/sec1.tex. When compiling with C-c C-a from within main.tex and using backwards search in ...
1
vote
0answers
56 views

how to go from emacs to xdvi

I can go from xdvi to emacs using Ctrl+click but I do not know how to go from emacs to xdvi. I tried to Ctrl+click on the emacs window but it did not work.
1
vote
2answers
112 views

XeLaTeX href fails if accents in the link

This piece of code should create a document with a link to https://fr.wikipedia.org/wiki/Alignement_en_mémoire Instead of that the link goes to https://fr.wikipedia.org/wiki/Alignement_en_mémoire ...
1
vote
0answers
26 views

Audible alarm when On Latex compilation error

Hei. — I'm trying to make Emacs give an audible signal in case of a LaTeX compilation error. Normally, Emacs is in "silent" mode, and wants that to continue after an audible LaTeX-alarm. Thanks ...
0
votes
0answers
57 views

What is the \begin{LaTeX} environment for?

I'm very sorry if this is something obvious, but I haven't been able to find anything on this. I'm generating LaTeX files using Org-mode in Emacs. The generated source file has \begin{LaTeX} ... \...
1
vote
1answer
91 views

Emacs RefTeX: how to customize C-c [ or M-x reftex-citation

I use Emacs with RefTeX all the times. When I run C-c [ that is the function M-x reftex-citation, the following selection buffer open then I select one of the option, and the Minibuffer prompt to a ...
3
votes
0answers
303 views

Emacs-AucTex - Preview-PDF2DSC exited abnormally with code 127 - I can't see preview-latex

Context: I am a Newbee on Emacs and AucTex. I just get started several days ago and installed some packages as some tutorials go along. I installed some packages: company, swiper, auctec, auto-...
2
votes
1answer
274 views

Emacs: Workflow to move BibTeX entries from global bibliography to local bibliography

I was not sure if this question would better fit here on in https://emacs.stackexchange.com/ but I was thinking that more people may be able to answer here. So basically, until now, I was managing by ...
0
votes
2answers
60 views

Extend synctex with emacs to support multiple open pdfs?

Using this answer I've been able to get emacs, syntex, and evince to work together almost perfectly to support forward search (tex file -> pdf) and reverse search (pdf -> tex file). The one thing ...
3
votes
2answers
584 views

AUCTeX not compiling: Returning "Master file already set"

I'm writing a thesis with AUCTeX. I have one main document (master.tex) and several chapter files (chapter1.tex, chapter2.tex, etc.) that are included in the master file using the \include command. ...
3
votes
0answers
106 views

Multiple Emacs/Auctex + Okular instances

Working in Ubuntu with Emacs/Auctex, I switched to Okular because it has a night-mode with less contrast than simply inverting colors. I added the following lines in my .emacs file following this ...
0
votes
0answers
92 views

How do I install metapost.sty on Ubuntu?

I have \usepackage{metapost} in my LaTeX file. When I compile the file via Emacs I get this error: ERROR: LaTeX Error: File `metapost.sty' not found. On the terminal I then do sudo tlmgr install ...
5
votes
1answer
148 views

Custom font specifiers in AUCTeX

I would like to add a new font specifier, so that I can for example use C-c C-f C-a to insert \textcolour{blue}{*} Is this possible?
0
votes
0answers
89 views

reftex-toc freezes emacs

Precisely as stated. I have tried both C-c = and C-u C-c = but in each case, it says that *toc* has been successfully built, and then all of emacs freezes before anything else is displayed. Has ...
0
votes
1answer
934 views

On Win 10, I've installed emacs (with AucTeX) and Miktex. How do I get emacs to invoke MikTex?

I've installed emacs and installed the AucTeX package using emacs (which seems to be the consensus advice). I've installed MikTeX. How do I get C-c C-c latex to invoke MikTex and let me view the ...
3
votes
0answers
382 views

RefTeX won't find bibliography file

I am using the latest Aquamacs on MacOS (and I am wondering why all these emacs-related questions are posted in tex.stackexchange.com and not in emacs.stackexchange.com). I hope, I have configured my ...
2
votes
2answers
604 views

How to set up Emacs/AUCTeX/RefTeX to use BibLaTeX by default

In previous years I used to rely on good old (tm) BibTeX for my bibliography files. But nowadays, one should use BibLaTeX with biber as replacement for BibTeX. Hence, I would love to convince my ...
1
vote
1answer
297 views

AUCTeX fails to generate previews

I am trying to generate previews using AUCTeX on Emacs GUI in my tex buffer but I get a "stop" sign error everywhere. See example below: When I click on the stop sign and select "View Error" I get ...
3
votes
0answers
59 views

Have two different master files compiled with AucTeX

I use a template for exercises where I have a ex environnement, and then a sol environnement. Theses files are included in one master file called for instance AF1920_serie4.tex, and in another file ...
2
votes
0answers
74 views

Appropriate way to skip spell-checking certain macros in AUCTeX

I want to skip checking inside the macro \acrshort (also \acrlong and \acrfull) from the glossaries package. I tried the following from the post, where I had some successes in the \cite... macros (...
1
vote
1answer
342 views

Adding new label/reference command pairs to RefTeX

I would like to add the label commands \pflabel and \pflonglabel, as well as their corresponding reference command \pfref to RefTeX. I would like them to work like \label/\ref do by default, but be ...
2
votes
1answer
131 views

AUCTeX toggle math modes

I use $ ... $ for inline math and \[ ... \] for display math. I'd like to be able to toggle between the two by selecting the text and calling TeX-insert-dollar. However, as I understand it, this ...
1
vote
0answers
179 views

\DeclareLabelname with Biblatex in Emacs Org-mode [closed]

I have a custom biblatex entry type called "film". This has several custom fields, notably the "director" field. While I am able to get this to work as a straight LaTeX document, I am unable to get ...
4
votes
2answers
455 views

How to let AUCTeX launch automatically pythontex.py script

I need to use the pythontex package that I find very useful if someone has to do some calculation before inserting the results in LaTeX. So Here is an example: \documentclass{article} \usepackage{...
1
vote
0answers
337 views

How to spellcheck multi-language LaTeX files?

Continuing http://tex.stackexchange.com/questions/325453/flyspell-babel-warning-no-dictionary-installed-for-foreignlanguage and How can I make AUCTeX spell check in the language specified by babel and ...
3
votes
1answer
458 views

`\documentclass{scrartcl}` not working in org-mode and emacs

I am trying to use org-mode for generating my documents in pdf format using MiKTeX in Windows environment. When use the class \documentclass{scrartcl} in TexMaker, it is working properly. But in org-...
0
votes
0answers
57 views

Unable to show the subtitle in pdflatex

I have a code block as follows: #+LATEX_CLASS: article #+TITLE: Lecture 1: Introduction #+SUBTITLE: Course Name #+AUTHOR: My Name #+EMAIL: myname@nowhere.com #+LaTeX_HEADER: \usepackage{charter} #+...
2
votes
1answer
656 views

Math symbols insertion in AUCTeX

I've been facing some trouble with math symbol insertion in AUCTeX and I'm probably missing something from the available structure and options. But as I'm struggling for a while, I might as well ask. ...
3
votes
1answer
185 views

AUCTeX does not recognize cleveref labels

I use the cleveref package, which allows annotating \label commands with an optional argument. Unfortunately, this prevents the various functions in latex.el from detecting those labels. My guess is ...
1
vote
0answers
312 views

Emacs LaTeX compiling : error occurs then no more error [closed]

When I compile my file with Emacs with C-c C-c, I got this message: LaTeX errors in ‘*~/path/to/myfile output*’. Use C-c ` to display. Then, when I check the error with C-c `, I get this : No more ...
1
vote
0answers
125 views

Emacs AUCTeX keeping focus to the source buffer after runinng TeX-command-run-all

I am using Emacs AUCTeX with pdf-tools. When I compile my tex file with C-c C-a, i.e., run TeX-command-run-all command. When it is finished, my cursor moves to the generated pdf file. I would like my ...
2
votes
0answers
65 views

AUCTeX inverse search with region or buffer compilation

I have inverse search working great with single-file documents with Zathura. Unfortunately, things break down when I try to do inverse search when viewing a region of my document, or a buffer in the ...
0
votes
1answer
185 views

How to set koma pseudolength in emacs org mode?

Using emacs org-mode and the koma letter script, how can I set the vertical address position? The 1manual at p.484 displays a nice 2overview of position possibilities. However, neither of these lines ...
2
votes
1answer
302 views

TeX-complete-symbol doesn't work in math mode

I can't get AUCTeX to complete user-defined commands in math mode. As an example, TeX-complete-symbol works outside of math mode in the document below, but it stops working if I prepend a dollar sign ...
2
votes
1answer
437 views

How to align the signature and its picture to the left with koma script?

Using emacs org-mode and the koma letter script, how can I align the signature part to the left? Setting raggedsignature as suggested in other posts, makes no difference #+LATEX_CLASS: default-koma-...

1
2 3 4 5
13