[NTG-context] Custom engine settings in AUCTEX

Jan-Erik Hägglöf skrantajanneman at gmail.com
Sat Jul 2 09:54:09 CEST 2022


It seems to use the old texexec with your configuration example

Running `ConTeXt Full' on `rutor' with ``texexec  --engine=luametatex --interface=en --nonstop rutor.tex''
/bin/sh: texexec: command not found

TeX Output exited abnormally with code 127 at Sat Jul  2 09:50:33

> 1 juli 2022 kl. 15:50 skrev Mauricio Reyna via ntg-context <ntg-context at ntg.nl>:
> 
> This is my emacs setup for AUCTEX with ConTeXt.
>  
> ;; Install straight.el
> (defvar bootstrap-version)
> (let ((bootstrap-file
>        (expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
>       (bootstrap-version 5))
>   (unless (file-exists-p bootstrap-file)
>     (with-current-buffer
>         (url-retrieve-synchronously
>          "https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el <https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el>"
>          'silent 'inhibit-cookies)
>       (goto-char (point-max))
>       (eval-print-last-sexp)))
>   (load bootstrap-file nil 'nomessage))
>  
>  
>  
> ;; Install use-package
> (straight-use-package 'use-package)
>  
>  
> ;; Configure use-package to use straight.el by default
> (use-package straight
>              :custom (straight-use-package-by-default t))
>  
>  
>  
>  
> (use-package yasnippet)
>  
> ;;; Auctex
>  
>  
> (defun my-context-setup ()
>   (custom-set-variables
>    '(ConTeXt-Mark-version "LMTX")
>    '(ConTeXt-engine "lutametatex")))
>  
>                 
>  
> (straight-use-package 'auctex)
>  
>  
> (add-hook 'ConTeXt-mode-hook
>                   (lambda ()
>                     (reftex-mode 1)
>             (flyspell-mode 1)
>                     (auto-fill-mode 1)
>                     ;(relative-line-numbers-mode 1)
>                     ;(abbrev-mode 1)
>                     (my-context-setup)
>                     (yas-minor-mode)
>                     (yas-reload-all)))
>  
>  
> I hope this help you
>  
> Mauricio
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context at ntg.nl <mailto:ntg-context at ntg.nl> / http://www.ntg.nl/mailman/listinfo/ntg-context <http://www.ntg.nl/mailman/listinfo/ntg-context>
> webpage  : http://www.pragma-ade.nl <http://www.pragma-ade.nl/> / http://context.aanhet.net <http://context.aanhet.net/>
> archive  : https://bitbucket.org/phg/context-mirror/commits/ <https://bitbucket.org/phg/context-mirror/commits/>
> wiki     : http://contextgarden.net <http://contextgarden.net/>
> ___________________________________________________________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20220702/6c41d190/attachment.htm>


More information about the ntg-context mailing list