From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/115387 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?q?Jan-Erik_H=C3=A4ggl=C3=B6f_via_ntg-context?= Newsgroups: gmane.comp.tex.context Subject: Re: Custom engine settings in AUCTEX Date: Sat, 2 Jul 2022 09:54:09 +0200 Message-ID: References: <20220701135031.3C565459F4@disroot.org> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.100.31\)) Content-Type: multipart/mixed; boundary="===============3305839898751291935==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3622"; mail-complaints-to="usenet@ciao.gmane.io" Cc: =?utf-8?B?SmFuLUVyaWsgSMOkZ2dsw7Zm?= To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Jul 02 09:55:07 2022 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o7Xy7-0000iB-0A for gctc-ntg-context-518@m.gmane-mx.org; Sat, 02 Jul 2022 09:55:07 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A709F2A3B68; Sat, 2 Jul 2022 09:54:19 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hGwRTPsHQUd0; Sat, 2 Jul 2022 09:54:17 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 3E9882A3B58; Sat, 2 Jul 2022 09:54:17 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 52DF02A3B31 for ; Sat, 2 Jul 2022 09:54:15 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6FCEWKJZGMHR for ; Sat, 2 Jul 2022 09:54:11 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.208.179; helo=mail-lj1-f179.google.com; envelope-from=skrantajanneman@gmail.com; receiver= Original-Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com [209.85.208.179]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 651412A3AA3 for ; Sat, 2 Jul 2022 09:54:11 +0200 (CEST) Original-Received: by mail-lj1-f179.google.com with SMTP id a39so5038126ljq.11 for ; Sat, 02 Jul 2022 00:54:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:mime-version:subject:date:references:to:in-reply-to:message-id; bh=+siNkEJWmNnFYmpXHQ3VPe82AVTk+K2GoA/xvRQA1FQ=; b=Q7+Gop1agqHnMaRgF+Tury5uKRxBQOp4MfeOvA57XUrYqMGcmiQnpHPDwfQT++1obl btPeL1EefpvA6z06HdxYSZTuEpdnFYsWn8iRLm16ijQfHD+8PUE4EESH2qUKE4XEpv7+ gNg6ZFiqDajDeA8yQUi5XDAXDhYuxZJ28+f6lgx/opk2lptnt8UWGyUoTs7fLdHixvYm dShDIVyvo925Rq/M5x/WInZro62CuRfQ4l+0Sb0RSh3w76Jax8G9YneeQIpGH4RiYPqk U0GduN2K6GrqA/Byp3FNpOkVvK0JR4vIqBgZJ8Hej/m4hWOx/0oQgdIQj8VcUAC9LaZy 5Kzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:mime-version:subject:date:references:to :in-reply-to:message-id; bh=+siNkEJWmNnFYmpXHQ3VPe82AVTk+K2GoA/xvRQA1FQ=; b=FThAtHzki1jwYKFT7/7Vx1oSUpw3Aavmqqpe2vd2fclnI3h7vHCLGu2VeK0upObY9p 3mqqsBf7JE4tDokO7lTlHiYk2IqV+topoOWF4BSXRibNAd2fOgrT8xpwIyslq/aX2AeJ KhY6fYMUzAcgGyvUiyScI1y7ORguLurvoVGavHr1llkocWjgrS6fs6IytQ2B1EyasveG DgbR4axCcKKaL4bi+CIw1c17pq/meXtQ6c2eUbaP6IYQn3gXtvAc4v31rD/hg8sMadR8 eLnMMYp/+DPTjAH7OmbdbTek0c65Nvbyxgr2JaCsvmDyeeIPXQGzeQm5ijpL2++YYTLm 2URg== X-Gm-Message-State: AJIora99ILlOhjN6z6UWpMjMybsLUqQpZcvuUap09SqDGc7FApcGYSIo 6jqczHS9sm0mhnfoFjI6r+opxN3arMM= X-Google-Smtp-Source: AGRyM1uw+WkPnWmj+BLd506wSJoeCcg43mu24cMbcyxbP2eTewtjDLuCs+6CreDtiWLUL9VxxN+eZg== X-Received: by 2002:a2e:9591:0:b0:25a:7304:449b with SMTP id w17-20020a2e9591000000b0025a7304449bmr11035187ljh.453.1656748450368; Sat, 02 Jul 2022 00:54:10 -0700 (PDT) Original-Received: from smtpclient.apple (h-98-128-229-7.NA.cust.bahnhof.se. [98.128.229.7]) by smtp.gmail.com with ESMTPSA id p4-20020a2eb7c4000000b00253d4db8a92sm3445174ljo.63.2022.07.02.00.54.09 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 02 Jul 2022 00:54:09 -0700 (PDT) X-Priority: 3 In-Reply-To: <20220701135031.3C565459F4@disroot.org> X-Mailer: Apple Mail (2.3696.100.31) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:115387 Archived-At: --===============3305839898751291935== Content-Type: multipart/alternative; boundary="Apple-Mail=_7E33C8DB-B0F9-4DEA-AF4B-19480D7D53B0" --Apple-Mail=_7E33C8DB-B0F9-4DEA-AF4B-19480D7D53B0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii It seems to use the old texexec with your configuration example Running `ConTeXt Full' on `rutor' with ``texexec --engine=3Dluametatex = --interface=3Den --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 = : >=20 > This is my emacs setup for AUCTEX with ConTeXt. > =20 > ;; 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= = " > 'silent 'inhibit-cookies) > (goto-char (point-max)) > (eval-print-last-sexp))) > (load bootstrap-file nil 'nomessage)) > =20 > =20 > =20 > ;; Install use-package > (straight-use-package 'use-package) > =20 > =20 > ;; Configure use-package to use straight.el by default > (use-package straight > :custom (straight-use-package-by-default t)) > =20 > =20 > =20 > =20 > (use-package yasnippet) > =20 > ;;; Auctex > =20 > =20 > (defun my-context-setup () > (custom-set-variables > '(ConTeXt-Mark-version "LMTX") > '(ConTeXt-engine "lutametatex"))) > =20 > =20 > =20 > (straight-use-package 'auctex) > =20 > =20 > (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))) > =20 > =20 > I hope this help you > =20 > Mauricio > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > maillist : ntg-context@ntg.nl / = http://www.ntg.nl/mailman/listinfo/ntg-context = > webpage : http://www.pragma-ade.nl / = http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ = > wiki : http://contextgarden.net > = __________________________________________________________________________= _________ --Apple-Mail=_7E33C8DB-B0F9-4DEA-AF4B-19480D7D53B0 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii It = seems to use the old texexec with your configuration example

Running = `ConTeXt Full' on `rutor' with ``texexec  --engine=3Dluametatex = --interface=3Den --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@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
         '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
          &nb= sp;  :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")))
 

          &= nbsp;     

 
(straight-use-package = 'auctex)
 
 
(add-hook 'ConTeXt-mode-hook
          &nb= sp;       (lambda ()
          &nb= sp;         (reftex-mode 1)
          &nb= sp; (flyspell-mode 1)
          &nb= sp;         (auto-fill-mode = 1)
          &nb= sp;         = ;(relative-line-numbers-mode 1)
          &nb= sp;         ;(abbrev-mode = 1)
          &nb= sp;         = (my-context-setup)
          &nb= sp;         = (yas-minor-mode)
          &nb= sp;         = (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@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki =     : http://contextgarden.net
_______________________________________________________________= ____________________

= --Apple-Mail=_7E33C8DB-B0F9-4DEA-AF4B-19480D7D53B0-- --===============3305839898751291935== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============3305839898751291935==--