Tag Info

Hot answers tagged

4

Assuming you are on a UNIX system and you have installed auto-complete-auctex manually (say by copying the .el file in the .emacs.d folder and then loading it from your .emacs file), you can simply edit the .el file and change the unwanted completion. The relevant line to edit is line 49: (LaTeX-arg-usepackage . (["opt1,..."] "Package")) change it to ...


3

The library flyspell.el is normally installed in the folder .../lisp/textmodes/flyspell.el. Within the flyspell.el library, there is a variable called flyspell-mouse-map. By default, it is written as follows: (defvar flyspell-mouse-map (let ((map (make-sparse-keymap))) (if (featurep 'xemacs) (define-key map [button2] #'flyspell-correct-word) ...


2

Add the following code to your init file: (add-to-list 'TeX-command-list '("Make" "make" TeX-run-compile nil t)) Then you'll be able to call the make program with C-c C-c Make RET. Replace the second element of the list with "make -C build/digital" if you want "make -C build/digital" by default, and the fourth element to t instead of nil if you want to ...


2

EDIT: I was wrong, you can do this with normal org mode commands. C-x C-e will invoke org-export-dispatch This brings up the Export Dispatcher buffer. You'll notice the option for Body Only at the top, which is toggled with C-b. Set it to Off, and then complete your export with l l (or whatever you like). I'll leave my original, though now unnecessary, ...


1

In recent versions of auctex, it looks like it'll be more reliable to set TeX-command-extra-options, which is designed for just this purpose, and doesn't make you override the various forms of TeX-command. So this is a nice, non-destructive way of adding options without interfering with changes down the line -- like switching between TeX flavors, enabling ...


1

Any suggestions on how to proceed would be welcome. I would prefer not to manually change any configuration files as I came across an admonishment not to do so in the pdfTeX manual. I never bothered to repair this kind of misbehaviour of Emacs, because if I encounter "TeX exited abnormally", I have a quick look at the output. You get it in a fraction of ...


1

After I type \usep and then press TAB, the string is autocompleted to ... Wrong approach. Don't type \usep, but type C-c C-m and then usep and tab. Because auctex has its own machinery for completion of packages.


1

I solved this problem by inserting '(reftex-use-external-file-finders t) into my emacs init file. It makes RefTeX use the appropriate command from reftex-external-file-finders to find the file. In my case that is kpsewhich -format=.bib %f. The default is looking in the folders specified in the environment variables BIBINPUT and TEXINPUT. I prefer this ...



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