Hot answers tagged

6

The variable TeX-save-query controls this behavior: User Option: TeX-save-query If non-nil, then query the user before saving each file with TeX-save-document. Add the following line to your init file (setq TeX-save-query nil)


3

A few of months ago, Zathura was updated so that calling --synctex-forward will open the file if it isn't already open. As a result, the answer by @jsrn actually opens two instances of Zathura and the alternative is now much simpler. Adding this to your emacs config or 'TeX-mode-hook should work if you have v11.89.1 or earlier: (add-to-list ...


2

This is the purpose of preview-latex. Here, with auctex 11.89, with the cursor on the math item, just type C-c C-p C-p and the editor displays the ζ .


2

Not elegant, but it works for me: I just use my dumb solution and define a function for each character I need. What I have so far is (defun LaTeX-math-alpha () "Insert α" (interactive) (insert "α" )) (defun LaTeX-math-approx () "Insert ≈" (interactive) (insert "≈" )) (defun LaTeX-math-beta () "Insert β" (interactive) (insert "β" )) (defun ...


2

Remove the line '(TeX-view-program-list (quote (("Okular" ("okular %o") "okular --unique %o#src:%n%b")))) It has a wrong format and anyway is useless if you use a recent AUCTeX version (11.88 or above), Okular is correctly configured out-of-the-box.


2

There is a lisp package, auto-save-buffers.el Put into your .emacs: (require 'auto-save-buffers) (run-with-idle-timer 2 t 'auto-save-buffers) (global-set-key [f8] 'auto-save-buffers-toggle) »2«: seconds between stop typing and saving »f8« toggle the function.


1

Some AUCTeX styles can be customized, viz.: amsmath.el beamer.el biblatex.el comment.el csquotes.el emp.el fontspec.el graphicx.el beamer.el usesLaTeX-beamer-section-labels-flag which defaults to nil: LaTeX-beamer-section-labels-flag is a variable defined in ‘tex-style.el’. Its value is nil Documentation: If non-nil section labels are ...


1

You are using a really old TexLive. It is not your fault, Ubuntu has always been way behind regarding LaTeX. Update your TexLive installation to a more current version, not using Ubuntu, using these instructions Installing TeX Live over the Internet and I think your problems will be history.


1

Emacs version 25.1 added support for Bidirectional Parentheses Algorithm (aka "paired brackets" in UAX 9) which helps a bit: I'm seeing: Note backslash is still weirdly placed. I've never tried but Emacs bidi is somewhat tweakable (I think it's even partially implemented in Elisp?), so it ought to be possible to further optimize it for mixed LaTeX. ...


1

SOLVED There was a missing package was required to do the preview. I ran dvipng in the cmd line on a .dvi file and it installed the missing packages. The preview now works. The missing package was zhmetrics.



Only top voted, non community-wiki answers of a minimum length are eligible